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