Update README.md
Browse files
README.md
CHANGED
@@ -9,6 +9,7 @@ Generated texts are not very cohesive yet but I'm working on it.
|
|
9 |
|
10 |
### Example of usage:
|
11 |
```python
|
|
|
12 |
tokenizer = AlbertTokenizer.from_pretrained("kyryl0s/gpt2-uk-zno-edition")
|
13 |
model = GPT2LMHeadModel.from_pretrained("kyryl0s/gpt2-uk-zno-edition")
|
14 |
input_ids = tokenizer.encode("ZNOTITLE: Чи можна трахатися?", add_special_tokens=False, return_tensors='pt')
|
|
|
9 |
|
10 |
### Example of usage:
|
11 |
```python
|
12 |
+
from transformers import AlbertTokenizer, GPT2LMHeadModel
|
13 |
tokenizer = AlbertTokenizer.from_pretrained("kyryl0s/gpt2-uk-zno-edition")
|
14 |
model = GPT2LMHeadModel.from_pretrained("kyryl0s/gpt2-uk-zno-edition")
|
15 |
input_ids = tokenizer.encode("ZNOTITLE: Чи можна трахатися?", add_special_tokens=False, return_tensors='pt')
|