hyacinthum commited on
Commit
4438f58
1 Parent(s): 815460b

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +40 -0
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/paligemma-3b-pt-224",
3
+ "architectures": [
4
+ "PaliGemmaForConditionalGeneration"
5
+ ],
6
+ "bos_token_id": 2,
7
+ "eos_token_id": 1,
8
+ "hidden_size": 2048,
9
+ "ignore_index": -100,
10
+ "image_token_index": 257152,
11
+ "model_type": "paligemma",
12
+ "pad_token_id": 0,
13
+ "projection_dim": 2048,
14
+ "text_config": {
15
+ "hidden_size": 2048,
16
+ "intermediate_size": 16384,
17
+ "model_type": "gemma",
18
+ "num_attention_heads": 8,
19
+ "num_hidden_layers": 18,
20
+ "num_image_tokens": 256,
21
+ "num_key_value_heads": 1,
22
+ "torch_dtype": "float32",
23
+ "vocab_size": 257216
24
+ },
25
+ "torch_dtype": "bfloat16",
26
+ "transformers_version": "4.42.0.dev0",
27
+ "vision_config": {
28
+ "hidden_size": 1152,
29
+ "intermediate_size": 4304,
30
+ "model_type": "siglip_vision_model",
31
+ "num_attention_heads": 16,
32
+ "num_hidden_layers": 27,
33
+ "num_image_tokens": 256,
34
+ "patch_size": 14,
35
+ "projection_dim": 2048,
36
+ "projector_hidden_act": "gelu_fast",
37
+ "vision_use_head": false
38
+ },
39
+ "vocab_size": 257216
40
+ }