|
|
пре 3 година | |
|---|---|---|
| .gitignore | пре 3 година | |
| DATA_LICENSE | пре 3 година | |
| LICENSE | пре 3 година | |
| README.md | пре 3 година | |
| alpaca_data.json | пре 3 година | |
| conversion.py | пре 3 година | |
| finetune.py | пре 3 година | |
| generate.py | пре 3 година | |
| lengths.ipynb | пре 3 година | |
| loss.ipynb | пре 3 година |
This repository contains code for reproducing the Stanford Alpaca results. Users will need to be ready to fork transformers.
Install dependencies (install zphang's transformers fork)
pip install -q datasets accelerate loralib sentencepiece
pip install -q git+https://github.com/zphang/transformers@llama_push
pip install -q git+https://github.com/huggingface/peft.git
See generate.py.
Under construction.