litgpt icon indicating copy to clipboard operation
litgpt copied to clipboard

How to download a model from HF that is not listed in the download list?

Open harisnae opened this issue 9 months ago • 1 comments

I'm looking to download "microsoft/Phi-4-mini-instruct" which is a valid "repo_id" but it is not listed in the Download list.

./litgpt download microsoft/Phi-4-mini-instruct

Unsupported repo_id: microsoft/Phi-4-mini-instruct.

harisnae avatar Mar 25 '25 11:03 harisnae

Hello @harisnae Unfortunately, if a specific model is not in the list, then it's not supported. Exceptions might be to some fine-tuned models, that are architectural-wise identical to supported ones, but just trained on different data. If you want to add a new model, you will have to change the config, like it was done in this PR: #1904

Andrei-Aksionov avatar Mar 25 '25 15:03 Andrei-Aksionov