Hello. I have been using unsloth well, but today while developing, I encountered the following error in the model.
from unsloth import FastLanguageModel
model = FastLanguageModel.from_pretrained("/data/backbone/meta-llama+Meta-Llama-3-8B/")
>>> RuntimeError: Unsloth: /data/backbone/meta-llama+meta-llama-3-8b/ is not a full model or a PEFT model.
I found it strange, so I looked at the code and noticed that the following code was committed yesterday.
|
model_name = model_name.lower() |
Is there a particular reason why the model_name must be converted to lowercase?
If there isn’t a specific reason, it would be good to modify the part where all model names are converted to lowercase.
Hello. I have been using unsloth well, but today while developing, I encountered the following error in the model.
I found it strange, so I looked at the code and noticed that the following code was committed yesterday.
unsloth/unsloth/models/loader.py
Line 37 in 8a9e24e
Is there a particular reason why the
model_namemust be converted to lowercase?If there isn’t a specific reason, it would be good to modify the part where all model names are converted to lowercase.