pooya-mohammadi commited on
Commit
68a3634
1 Parent(s): c372b28

Hezar: Upload training files

Browse files
Files changed (1) hide show
  1. preprocessor/tokenizer_config.yaml +34 -0
preprocessor/tokenizer_config.yaml ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: bpe_tokenizer
2
+ config_type: preprocessor
3
+ pretrained_path: hezarai/roberta-base-fa
4
+ max_length: 512
5
+ truncation_strategy: longest_first
6
+ truncation_direction: right
7
+ 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
+ special_tokens:
16
+ - <s>
17
+ - <pad>
18
+ - </s>
19
+ - <unk>
20
+ - <mask>
21
+ - <|endoftext|>
22
+ - <|startoftext|>
23
+ - <nl>
24
+ - <hs>
25
+ - <sep>
26
+ - <cls>
27
+ continuing_subword_prefix: ''
28
+ end_of_word_suffix: ''
29
+ fuse_unk: false
30
+ vocab_size: 42000
31
+ min_frequency: 2
32
+ limit_alphabet: 1000
33
+ initial_alphabet: []
34
+ show_progress: true