Upload processor
Browse files- special_tokens_map.json +35 -5
- tokenizer.json +4 -2
- tokenizer_config.json +7 -0
special_tokens_map.json
CHANGED
@@ -1,7 +1,37 @@
|
|
1 |
{
|
2 |
-
"cls_token":
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
}
|
|
|
1 |
{
|
2 |
+
"cls_token": {
|
3 |
+
"content": "[CLS]",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"mask_token": {
|
10 |
+
"content": "[MASK]",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "[PAD]",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"sep_token": {
|
24 |
+
"content": "[SEP]",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"unk_token": {
|
31 |
+
"content": "[UNK]",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
}
|
37 |
}
|
tokenizer.json
CHANGED
@@ -2,12 +2,14 @@
|
|
2 |
"version": "1.0",
|
3 |
"truncation": {
|
4 |
"direction": "Right",
|
5 |
-
"max_length":
|
6 |
"strategy": "LongestFirst",
|
7 |
"stride": 0
|
8 |
},
|
9 |
"padding": {
|
10 |
-
"strategy":
|
|
|
|
|
11 |
"direction": "Right",
|
12 |
"pad_to_multiple_of": null,
|
13 |
"pad_id": 0,
|
|
|
2 |
"version": "1.0",
|
3 |
"truncation": {
|
4 |
"direction": "Right",
|
5 |
+
"max_length": 128,
|
6 |
"strategy": "LongestFirst",
|
7 |
"stride": 0
|
8 |
},
|
9 |
"padding": {
|
10 |
+
"strategy": {
|
11 |
+
"Fixed": 128
|
12 |
+
},
|
13 |
"direction": "Right",
|
14 |
"pad_to_multiple_of": null,
|
15 |
"pad_id": 0,
|
tokenizer_config.json
CHANGED
@@ -46,17 +46,24 @@
|
|
46 |
"do_basic_tokenize": true,
|
47 |
"do_lower_case": true,
|
48 |
"mask_token": "[MASK]",
|
|
|
49 |
"model_input_names": [
|
50 |
"input_ids",
|
51 |
"attention_mask"
|
52 |
],
|
53 |
"model_max_length": 512,
|
54 |
"never_split": null,
|
|
|
55 |
"pad_token": "[PAD]",
|
|
|
|
|
56 |
"processor_class": "BlipProcessor",
|
57 |
"sep_token": "[SEP]",
|
|
|
58 |
"strip_accents": null,
|
59 |
"tokenize_chinese_chars": true,
|
60 |
"tokenizer_class": "BertTokenizer",
|
|
|
|
|
61 |
"unk_token": "[UNK]"
|
62 |
}
|
|
|
46 |
"do_basic_tokenize": true,
|
47 |
"do_lower_case": true,
|
48 |
"mask_token": "[MASK]",
|
49 |
+
"max_length": 128,
|
50 |
"model_input_names": [
|
51 |
"input_ids",
|
52 |
"attention_mask"
|
53 |
],
|
54 |
"model_max_length": 512,
|
55 |
"never_split": null,
|
56 |
+
"pad_to_multiple_of": null,
|
57 |
"pad_token": "[PAD]",
|
58 |
+
"pad_token_type_id": 0,
|
59 |
+
"padding_side": "right",
|
60 |
"processor_class": "BlipProcessor",
|
61 |
"sep_token": "[SEP]",
|
62 |
+
"stride": 0,
|
63 |
"strip_accents": null,
|
64 |
"tokenize_chinese_chars": true,
|
65 |
"tokenizer_class": "BertTokenizer",
|
66 |
+
"truncation_side": "right",
|
67 |
+
"truncation_strategy": "longest_first",
|
68 |
"unk_token": "[UNK]"
|
69 |
}
|