gonzalobenegas commited on
Commit
57ca0d8
1 Parent(s): 6002cab

add tokenizer

Browse files
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"pad_token": "[PAD]", "mask_token": "[MASK]"}
tokenizer.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.0",
3
+ "truncation": null,
4
+ "padding": null,
5
+ "added_tokens": [
6
+ {
7
+ "id": 0,
8
+ "content": "[MASK]",
9
+ "single_word": false,
10
+ "lstrip": false,
11
+ "rstrip": false,
12
+ "normalized": false,
13
+ "special": true
14
+ },
15
+ {
16
+ "id": 1,
17
+ "content": "[PAD]",
18
+ "single_word": false,
19
+ "lstrip": false,
20
+ "rstrip": false,
21
+ "normalized": false,
22
+ "special": true
23
+ }
24
+ ],
25
+ "normalizer": {
26
+ "type": "Lowercase"
27
+ },
28
+ "pre_tokenizer": {
29
+ "type": "Whitespace"
30
+ },
31
+ "post_processor": null,
32
+ "decoder": null,
33
+ "model": {
34
+ "type": "BPE",
35
+ "dropout": null,
36
+ "unk_token": null,
37
+ "continuing_subword_prefix": null,
38
+ "end_of_word_suffix": null,
39
+ "fuse_unk": false,
40
+ "vocab": {
41
+ "[MASK]": 0,
42
+ "[PAD]": 1,
43
+ "a": 2,
44
+ "c": 3,
45
+ "g": 4,
46
+ "t": 5
47
+ },
48
+ "merges": []
49
+ }
50
+ }
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"mask_token": "[MASK]", "pad_token": "[PAD]", "special_tokens_map_file": "../../data/mlm/tokenizer_bare/special_tokens_map.json", "name_or_path": "checkpoint-80000", "tokenizer_class": "PreTrainedTokenizerFast"}