Closed alielfilali01 closed 5 months ago
The issue is how you have structured your repo and paths. Always look for the FIRST error that occurs. In your case:
INFO:root:Using nproc_per_node=1. /usr/bin/python3: can't open file '/content/alignment-handbook-personal-version/recipes/GMAL/scripts/run_sft.py': [Errno 2] No such file or directory
Thank you dear @BramVanroy for responding back. Yah in fact i saw that but the problem is i'm cloning my personal repo alignment-handbook-personal-version this is my code cell :
## Change to current repo
!git clone https://github.com/alielfilali01/alignment-handbook-personal-version.git
%cd ./alignment-handbook-personal-version/
!python -m pip install .
And as you can see here, the run_sft.py
file exist in the specified path, see here
So I figured maybe there is an issue with accelarate or something that can't read properly my path !?
EDIT : It turned out to be a hidden space in the scripts folder, scripts
instead of scripts
😄 thanks again @BramVanroy for responding back 🤗
Hello Team,
Firstly, I'd like to express my appreciation for your excellent work on this. It's been an invaluable resource.
I am encountering an issue with the
run_sft.py
file after some modifications. In my personal fork, I created a directory namedGMAL
. Inside this directory, I copied therun_sft.py
file from @BramVanroy'sgpt2-nl
folder. Find therun_sft.py
file here . I made minimal changes to the configuration file, such as updating themodel_path
fromgpt2
tomistral-7B
and adjusting the dataset to my personal dataset2A2I-R/AOT-v1
, Find theconfig
file i made, here.Here is the command I executed on an A100 Colab instance (after installing all dependencies) :
Unfortunately, I am faced with the following error:
Could you please assist me in resolving this issue? Thank you for your time and support.
cc : @lewtun , @edbeeching , @natolambert