Arabic
arabic
tokenizer
morphology
nlp
dialect
fr3on commited on
Commit
ea23987
·
verified ·
1 Parent(s): bedd199

Upload custom Unigram tokenizer (v1)

Browse files
special_tokens_map.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "eos_token": "</s>",
4
+ "unk_token": "[UNK]",
5
+ "pad_token": "[PAD]",
6
+ "cls_token": "[CLS]",
7
+ "sep_token": "[SEP]",
8
+ "mask_token": "[MASK]"
9
+ }
tokenizer.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8c875bd75614e5b2d086e18fe7f361258c259c948afde8a0092b30a9a29c5164
3
- size 12734617
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bad7b64abeae95c1df5d624cabdfd9ea723157bc626b75f2960a39ac889eefa4
3
+ size 4316356
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22946ba034a75aebd68458ce149c7039392dca9c7c99c8fda9d8c21a2c61a205
3
+ size 1262639
tokenizer_config.json CHANGED
@@ -1,20 +1,11 @@
1
  {
2
- "tokenizer_class": "DFArcTokenizer",
3
- "auto_map": {
4
- "AutoTokenizer": [
5
- "tokenization_df_arc.DFArcTokenizer",
6
- null
7
- ]
8
- },
9
- "phrases_file": "phrase_vocab.json",
10
- "vocab_file": "tokenizer.json",
11
- "min_stem_length": 2,
12
- "normalization_config": {
13
- "unify_alef": true,
14
- "unify_yeh": true,
15
- "unify_teh_marbuta": true,
16
- "remove_diacritics": true,
17
- "remove_tatweel": true,
18
- "remove_repeats": true
19
- }
20
  }
 
1
  {
2
+ "tokenizer_class": "LlamaTokenizer",
3
+ "model_max_length": 32768,
4
+ "clean_up_tokenization_spaces": false,
5
+ "unk_token": "[UNK]",
6
+ "bos_token": "<s>",
7
+ "eos_token": "</s>",
8
+ "pad_token": "[PAD]",
9
+ "add_bos_token": true,
10
+ "add_eos_token": false
 
 
 
 
 
 
 
 
 
11
  }