Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/THUDM/GLM
/ apply_defaults
Method
apply_defaults
configure_data.py:113–117 ·
view source on GitHub ↗
(self, args)
Source
from the content-addressed store, hash-verified
111
self.defaults[k] = v
112
113
def
apply_defaults(self, args):
114
for
k, v in self.defaults.items():
115
k = k.replace(
'-'
,
'_'
)
116
if
not hasattr(args, k):
117
setattr(args, k, v)
118
119
120
def
prepare_tokenizer(args):
Callers
1
apply
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected