l33tkr3w commited on
Commit
fd740ce
1 Parent(s): 22bf8fb

Upload Florence2ForConditionalGeneration

Browse files
Files changed (3) hide show
  1. config.json +3 -3
  2. generation_config.json +3 -3
  3. model.safetensors +1 -1
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": 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
  "_attn_implementation_autoset": true,
 
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": 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": 768,
17
  "text_config": {
18
  "_attn_implementation_autoset": true,
generation_config.json CHANGED
@@ -1,13 +1,13 @@
1
  {
2
  "_from_model_config": true,
3
- "bos_token_id": 2,
4
  "decoder_start_token_id": 2,
5
  "early_stopping": true,
6
- "eos_token_id": 1,
7
  "forced_bos_token_id": 0,
8
  "forced_eos_token_id": 2,
9
  "no_repeat_ngram_size": 3,
10
  "num_beams": 3,
11
- "pad_token_id": 0,
12
  "transformers_version": "4.46.2"
13
  }
 
1
  {
2
  "_from_model_config": true,
3
+ "bos_token_id": 0,
4
  "decoder_start_token_id": 2,
5
  "early_stopping": true,
6
+ "eos_token_id": 2,
7
  "forced_bos_token_id": 0,
8
  "forced_eos_token_id": 2,
9
  "no_repeat_ngram_size": 3,
10
  "num_beams": 3,
11
+ "pad_token_id": 1,
12
  "transformers_version": "4.46.2"
13
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f4333416442c56c732518dd6eca22da40da70c7dc066d3b81e058c3140014894
3
  size 1083916964
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c1296f0b9af2f687bf6f905889781ab55ecbe28056f93f96e4df021b517b7a8
3
  size 1083916964