Shaltiel commited on
Commit
f8cb151
โ€ข
1 Parent(s): 6a2868e

Update README.md

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