Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/InternLM/InternLM
/ convert2hf.py
File
convert2hf.py
tools/transformers/convert2hf.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
argparse
2
import
math
3
import
json
4
import
os
Callers
nothing calls this directly
Calls
5
InternLMTokenizer
Class · 0.90
load
Function · 0.85
convert2hf
Function · 0.85
load
Method · 0.45
dump
Method · 0.45
Tested by
no test coverage detected