Fix incorrect token ids
Browse files- config.json +3 -3
config.json
CHANGED
@@ -7,12 +7,12 @@
|
|
7 |
"AutoConfig": "configuration_florence2.Florence2Config",
|
8 |
"AutoModelForCausalLM": "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": 1024,
|
17 |
"text_config": {
|
18 |
"_name_or_path": "",
|
|
|
7 |
"AutoConfig": "configuration_florence2.Florence2Config",
|
8 |
"AutoModelForCausalLM": "modeling_florence2.Florence2ForConditionalGeneration"
|
9 |
},
|
10 |
+
"bos_token_id": 0,
|
11 |
+
"eos_token_id": 2,
|
12 |
"ignore_index": -100,
|
13 |
"is_encoder_decoder": true,
|
14 |
"model_type": "florence2",
|
15 |
+
"pad_token_id": 1,
|
16 |
"projection_dim": 1024,
|
17 |
"text_config": {
|
18 |
"_name_or_path": "",
|