xiangpeng.wxp
commited on
Commit
•
6a0a117
1
Parent(s):
cf93131
update usage
Browse files
README.md
CHANGED
@@ -61,6 +61,8 @@ Find below some example scripts on how to use the model in `transformers`:
|
|
61 |
|
62 |
```python
|
63 |
|
|
|
|
|
64 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
65 |
|
66 |
tokenizer = AutoTokenizer.from_pretrained("DAMO-NLP-MT/polylm-13b", use_fast=False)
|
|
|
61 |
|
62 |
```python
|
63 |
|
64 |
+
# pip install accelerate
|
65 |
+
|
66 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
67 |
|
68 |
tokenizer = AutoTokenizer.from_pretrained("DAMO-NLP-MT/polylm-13b", use_fast=False)
|