Upload processor
Browse files- preprocessor_config.json +15 -0
- tokenizer_config.json +4 -0
preprocessor_config.json
CHANGED
@@ -1,4 +1,19 @@
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"do_convert_rgb": true,
|
3 |
"do_normalize": true,
|
4 |
"do_rescale": true,
|
|
|
1 |
{
|
2 |
+
"_valid_processor_keys": [
|
3 |
+
"images",
|
4 |
+
"do_resize",
|
5 |
+
"size",
|
6 |
+
"resample",
|
7 |
+
"do_rescale",
|
8 |
+
"rescale_factor",
|
9 |
+
"do_normalize",
|
10 |
+
"image_mean",
|
11 |
+
"image_std",
|
12 |
+
"do_convert_rgb",
|
13 |
+
"return_tensors",
|
14 |
+
"data_format",
|
15 |
+
"input_data_format"
|
16 |
+
],
|
17 |
"do_convert_rgb": true,
|
18 |
"do_normalize": true,
|
19 |
"do_rescale": true,
|
tokenizer_config.json
CHANGED
@@ -23,8 +23,12 @@
|
|
23 |
"clean_up_tokenization_spaces": true,
|
24 |
"eos_token": "</s>",
|
25 |
"errors": "replace",
|
|
|
26 |
"model_max_length": 1000000000000000019884624838656,
|
|
|
27 |
"pad_token": "<pad>",
|
|
|
|
|
28 |
"processor_class": "Blip2Processor",
|
29 |
"tokenizer_class": "GPT2Tokenizer",
|
30 |
"unk_token": "</s>"
|
|
|
23 |
"clean_up_tokenization_spaces": true,
|
24 |
"eos_token": "</s>",
|
25 |
"errors": "replace",
|
26 |
+
"max_length": null,
|
27 |
"model_max_length": 1000000000000000019884624838656,
|
28 |
+
"pad_to_multiple_of": null,
|
29 |
"pad_token": "<pad>",
|
30 |
+
"pad_token_type_id": 0,
|
31 |
+
"padding_side": "right",
|
32 |
"processor_class": "Blip2Processor",
|
33 |
"tokenizer_class": "GPT2Tokenizer",
|
34 |
"unk_token": "</s>"
|