Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/ReSim
/ inference_adgen.py
File
inference_adgen.py
SwissArmyTransformer/examples/chatglm2/inference_adgen.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
os
2
import
torch
3
import
argparse
4
from
sat
import
get_args
Callers
nothing calls this directly
Calls
5
get_args
Function · 0.90
print
Function · 0.50
add_model_specific_args
Method · 0.45
from_pretrained
Method · 0.45
chat
Method · 0.45
Tested by
no test coverage detected