Gaivoronsky
commited on
Commit
•
f893ae4
1
Parent(s):
e842dcb
Update README.md
Browse files
README.md
CHANGED
@@ -17,8 +17,8 @@ This is a generative model converted to fp16 format based on [ai-forever/ruGPT-3
|
|
17 |
```python
|
18 |
from transformers import GPT2LMHeadModel, AutoTokenizer
|
19 |
|
20 |
-
model = GPT2LMHeadModel.from_pretrained('ruGPT-3.5-13B-fp16')
|
21 |
-
tokenizer = AutoTokenizer.from_pretrained('ruGPT-3.5-13B-fp16')
|
22 |
model = model.half()
|
23 |
model = model.to('cuda')
|
24 |
|
|
|
17 |
```python
|
18 |
from transformers import GPT2LMHeadModel, AutoTokenizer
|
19 |
|
20 |
+
model = GPT2LMHeadModel.from_pretrained('Gaivoronsky/ruGPT-3.5-13B-fp16')
|
21 |
+
tokenizer = AutoTokenizer.from_pretrained('Gaivoronsky/ruGPT-3.5-13B-fp16')
|
22 |
model = model.half()
|
23 |
model = model.to('cuda')
|
24 |
|