Update README.md
Browse files
README.md
CHANGED
@@ -12,9 +12,9 @@ This is the base model pretrained with the masked-language-modeling objective.
|
|
12 |
Sample usage:
|
13 |
|
14 |
```
|
15 |
-
from transformers import AutoModelForMaskedLM,
|
16 |
|
17 |
-
tokenizer =
|
18 |
model = AutoModelForMaskedLM.from_pretrained('dicta-il/dictabert')
|
19 |
|
20 |
model.eval()
|
|
|
12 |
Sample usage:
|
13 |
|
14 |
```
|
15 |
+
from transformers import AutoModelForMaskedLM, AutoTokenizer
|
16 |
|
17 |
+
tokenizer = AutoTokenizer.from_pretrained('dicta-il/dictabert')
|
18 |
model = AutoModelForMaskedLM.from_pretrained('dicta-il/dictabert')
|
19 |
|
20 |
model.eval()
|