Implement LLaMA (#9)

Co-authored-by: Zhuohan Li <zhuohan123@gmail.com>
This commit is contained in:
Woosuk Kwon
2023-03-30 12:25:32 +08:00
committed by GitHub
co-authored by Zhuohan Li
parent a1b3de86cd
commit 80a2f812f1
7 changed files with 500 additions and 35 deletions
+4 -2
View File
@@ -3,8 +3,10 @@
## Installation
```bash
pip install psutil numpy torch transformers
pip install flash-attn # This may take up to 10 mins.
pip install psutil numpy ray torch
pip install git+https://github.com/huggingface/transformers # Required for LLaMA.
pip install sentencepiece # Required for LlamaTokenizer.
pip install flash-attn # This may take up to 20 mins.
pip install -e .
```