kyryl0s commited on
Commit
48d7f20
1 Parent(s): 715094b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -0
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')