m-ric HF staff commited on
Commit
a938979
·
verified ·
1 Parent(s): 59b7cd4

Upload AriaForConditionalGeneration

Browse files
Files changed (2) hide show
  1. config.json +7 -4
  2. generation_config.json +2 -2
config.json CHANGED
@@ -32,16 +32,19 @@
32
  "vocab_size": 100352
33
  },
34
  "torch_dtype": "bfloat16",
35
- "transformers_version": "4.46.0.dev0",
36
  "vision_config": {
37
  "_flash_attn_2_enabled": true,
38
- "hidden_size": 1152,
 
 
39
  "attention_heads": 16,
40
  "image_size": 980,
41
  "intermediate_size": 4304,
42
- "model_type": "idefics3",
43
  "num_hidden_layers": 27,
44
  "patch_size": 14,
45
  "torch_dtype": "bfloat16"
46
- }
 
47
  }
 
32
  "vocab_size": 100352
33
  },
34
  "torch_dtype": "bfloat16",
35
+ "transformers_version": "4.47.0.dev0",
36
  "vision_config": {
37
  "_flash_attn_2_enabled": true,
38
+ "architectures": [
39
+ "AriaVisionModel"
40
+ ],
41
  "attention_heads": 16,
42
  "image_size": 980,
43
  "intermediate_size": 4304,
44
+ "model_type": "idefics3_vision",
45
  "num_hidden_layers": 27,
46
  "patch_size": 14,
47
  "torch_dtype": "bfloat16"
48
+ },
49
+ "vision_feature_layer": -1
50
  }
generation_config.json CHANGED
@@ -2,6 +2,6 @@
2
  "_from_model_config": true,
3
  "bos_token_id": 1,
4
  "eos_token_id": 2,
5
- "pad_token_id": 32001,
6
- "transformers_version": "4.46.0.dev0"
7
  }
 
2
  "_from_model_config": true,
3
  "bos_token_id": 1,
4
  "eos_token_id": 2,
5
+ "pad_token_id": 2,
6
+ "transformers_version": "4.47.0.dev0"
7
  }