qgallouedec HF Staff commited on
Commit
7148e37
·
verified ·
1 Parent(s): 4af9483

Add tiny Idefics3 model

Browse files
Files changed (2) hide show
  1. config.json +4 -3
  2. model.safetensors +2 -2
config.json CHANGED
@@ -33,9 +33,9 @@
33
  "mlp_bias": false,
34
  "model_type": "llama",
35
  "neftune_noise_alpha": 0.0,
36
- "num_attention_heads": 32,
37
  "num_hidden_layers": 2,
38
- "num_key_value_heads": 8,
39
  "pad_token_id": 128002,
40
  "perceiver_config": {
41
  "_name_or_path": "",
@@ -138,9 +138,10 @@
138
  "intermediate_size": 4304,
139
  "layer_norm_eps": 1e-06,
140
  "model_type": "idefics3_vision",
141
- "num_attention_heads": 16,
142
  "num_channels": 3,
143
  "num_hidden_layers": 2,
 
144
  "old_vision_model_name": "/fsx/hugo/siglip-so400m-14-364-flash-attn2-navit",
145
  "pad_token_id": 128002,
146
  "patch_size": 14
 
33
  "mlp_bias": false,
34
  "model_type": "llama",
35
  "neftune_noise_alpha": 0.0,
36
+ "num_attention_heads": 4,
37
  "num_hidden_layers": 2,
38
+ "num_key_value_heads": 2,
39
  "pad_token_id": 128002,
40
  "perceiver_config": {
41
  "_name_or_path": "",
 
138
  "intermediate_size": 4304,
139
  "layer_norm_eps": 1e-06,
140
  "model_type": "idefics3_vision",
141
+ "num_attention_heads": 4,
142
  "num_channels": 3,
143
  "num_hidden_layers": 2,
144
+ "num_key_value_heads": 2,
145
  "old_vision_model_name": "/fsx/hugo/siglip-so400m-14-364-flash-attn2-navit",
146
  "pad_token_id": 128002,
147
  "patch_size": 14
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ba81671ed3aa79e3cb33a783bbef1fec1de64f88885816f2c271a2e54ff1ed77
3
- size 12239160
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5894593ad1d7885be43ab7c1166017e43452eb90368846f4feeceb7e574ddb8
3
+ size 11682096