I've encountered some errors because of the CUDA version difference and no longer available huggingface's alpaca-lora. I will share my environment and some parts modified to run TALLRec. I hope it will help you to run it!
Environment:
EC2 g5.xlarge instance (Ubuntu20.04)
CUDA 12.0
Python 3.10
And you also need to change some lines in instruct_7B.sh. You need to change some lines according to your situation.
output_dir='<the output directory you want to save models: you need to change>'
base_model='baffo32/decapoda-research-llama-7B-hf'
train_data='<the path to your training data you prepared: you need to change>'
val_data='<the path to your validation data you prepared: you need to change>'
instruction_model='alpaca-lora-7B'
I wrote down more details in the blog, and you can see them if you want.
blog link
Hi! Thank you for sharing your great repository!
I've encountered some errors because of the CUDA version difference and no longer available huggingface's alpaca-lora. I will share my environment and some parts modified to run TALLRec. I hope it will help you to run it!
Environment: EC2 g5.xlarge instance (Ubuntu20.04) CUDA 12.0 Python 3.10
library dependencies:
you need to reinstall peft by the following command.
And you also need to change some lines in instruct_7B.sh. You need to change some lines according to your situation.
I wrote down more details in the blog, and you can see them if you want. blog link