-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IndexError: list index out of range - model_path = os.path.join("./model", os.listdir("model")[1]) - train_qlora.py", line 45 #12
Comments
This is because your model file could not be found, the path to each model file may be different, you can try changing the index, e.g. |
@zhanghy-sketchzh Thanks, how do we copy models into model directory Do i have to download this from huggingface https://huggingface.co/tiiuae/falcon-7b/blob/main/pytorch_model-00002-of-00002.bin and put bin files in model folder ? my model folder is empty |
Yes, you can download large models after installing git lfs, this will increase your download speed and download success, for example you can download the vicuna-13b model with this command git clone https://huggingface.co/Tribbiani/vicuna-13b,"Tribbiani/vicuna-13b" is the address of the model in the hf. |
Thanks I will try |
I got MemoryError @zhanghy-sketchzh and I am running it on CPU, I don't have GPU in my machine. Will this work on google colab ?
|
This project requires a GPU and can work on google colab |
The text was updated successfully, but these errors were encountered: