atsuki-yamaguchi
commited on
Commit
•
dd29058
1
Parent(s):
f6aeba7
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -8,12 +8,13 @@ BLOOM-1B Arabic [LAPT]
|
|
8 |
## How to use
|
9 |
```python
|
10 |
from peft import AutoPeftModelForCausalLM
|
|
|
11 |
|
12 |
model = AutoPeftModelForCausalLM.from_pretrained(
|
13 |
"atsuki-yamaguchi/bloom-1b1-lapt-ar"
|
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-ar"
|
15 |
)
|
16 |
tokenizer = AutoTokenizer.from_pretrained(
|
17 |
+
"bigscience/bloom-1b1"
|
18 |
)
|
19 |
|
20 |
# w/ GPU
|