gsaltintas commited on
Commit
46202b2
·
verified ·
1 Parent(s): f331f44

Upload folder using huggingface_hub

Browse files
Files changed (5) hide show
  1. README.md +5 -5
  2. merges.txt +0 -0
  3. tokenizer.json +2 -2
  4. tokenizer_config.json +0 -0
  5. vocab.json +0 -0
README.md CHANGED
@@ -40,10 +40,10 @@ A **Byte-Level BPE** tokenizer trained on **['arb_Arab', 'ces_Latn', 'cmn_Hani',
40
  | Algorithm | Byte-Level BPE |
41
  | Language | `['arb_Arab', 'ces_Latn', 'cmn_Hani', 'dan_Latn', 'deu_Latn', 'ell_Grek', 'fra_Latn', 'fw_edu', 'hun_Latn', 'ind_Latn', 'ita_Latn', 'jpn_Jpan', 'nld_Latn', 'pol_Latn', 'por_Latn', 'rus_Cyrl', 'spa_Latn', 'swe_Latn', 'tur_Latn', 'vie_Latn']` |
42
  | Target Vocab Size | 128,000 |
43
- | Final Vocab Size | 128,314 |
44
- | Pre-tokenizer | custom:boundless_bpe |
45
  | Number handling | ltr_3digit |
46
- | Contraction handling | True |
47
  | Normalizer | NFC |
48
  | Special Tokens | `<s>`, `</s>`, `<pad>`, `<unk>` |
49
  | Training Shards | 40, ['fineweb_2_hq.arb_Arab.chunk.00.jsonl', 'fineweb_2_hq.arb_Arab.chunk.01.jsonl', 'fineweb_2_hq.ces_Latn.chunk.00.jsonl', 'fineweb_2_hq.ces_Latn.chunk.01.jsonl', 'fineweb_2_hq.cmn_Hani.chunk.00.jsonl', 'fineweb_2_hq.cmn_Hani.chunk.01.jsonl', 'fineweb_2_hq.dan_Latn.chunk.00.jsonl', 'fineweb_2_hq.dan_Latn.chunk.01.jsonl', 'fineweb_2_hq.deu_Latn.chunk.00.jsonl', 'fineweb_2_hq.deu_Latn.chunk.01.jsonl', 'fineweb_2_hq.ell_Grek.chunk.00.jsonl', 'fineweb_2_hq.ell_Grek.chunk.01.jsonl', 'fineweb_2_hq.fra_Latn.chunk.00.jsonl', 'fineweb_2_hq.fra_Latn.chunk.01.jsonl', 'fineweb_edu_100bt.chunk.00.jsonl', 'fineweb_edu_100bt.chunk.01.jsonl', 'fineweb_2_hq.hun_Latn.chunk.00.jsonl', 'fineweb_2_hq.hun_Latn.chunk.01.jsonl', 'fineweb_2_hq.ind_Latn.chunk.00.jsonl', 'fineweb_2_hq.ind_Latn.chunk.01.jsonl', 'fineweb_2_hq.ita_Latn.chunk.00.jsonl', 'fineweb_2_hq.ita_Latn.chunk.01.jsonl', 'fineweb_2_hq.jpn_Jpan.chunk.00.jsonl', 'fineweb_2_hq.jpn_Jpan.chunk.01.jsonl', 'fineweb_2_hq.nld_Latn.chunk.00.jsonl', 'fineweb_2_hq.nld_Latn.chunk.01.jsonl', 'fineweb_2_hq.pol_Latn.chunk.00.jsonl', 'fineweb_2_hq.pol_Latn.chunk.01.jsonl', 'fineweb_2_hq.por_Latn.chunk.00.jsonl', 'fineweb_2_hq.por_Latn.chunk.01.jsonl', 'fineweb_2_hq.rus_Cyrl.chunk.00.jsonl', 'fineweb_2_hq.rus_Cyrl.chunk.01.jsonl', 'fineweb_2_hq.spa_Latn.chunk.00.jsonl', 'fineweb_2_hq.spa_Latn.chunk.01.jsonl', 'fineweb_2_hq.swe_Latn.chunk.00.jsonl', 'fineweb_2_hq.swe_Latn.chunk.01.jsonl', 'fineweb_2_hq.tur_Latn.chunk.00.jsonl', 'fineweb_2_hq.tur_Latn.chunk.01.jsonl', 'fineweb_2_hq.vie_Latn.chunk.00.jsonl', 'fineweb_2_hq.vie_Latn.chunk.01.jsonl'] |
@@ -66,8 +66,8 @@ tokens = tokenizer.encode("Hello, world!")
66
  ## Sample Encoding
67
  | Text | Tokens | Token IDs |
68
  |------|--------|-----------|
69
- | `Hello, world! 12345 This is a test. こんにちは` | `H, ello, ,, Ġworld, !, Ġ, 123, 45, ĠThis, Ġis, Ġa, Ġtest, ., Ġ, ãģĵ, ãĤĵãģ«, ãģ¡ãģ¯` | `42, 4231, 14, 7635, 3, 223, 38374, 4826, 4934, 591, 266, 2803, 16, 223, 1091, 104848, 125058` |
70
 
71
  Command used to create this tokenizer:
72
  ```bash
73
- ['/home/gsa/tokenizers2/flexitok/tokenizer_training/train_tokenizers.py', 'algorithm=bpe', 'vocab_size=128000', 'langs=[arb_Arab,ces_Latn,cmn_Hani,dan_Latn,deu_Latn,ell_Grek,fra_Latn,fw_edu,hun_Latn,ind_Latn,ita_Latn,jpn_Jpan,nld_Latn,pol_Latn,por_Latn,rus_Cyrl,spa_Latn,swe_Latn,tur_Latn,vie_Latn]', 'data_dir=/scratch/gsa/data/flexitok/', 'output_dir=/scratch/gsa/trained_tokenizers', 'pretokenizer=custom:boundless_bpe', 'number_handling=ltr_3digit', 'add_numbers=true', 'handle_contractions=true', 'unicode_normalization=nfc', 'use_byte_level_regex=false', 'byte_fallback=false', 'strip_zero_width=false', 'cjk_char_split=false', 'cjk_char_coverage=0.999', 'add_cjk_chars=true', 'max_lines=500_000', 'hf.publish_to_hf=true', 'hf_repo_prefix=flexitok/', 'hf.hf_repo_id=flexitok/bpe_boundless_AllL_128000', 'hf.collections=[flexitok/script-based-tokenizers]']
 
40
  | Algorithm | Byte-Level BPE |
41
  | Language | `['arb_Arab', 'ces_Latn', 'cmn_Hani', 'dan_Latn', 'deu_Latn', 'ell_Grek', 'fra_Latn', 'fw_edu', 'hun_Latn', 'ind_Latn', 'ita_Latn', 'jpn_Jpan', 'nld_Latn', 'pol_Latn', 'por_Latn', 'rus_Cyrl', 'spa_Latn', 'swe_Latn', 'tur_Latn', 'vie_Latn']` |
42
  | Target Vocab Size | 128,000 |
43
+ | Final Vocab Size | 128,715 |
44
+ | Pre-tokenizer | custom:boundless_bpe_renewed |
45
  | Number handling | ltr_3digit |
46
+ | Contraction handling | False |
47
  | Normalizer | NFC |
48
  | Special Tokens | `<s>`, `</s>`, `<pad>`, `<unk>` |
49
  | Training Shards | 40, ['fineweb_2_hq.arb_Arab.chunk.00.jsonl', 'fineweb_2_hq.arb_Arab.chunk.01.jsonl', 'fineweb_2_hq.ces_Latn.chunk.00.jsonl', 'fineweb_2_hq.ces_Latn.chunk.01.jsonl', 'fineweb_2_hq.cmn_Hani.chunk.00.jsonl', 'fineweb_2_hq.cmn_Hani.chunk.01.jsonl', 'fineweb_2_hq.dan_Latn.chunk.00.jsonl', 'fineweb_2_hq.dan_Latn.chunk.01.jsonl', 'fineweb_2_hq.deu_Latn.chunk.00.jsonl', 'fineweb_2_hq.deu_Latn.chunk.01.jsonl', 'fineweb_2_hq.ell_Grek.chunk.00.jsonl', 'fineweb_2_hq.ell_Grek.chunk.01.jsonl', 'fineweb_2_hq.fra_Latn.chunk.00.jsonl', 'fineweb_2_hq.fra_Latn.chunk.01.jsonl', 'fineweb_edu_100bt.chunk.00.jsonl', 'fineweb_edu_100bt.chunk.01.jsonl', 'fineweb_2_hq.hun_Latn.chunk.00.jsonl', 'fineweb_2_hq.hun_Latn.chunk.01.jsonl', 'fineweb_2_hq.ind_Latn.chunk.00.jsonl', 'fineweb_2_hq.ind_Latn.chunk.01.jsonl', 'fineweb_2_hq.ita_Latn.chunk.00.jsonl', 'fineweb_2_hq.ita_Latn.chunk.01.jsonl', 'fineweb_2_hq.jpn_Jpan.chunk.00.jsonl', 'fineweb_2_hq.jpn_Jpan.chunk.01.jsonl', 'fineweb_2_hq.nld_Latn.chunk.00.jsonl', 'fineweb_2_hq.nld_Latn.chunk.01.jsonl', 'fineweb_2_hq.pol_Latn.chunk.00.jsonl', 'fineweb_2_hq.pol_Latn.chunk.01.jsonl', 'fineweb_2_hq.por_Latn.chunk.00.jsonl', 'fineweb_2_hq.por_Latn.chunk.01.jsonl', 'fineweb_2_hq.rus_Cyrl.chunk.00.jsonl', 'fineweb_2_hq.rus_Cyrl.chunk.01.jsonl', 'fineweb_2_hq.spa_Latn.chunk.00.jsonl', 'fineweb_2_hq.spa_Latn.chunk.01.jsonl', 'fineweb_2_hq.swe_Latn.chunk.00.jsonl', 'fineweb_2_hq.swe_Latn.chunk.01.jsonl', 'fineweb_2_hq.tur_Latn.chunk.00.jsonl', 'fineweb_2_hq.tur_Latn.chunk.01.jsonl', 'fineweb_2_hq.vie_Latn.chunk.00.jsonl', 'fineweb_2_hq.vie_Latn.chunk.01.jsonl'] |
 
66
  ## Sample Encoding
67
  | Text | Tokens | Token IDs |
68
  |------|--------|-----------|
69
+ | `Hello, world! 12345 This is a test. こんにちは` | `H, ello, ,, Ġworld, !, Ġ, 123, 45, ĠThis, Ġis, Ġa, Ġtest, ., Ġ, ãģĵ, ãĤĵãģ«, ãģ¡ãģ¯` | `42, 4226, 14, 7608, 3, 223, 29410, 5127, 4924, 591, 266, 2801, 16, 223, 1094, 104413, 124472` |
70
 
71
  Command used to create this tokenizer:
72
  ```bash
73
+ ['/home/gsa/tokenizers2/flexitok/tokenizer_training/train_tokenizers.py', 'algorithm=bpe', 'vocab_size=128000', 'langs=[arb_Arab,ces_Latn,cmn_Hani,dan_Latn,deu_Latn,ell_Grek,fra_Latn,fw_edu,hun_Latn,ind_Latn,ita_Latn,jpn_Jpan,nld_Latn,pol_Latn,por_Latn,rus_Cyrl,spa_Latn,swe_Latn,tur_Latn,vie_Latn]', 'data_dir=/scratch/gsa/data/flexitok/', 'output_dir=/scratch/gsa/trained_tokenizers', 'pretokenizer=custom:boundless_bpe_renewed', 'number_handling=ltr_3digit', 'add_numbers=true', 'handle_contractions=false', 'unicode_normalization=nfc', 'use_byte_level_regex=false', 'byte_fallback=false', 'strip_zero_width=false', 'cjk_char_split=false', 'cjk_char_coverage=0.999', 'add_cjk_chars=true', 'max_lines=500_000', 'hf.publish_to_hf=true', 'hf_repo_prefix=flexitok/', 'hf.hf_repo_id=flexitok/bpe_boundless_AllL_128000', 'hf.collections=[flexitok/script-based-tokenizers]']
merges.txt CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a3703a5b02aa673c62975060bc41a5e14318986ab5e6eb28eeb8f1d7df8518dd
3
- size 10792710
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:187dcb0d9f1c7de588b043f5537ef53e3ddf556af34608657c2678a5eefffa68
3
+ size 10800211
tokenizer_config.json CHANGED
The diff for this file is too large to render. See raw diff
 
vocab.json CHANGED
The diff for this file is too large to render. See raw diff