Open madaracelio opened 1 year ago
Hi, I was changing around the files and the error must not have popped up for me because of some kind of caching my computer was doing. Just fixed it and pushed it so the template not found error should be all set. Let me know if it continues to be an issue. As for the Wqkv, I'm not sure why that's not working. Maybe try putting ['Wqkv'] instead of '[Wqkv]'. Also, are you using Windows or Linux/WSL for Windows?
Hi, thanks for reply. I'm using Windows. I try ['Wqkv'] instead of '[Wqkv]' after updating the repository. It's worked.
Thanks
Glad to hear and happy to help!
Also, I was in the middle of debugging something and accidentally commented out the PEFT model loading within generate.py when I uploaded this version you are working on so if you're having issues with that just reclone it.
After running this command
python src/finetune.py --base_model 'mosaicml/mpt-7b-instruct' --data_path 'yahma/alpaca-cleaned' --output_dir './lora-mpt' --lora_target_modules '[Wqkv]'
, i got this error : Target modules [Wqkv] not found in the base model. Please check the target modules and try again.