stefaniancu commited on
Commit
1762c7e
·
verified ·
1 Parent(s): f496367

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +24 -0
  2. token_bytes.pt +3 -0
  3. tokenizer.pkl +3 -0
README.md ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: [ro, en]
3
+ license: odc-by
4
+ tags: [romanian, tokenizer, bpe, diacritics]
5
+ ---
6
+
7
+ # rost-tok-ro-normalized
8
+
9
+ Romanian BPE tokenizer, 32,768 vocab, trained on cedilla-normalized text.
10
+
11
+ ## Measured fertility
12
+
13
+ | tokenizer | tokens/word on Romanian |
14
+ |---|---|
15
+ | English-only (control) | 2.8421 |
16
+ | Romanian, raw (mixed encodings) | 1.5660 |
17
+ | **Romanian, normalized** | **1.5571** |
18
+ | Romanian, diacritics stripped | 1.5190 — but **2.0083** on correct Romanian |
19
+
20
+ A Romanian tokenizer is worth **1.8×** over an English one. Stripping
21
+ diacritics looks 2.5% better on de-diacriticised text and is **29% worse** on
22
+ correct Romanian, because it byte-falls-back on every `ș ț ă â î`.
23
+
24
+ See https://github.com/StefanIancu/rost for the full experiment.
token_bytes.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7dd92e18c39f75b7499c2a15c5abc35e1a8620551b080000d43225d3366b9713
3
+ size 132677
tokenizer.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:570dc39d4b1c202547c7632cb799340159176e026757c657921d805c5a06ce84
3
+ size 410046