Upload Pix2StructForConditionalGeneration
Browse files- config.json +4 -2
- pytorch_model.bin +2 -2
config.json
CHANGED
|
@@ -1,11 +1,14 @@
|
|
| 1 |
{
|
| 2 |
"_commit_hash": null,
|
|
|
|
| 3 |
"architectures": [
|
| 4 |
"Pix2StructForConditionalGeneration"
|
| 5 |
],
|
|
|
|
| 6 |
"initializer_factor": 1.0,
|
| 7 |
"initializer_range": 0.02,
|
| 8 |
"model_type": "pix2struct",
|
|
|
|
| 9 |
"text_config": {
|
| 10 |
"_name_or_path": "",
|
| 11 |
"add_cross_attention": false,
|
|
@@ -38,7 +41,7 @@
|
|
| 38 |
},
|
| 39 |
"initializer_factor": 1.0,
|
| 40 |
"initializer_range": 0.02,
|
| 41 |
-
"is_decoder":
|
| 42 |
"is_encoder_decoder": false,
|
| 43 |
"is_gated_act": true,
|
| 44 |
"label2id": {
|
|
@@ -53,7 +56,6 @@
|
|
| 53 |
"no_repeat_ngram_size": 0,
|
| 54 |
"num_beam_groups": 1,
|
| 55 |
"num_beams": 1,
|
| 56 |
-
"num_decoder_layers": 12,
|
| 57 |
"num_heads": 12,
|
| 58 |
"num_layers": 12,
|
| 59 |
"num_return_sequences": 1,
|
|
|
|
| 1 |
{
|
| 2 |
"_commit_hash": null,
|
| 3 |
+
"_name_or_path": "/home/younes_huggingface_co/code/pix2struct-checkpoints/pix2struct-textcaps-base",
|
| 4 |
"architectures": [
|
| 5 |
"Pix2StructForConditionalGeneration"
|
| 6 |
],
|
| 7 |
+
"decoder_start_token_id": 0,
|
| 8 |
"initializer_factor": 1.0,
|
| 9 |
"initializer_range": 0.02,
|
| 10 |
"model_type": "pix2struct",
|
| 11 |
+
"pad_token_id": 0,
|
| 12 |
"text_config": {
|
| 13 |
"_name_or_path": "",
|
| 14 |
"add_cross_attention": false,
|
|
|
|
| 41 |
},
|
| 42 |
"initializer_factor": 1.0,
|
| 43 |
"initializer_range": 0.02,
|
| 44 |
+
"is_decoder": false,
|
| 45 |
"is_encoder_decoder": false,
|
| 46 |
"is_gated_act": true,
|
| 47 |
"label2id": {
|
|
|
|
| 56 |
"no_repeat_ngram_size": 0,
|
| 57 |
"num_beam_groups": 1,
|
| 58 |
"num_beams": 1,
|
|
|
|
| 59 |
"num_heads": 12,
|
| 60 |
"num_layers": 12,
|
| 61 |
"num_return_sequences": 1,
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2e8599e7e8a6912e1654d2aff5a158ffed8814da8742090a229cc08ba35cde2c
|
| 3 |
+
size 1129238081
|