BigHugger
sk Skill · InternLM

add_hf_model

Add support for a HuggingFace model in XTuner so it can be trained with the full set of parallelism strategies and optimization switches. The user can provide a HuggingFace Hub repo id, a local model directory, or a model family already supported by transformers. This skill walks through the full path: locating the reference implementation, classifying the model, splitting new code across the model / module / ops…

installs 8w
0
30-day movement
starts with the next reading
Related entries
1
Connections
0
pythonbashPython
Host repository
InternLM/xtuner
Host stars
5,199
Host language
Python