Shaltiel commited on
Commit
88e613d
1 Parent(s): 91e3018

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -25,7 +25,7 @@ output = model(tokenizer.encode(sentence, return_tensors='pt'))
25
  # the [MASK] is the 7th token (including [CLS])
26
  import torch
27
  top_2 = torch.topk(output.logits[0, 7, :], 2)[1]
28
- print('\n'.join(tokenizer.convert_ids_to_tokens(top_2))) # should print 诇讬诪讜讚讬讜 / 讛转诪讞讜转讜
29
 
30
  ```
31
 
 
25
  # the [MASK] is the 7th token (including [CLS])
26
  import torch
27
  top_2 = torch.topk(output.logits[0, 7, :], 2)[1]
28
+ print('\n'.join(tokenizer.convert_ids_to_tokens(top_2))) # should print 诪讞拽专讜 / 讛转诪讞讜转讜
29
 
30
  ```
31