stanford_alpaca
stanford_alpaca copied to clipboard
Update the README instructions, especially the PR install command included
Added explicit instructions.
pip uninstall transformers
pip install git+https://github.com/zphang/transformers.git@68d640f7c368bcaaaecfc678f11908ebbd3d6176
We should just update requirements.txt
instead. Happy to accept a PR with that change.
Also the change in code would be needed: transformers.LlamaForCausalLM.from_pretrained
and transformers.LlamaTokenizer.from_pretrained
instead of AutoTokenizer, and AutoModel.
Edit: Sorry, I just checked it and it works with AutoModel as well now.
Looks like the PR got merged an hour ago. https://github.com/huggingface/transformers/pull/21955