Update README.md
Browse filesCase sensitivity issue
README.md
CHANGED
|
@@ -12,9 +12,9 @@ Small-E-Czech is an [Electra](https://arxiv.org/abs/2003.10555)-small model pret
|
|
| 12 |
from transformers import ElectraForPreTraining, ElectraTokenizerFast
|
| 13 |
import torch
|
| 14 |
|
| 15 |
-
discriminator = ElectraForPreTraining.from_pretrained("
|
| 16 |
tokenizer = ElectraTokenizerFast.from_pretrained(
|
| 17 |
-
"
|
| 18 |
)
|
| 19 |
|
| 20 |
sentence = "Za hory, za doly, mé zlaté parohy"
|
|
|
|
| 12 |
from transformers import ElectraForPreTraining, ElectraTokenizerFast
|
| 13 |
import torch
|
| 14 |
|
| 15 |
+
discriminator = ElectraForPreTraining.from_pretrained("Seznam/small-e-czech")
|
| 16 |
tokenizer = ElectraTokenizerFast.from_pretrained(
|
| 17 |
+
"Seznam/small-e-czech", strip_accents=False
|
| 18 |
)
|
| 19 |
|
| 20 |
sentence = "Za hory, za doly, mé zlaté parohy"
|