justin-shopcapsule
commited on
Commit
•
8a0514f
1
Parent(s):
e0c7e9a
Upload 6 files
Browse files- config.json +1 -1
- generation_config.json +1 -1
- preprocessor_config.json +17 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +21 -0
config.json
CHANGED
@@ -17,7 +17,7 @@
|
|
17 |
"num_attention_heads": 12
|
18 |
},
|
19 |
"torch_dtype": "float32",
|
20 |
-
"transformers_version": "4.
|
21 |
"vision_config": {
|
22 |
"dropout": 0.0,
|
23 |
"hidden_size": 1024,
|
|
|
17 |
"num_attention_heads": 12
|
18 |
},
|
19 |
"torch_dtype": "float32",
|
20 |
+
"transformers_version": "4.41.0.dev0",
|
21 |
"vision_config": {
|
22 |
"dropout": 0.0,
|
23 |
"hidden_size": 1024,
|
generation_config.json
CHANGED
@@ -3,5 +3,5 @@
|
|
3 |
"bos_token_id": 30522,
|
4 |
"eos_token_id": 2,
|
5 |
"pad_token_id": 0,
|
6 |
-
"transformers_version": "4.
|
7 |
}
|
|
|
3 |
"bos_token_id": 30522,
|
4 |
"eos_token_id": 2,
|
5 |
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.41.0.dev0"
|
7 |
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_resize": true,
|
4 |
+
"image_mean": [
|
5 |
+
0.48145466,
|
6 |
+
0.4578275,
|
7 |
+
0.40821073
|
8 |
+
],
|
9 |
+
"image_processor_type": "BlipImageProcessor",
|
10 |
+
"image_std": [
|
11 |
+
0.26862954,
|
12 |
+
0.26130258,
|
13 |
+
0.27577711
|
14 |
+
],
|
15 |
+
"processor_class": "BlipProcessor",
|
16 |
+
"size": 384
|
17 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"do_basic_tokenize": true,
|
4 |
+
"do_lower_case": true,
|
5 |
+
"mask_token": "[MASK]",
|
6 |
+
"model_max_length": 512,
|
7 |
+
"name_or_path": "bert-base-uncased",
|
8 |
+
"never_split": null,
|
9 |
+
"pad_token": "[PAD]",
|
10 |
+
"processor_class": "BlipProcessor",
|
11 |
+
"sep_token": "[SEP]",
|
12 |
+
"special_tokens_map_file": null,
|
13 |
+
"strip_accents": null,
|
14 |
+
"tokenize_chinese_chars": true,
|
15 |
+
"tokenizer_class": "BertTokenizer",
|
16 |
+
"unk_token": "[UNK]",
|
17 |
+
"model_input_names": [
|
18 |
+
"input_ids",
|
19 |
+
"attention_mask"
|
20 |
+
]
|
21 |
+
}
|