Update README.md
Browse files
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 |
|