Upload config
Browse files- README.md +2 -2
- config.json +40 -0
README.md
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
---
|
|
|
|
|
2 |
library_name: transformers
|
3 |
base_model: google/paligemma-3b-pt-224
|
4 |
pipeline_tag: visual-question-answering
|
5 |
-
language:
|
6 |
-
- en
|
7 |
---
|
8 |
|
9 |
# Model Card for Model ID
|
|
|
1 |
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
library_name: transformers
|
5 |
base_model: google/paligemma-3b-pt-224
|
6 |
pipeline_tag: visual-question-answering
|
|
|
|
|
7 |
---
|
8 |
|
9 |
# Model Card for Model ID
|
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": "float32",
|
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 |
+
}
|