Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/THUDM/LongWriter
/ default_init
Function
default_init
train/patch/modeling_chatglm.py:55–56 ·
view source on GitHub ↗
(cls, *args, **kwargs)
Source
from the content-addressed store, hash-verified
53
]
54
55
def
default_init(cls, *args, **kwargs):
56
return
cls(*args, **kwargs)
57
58
59
class
InvalidScoreLogitsProcessor(LogitsProcessor):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected