dltjwl
commited on
Commit
•
1443bd9
1
Parent(s):
f03f22c
Modify : Model
Browse files- config.json +35 -0
- generation_config.json +8 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "ybelkada/pix2struct-base",
|
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 |
+
"dropout_rate": 0.2,
|
16 |
+
"encoder_hidden_size": 768,
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"model_type": "pix2struct_text_model",
|
19 |
+
"vocab_size": 50345
|
20 |
+
},
|
21 |
+
"tie_word_embeddings": false,
|
22 |
+
"torch_dtype": "float32",
|
23 |
+
"transformers_version": "4.32.1",
|
24 |
+
"vision_config": {
|
25 |
+
"attention_dropout": 0.2,
|
26 |
+
"dropout_rate": 0.2,
|
27 |
+
"hidden_dropout_prob": 0.2,
|
28 |
+
"initializer_range": 0.02,
|
29 |
+
"layer_norm_bias": false,
|
30 |
+
"model_type": "pix2struct_vision_model",
|
31 |
+
"num_channels": 3,
|
32 |
+
"patch_size": 16,
|
33 |
+
"projection_dim": 768
|
34 |
+
}
|
35 |
+
}
|
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.32.1",
|
7 |
+
"use_cache": false
|
8 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:46da3b530f25bbab5b72a1847f4d5fb8d14c05edab8dac67e04cb3aaf13ac25a
|
3 |
+
size 1129859070
|