Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/zai-org/CodeGeeX
/ model_provider
Function
model_provider
codegeex/megatron/inference.py:18–24 ·
view source on GitHub ↗
Build the model.
()
Source
from the content-addressed store, hash-verified
16
17
18
def
model_provider():
19
""
"Build the model."
""
20
21
model = CodeGeeXModel(num_tokentypes=0,
22
parallel_output=False)
23
24
return
model
25
26
27
def
set_random_seed(seed):
Callers
2
main
Function · 0.90
main
Function · 0.90
Calls
1
CodeGeeXModel
Class · 0.90
Tested by
no test coverage detected