You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[
{
"instruction": "[Generate by protein family]",
"input": "family=<Zinc Fingers family>",
"output": "Seq=<MSENSDEG...>"
},
{
"instruction": "[Generate by protein family]",
"input": "family=<Zinc Fingers family>",
"output": "Seq=<MRHNQAKSLAQ...>"
}
]
Error Encountered
While running the inference script, I encountered the following error:
Traceback (most recent call last):
File "/content/ProLLaMA/scripts/infer.py", line 42, in <module>
model = LlamaForCausalLM.from_pretrained(
File "/usr/local/lib/python3.10/dist-packages/transformers/modeling_utils.py", line 3553, in from_pretrained
model.load_adapter(
File "/usr/local/lib/python3.10/dist-packages/transformers/integrations/peft.py", line 137, in load_adapter
check_peft_version(min_version=MIN_PEFT_VERSION)
File "/usr/local/lib/python3.10/dist-packages/transformers/utils/peft_utils.py", line 120, in check_peft_version
raise ValueError(
ValueError: The version of PEFT you are using is not compatible, please use a version that is greater than 0.5.0
Issue Description
Installing an updated version of PEFT to resolve the error creates compatibility issues with huggingface_hub. I’m unsure how to resolve this version conflict without breaking other dependencies.
Can someone provide guidance on how to proceed? Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hi! I'm facing library conflicts while trying to fine-tune and generate sequences using this repository. Here's a breakdown of my setup and the issue:
Setup
pip install -r requirements.txt
.example.json
with mytrain_split.json
file (shown below) in theinstruction_tuning_dataset
folder.deepspeed
anddatasets
) manually.run_it.sh
, saving the fine-tuned model in thesave_dir
folder.CUDA_VISIBLE_DEVICES=0 python ProLLaMA/scripts/infer.py --model "save_dir/sft_lora_model/" --interactive
train_split.json Example
Error Encountered
While running the inference script, I encountered the following error:
Issue Description
Installing an updated version of PEFT to resolve the error creates compatibility issues with huggingface_hub. I’m unsure how to resolve this version conflict without breaking other dependencies.
Can someone provide guidance on how to proceed? Thanks in advance!
The text was updated successfully, but these errors were encountered: