atsuki-yamaguchi
commited on
Commit
•
97c87a5
1
Parent(s):
679f607
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -8,12 +8,13 @@ BLOOM-1B Swahili [LAPT]
|
|
8 |
## How to use
|
9 |
```python
|
10 |
from peft import AutoPeftModelForCausalLM
|
|
|
11 |
|
12 |
model = AutoPeftModelForCausalLM.from_pretrained(
|
13 |
"atsuki-yamaguchi/bloom-1b1-lapt-sw"
|
14 |
)
|
15 |
tokenizer = AutoTokenizer.from_pretrained(
|
16 |
-
"
|
17 |
)
|
18 |
|
19 |
# w/ GPU
|
|
|
8 |
## How to use
|
9 |
```python
|
10 |
from peft import AutoPeftModelForCausalLM
|
11 |
+
from transformers import AutoTokenizer
|
12 |
|
13 |
model = AutoPeftModelForCausalLM.from_pretrained(
|
14 |
"atsuki-yamaguchi/bloom-1b1-lapt-sw"
|
15 |
)
|
16 |
tokenizer = AutoTokenizer.from_pretrained(
|
17 |
+
"bigscience/bloom-1b1"
|
18 |
)
|
19 |
|
20 |
# w/ GPU
|