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