arahusky commited on
Commit
084b580
1 Parent(s): eabc85b

Update README.md

Browse files

Remove explicit strip_accents after tokenizer_config.json was added

Files changed (1) hide show
  1. README.md +1 -3
README.md CHANGED
@@ -13,9 +13,7 @@ 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"
21
  fake_sentence = "Za hory, za doly, kočka zlaté parohy"
 
13
  import torch
14
 
15
  discriminator = ElectraForPreTraining.from_pretrained("Seznam/small-e-czech")
16
+ tokenizer = ElectraTokenizerFast.from_pretrained("Seznam/small-e-czech")
 
 
17
 
18
  sentence = "Za hory, za doly, mé zlaté parohy"
19
  fake_sentence = "Za hory, za doly, kočka zlaté parohy"