Shaltiel commited on
Commit
d6c74d0
โ€ข
1 Parent(s): c8cfd1d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -27,7 +27,7 @@ output = model(tokenizer.encode(sentence, return_tensors='pt'))
27
  # the [MASK] is the 7th token (including [CLS])
28
  import torch
29
  top_2 = torch.topk(output.logits[0, 7, :], 2)[1]
30
- print('\n'.join(tokenizer.convert_ids_to_tokens(top_2))) # should print ืœื™ืžื•ื“ื™ื• / ืžื—ืงืจื™ื•
31
 
32
  ```
33
 
 
27
  # the [MASK] is the 7th token (including [CLS])
28
  import torch
29
  top_2 = torch.topk(output.logits[0, 7, :], 2)[1]
30
+ print('\n'.join(tokenizer.convert_ids_to_tokens(top_2))) # should print ืขื‘ื•ื“ืชื• / ื”ืชืžื—ื•ืชื•
31
 
32
  ```
33