Hezar: Upload tokenizer_config.yaml
Browse files
preprocessor/tokenizer_config.yaml
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
name: wordpiece_tokenizer
|
2 |
config_type: preprocessor
|
3 |
-
pretrained_path: hezarai/distilbert-base-fa
|
4 |
max_length: 512
|
5 |
truncation_strategy: longest_first
|
6 |
truncation_direction: right
|
@@ -8,16 +7,12 @@ stride: 0
|
|
8 |
padding_strategy: longest
|
9 |
padding_direction: right
|
10 |
pad_to_multiple_of: 0
|
11 |
-
pad_token_id: 0
|
12 |
-
pad_token: '[PAD]'
|
13 |
pad_token_type_id: 0
|
14 |
unk_token: '[UNK]'
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
- '[PAD]'
|
20 |
-
- '[MASK]'
|
21 |
wordpieces_prefix: '##'
|
22 |
vocab_size: 30000
|
23 |
min_frequency: 2
|
|
|
1 |
name: wordpiece_tokenizer
|
2 |
config_type: preprocessor
|
|
|
3 |
max_length: 512
|
4 |
truncation_strategy: longest_first
|
5 |
truncation_direction: right
|
|
|
7 |
padding_strategy: longest
|
8 |
padding_direction: right
|
9 |
pad_to_multiple_of: 0
|
|
|
|
|
10 |
pad_token_type_id: 0
|
11 |
unk_token: '[UNK]'
|
12 |
+
sep_token: '[SEP]'
|
13 |
+
pad_token: '[PAD]'
|
14 |
+
cls_token: '[CLS]'
|
15 |
+
mask_token: '[MASK]'
|
|
|
|
|
16 |
wordpieces_prefix: '##'
|
17 |
vocab_size: 30000
|
18 |
min_frequency: 2
|