MCPcopy
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

1import argparse
2import math
3import json
4import os

Callers

nothing calls this directly

Calls 5

InternLMTokenizerClass · 0.90
loadFunction · 0.85
convert2hfFunction · 0.85
loadMethod · 0.45
dumpMethod · 0.45

Tested by

no test coverage detected