eisenjulian
commited on
Commit
•
be77219
1
Parent(s):
24378b7
Upload Pix2StructForConditionalGeneration
Browse files- config.json +25 -0
- generation_config.json +8 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "matcha-deplot-v2",
|
3 |
+
"architectures": [
|
4 |
+
"Pix2StructForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"decoder_start_token_id": 0,
|
7 |
+
"eos_token_id": 1,
|
8 |
+
"initializer_factor": 1.0,
|
9 |
+
"initializer_range": 0.02,
|
10 |
+
"is_encoder_decoder": true,
|
11 |
+
"is_vqa": false,
|
12 |
+
"model_type": "pix2struct",
|
13 |
+
"pad_token_id": 0,
|
14 |
+
"text_config": {
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"model_type": "pix2struct_text_model"
|
17 |
+
},
|
18 |
+
"tie_word_embeddings": false,
|
19 |
+
"torch_dtype": "float32",
|
20 |
+
"transformers_version": "4.35.2",
|
21 |
+
"vision_config": {
|
22 |
+
"initializer_range": 0.02,
|
23 |
+
"model_type": "pix2struct_vision_model"
|
24 |
+
}
|
25 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"decoder_start_token_id": 0,
|
4 |
+
"eos_token_id": 1,
|
5 |
+
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.35.2",
|
7 |
+
"use_cache": false
|
8 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:32115373f9c0f24030f8fe3ade15a113151fd4f21b4ae349454fbf2c7440149e
|
3 |
+
size 1129177976
|