Update config.json
Browse files- config.json +5 -6
config.json
CHANGED
@@ -7,12 +7,12 @@
|
|
7 |
"AutoConfig": "microsoft/Florence-2-base-ft--configuration_florence2.Florence2Config",
|
8 |
"AutoModelForCausalLM": "microsoft/Florence-2-base-ft--modeling_florence2.Florence2ForConditionalGeneration"
|
9 |
},
|
10 |
-
"bos_token_id":
|
11 |
-
"eos_token_id":
|
12 |
"ignore_index": -100,
|
13 |
"is_encoder_decoder": true,
|
14 |
"model_type": "florence2",
|
15 |
-
"pad_token_id":
|
16 |
"projection_dim": 768,
|
17 |
"text_config": {
|
18 |
"_name_or_path": "",
|
@@ -105,10 +105,9 @@
|
|
105 |
"vocab_size": 51289
|
106 |
},
|
107 |
"torch_dtype": "float32",
|
108 |
-
"transformers_version": "4.44.
|
109 |
"vision_config": {
|
110 |
"_name_or_path": "",
|
111 |
-
"model_type": "davit",
|
112 |
"add_cross_attention": false,
|
113 |
"architectures": null,
|
114 |
"bad_words_ids": null,
|
@@ -161,7 +160,7 @@
|
|
161 |
"length_penalty": 1.0,
|
162 |
"max_length": 20,
|
163 |
"min_length": 0,
|
164 |
-
"model_type": "",
|
165 |
"no_repeat_ngram_size": 0,
|
166 |
"num_beam_groups": 1,
|
167 |
"num_beams": 1,
|
|
|
7 |
"AutoConfig": "microsoft/Florence-2-base-ft--configuration_florence2.Florence2Config",
|
8 |
"AutoModelForCausalLM": "microsoft/Florence-2-base-ft--modeling_florence2.Florence2ForConditionalGeneration"
|
9 |
},
|
10 |
+
"bos_token_id": 2,
|
11 |
+
"eos_token_id": 1,
|
12 |
"ignore_index": -100,
|
13 |
"is_encoder_decoder": true,
|
14 |
"model_type": "florence2",
|
15 |
+
"pad_token_id": 0,
|
16 |
"projection_dim": 768,
|
17 |
"text_config": {
|
18 |
"_name_or_path": "",
|
|
|
105 |
"vocab_size": 51289
|
106 |
},
|
107 |
"torch_dtype": "float32",
|
108 |
+
"transformers_version": "4.44.0",
|
109 |
"vision_config": {
|
110 |
"_name_or_path": "",
|
|
|
111 |
"add_cross_attention": false,
|
112 |
"architectures": null,
|
113 |
"bad_words_ids": null,
|
|
|
160 |
"length_penalty": 1.0,
|
161 |
"max_length": 20,
|
162 |
"min_length": 0,
|
163 |
+
"model_type": "davit",
|
164 |
"no_repeat_ngram_size": 0,
|
165 |
"num_beam_groups": 1,
|
166 |
"num_beams": 1,
|