Update config.json
Browse files- config.json +8 -8
config.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "microsoft/Florence-2-base",
|
| 3 |
"architectures": [
|
| 4 |
"Florence2ForConditionalGeneration"
|
| 5 |
],
|
| 6 |
"auto_map": {
|
| 7 |
-
"AutoConfig": "microsoft/Florence-2-base--configuration_florence2.Florence2Config",
|
| 8 |
-
"AutoModelForCausalLM": "microsoft/Florence-2-base--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": "",
|
|
@@ -160,7 +160,7 @@
|
|
| 160 |
"length_penalty": 1.0,
|
| 161 |
"max_length": 20,
|
| 162 |
"min_length": 0,
|
| 163 |
-
"model_type": "",
|
| 164 |
"no_repeat_ngram_size": 0,
|
| 165 |
"num_beam_groups": 1,
|
| 166 |
"num_beams": 1,
|
|
@@ -234,4 +234,4 @@
|
|
| 234 |
"window_size": 12
|
| 235 |
},
|
| 236 |
"vocab_size": 51289
|
| 237 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "microsoft/Florence-2-base-ft",
|
| 3 |
"architectures": [
|
| 4 |
"Florence2ForConditionalGeneration"
|
| 5 |
],
|
| 6 |
"auto_map": {
|
| 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": "",
|
|
|
|
| 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,
|
|
|
|
| 234 |
"window_size": 12
|
| 235 |
},
|
| 236 |
"vocab_size": 51289
|
| 237 |
+
}
|