-
Notifications
You must be signed in to change notification settings - Fork 232
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
Error and Computation Time #7
Comments
Problem 1: The default yaml configuration is an absolute path, which can be changed to the directory where you store the weights, such as Problem 2: Since the original dataset is about 1K pieces, the above script takes about 1-2h to run. If you only want to verify the validity of the method, you can set See https://github.com/zjunlp/EasyEdit/blob/main/examples/run_zsre_llama2.py#L17 |
Thank you so much for your response. |
@pengzju 请问假如我需要编辑llama2-7b模型,我需要从huggingface的llama2-7b仓库中下载哪些文件到./hugging_cache/llama-2-7b中呢?需要下载所有文件吗?谢谢! |
感谢您的答复,谢谢! |
Hello, While trying to run python run_zsre_llama2.py I am getting the error: python3.9/site-packages/datasets/builder.py", line 539, in _create_builder_config Please suggest what should be done. Thank you! |
Do you download the key status for layers [4, 5, 6, 7, 8] in llama2?
|
Make sure that the directory for your load model in yaml is
|
If your problem has been resolved, please help close this issue. |
Hi, Yes, it has been resolved now. Thank you so much for the guidance and the quick response! |
Hi, while I am trying to run the google colab notebook,
"OSError: Can't load the configuration of '/mnt/peng/EasyEdit/hugging_cache/llama-2-7b'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure '/mnt/peng/EasyEdit/hugging_cache/llama-2-7b' is the correct path to a directory containing a config.json file"
Please advice what should be done.
python run_zsre_llama2.py
--editing_method=ROME
--hparams_dir=../hparams/ROME/llama-7b
--data_dir=./data
In my case it is stuck after displaying this line:
Loading checkpoint shards: 100%|████████████████████████████████████████████████████████████████████████████| 2/2 [00:13<00:00, 6.51s/it]
The text was updated successfully, but these errors were encountered: