Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/InternLM/InternLM-XComposer
/ example_chat.py
File
example_chat.py
example_code/example_chat.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
sys
2
sys.path.insert(0,
'.'
)
3
sys.path.insert(0,
'..'
)
4
import
argparse
Callers
nothing calls this directly
Calls
4
auto_configure_device_map
Function · 0.90
eval
Method · 0.45
from_pretrained
Method · 0.45
chat
Method · 0.45
Tested by
no test coverage detected