patrickvonplaten commited on
Commit
2b34c3c
1 Parent(s): b0ca21f
Files changed (2) hide show
  1. config.json +159 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,159 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "VisionEncoderDecoderModel"
4
+ ],
5
+ "decoder": {
6
+ "_name_or_path": "hf-internal-testing/tiny-random-bert",
7
+ "add_cross_attention": true,
8
+ "architectures": null,
9
+ "attention_probs_dropout_prob": 0.1,
10
+ "bad_words_ids": null,
11
+ "bos_token_id": null,
12
+ "chunk_size_feed_forward": 0,
13
+ "classifier_dropout": null,
14
+ "cross_attention_hidden_size": null,
15
+ "decoder_start_token_id": null,
16
+ "diversity_penalty": 0.0,
17
+ "do_sample": false,
18
+ "early_stopping": false,
19
+ "encoder_no_repeat_ngram_size": 0,
20
+ "eos_token_id": null,
21
+ "finetuning_task": null,
22
+ "forced_bos_token_id": null,
23
+ "forced_eos_token_id": null,
24
+ "gradient_checkpointing": false,
25
+ "hidden_act": "gelu",
26
+ "hidden_dropout_prob": 0.1,
27
+ "hidden_size": 32,
28
+ "id2label": {
29
+ "0": "LABEL_0",
30
+ "1": "LABEL_1"
31
+ },
32
+ "initializer_range": 0.02,
33
+ "intermediate_size": 37,
34
+ "is_decoder": true,
35
+ "is_encoder_decoder": false,
36
+ "label2id": {
37
+ "LABEL_0": 0,
38
+ "LABEL_1": 1
39
+ },
40
+ "layer_norm_eps": 1e-12,
41
+ "length_penalty": 1.0,
42
+ "max_length": 20,
43
+ "max_position_embeddings": 512,
44
+ "min_length": 0,
45
+ "model_type": "bert",
46
+ "no_repeat_ngram_size": 0,
47
+ "num_attention_heads": 4,
48
+ "num_beam_groups": 1,
49
+ "num_beams": 1,
50
+ "num_hidden_layers": 5,
51
+ "num_return_sequences": 1,
52
+ "output_attentions": false,
53
+ "output_hidden_states": false,
54
+ "output_scores": false,
55
+ "pad_token_id": 0,
56
+ "position_embedding_type": "absolute",
57
+ "prefix": null,
58
+ "problem_type": null,
59
+ "pruned_heads": {},
60
+ "remove_invalid_values": false,
61
+ "repetition_penalty": 1.0,
62
+ "return_dict": true,
63
+ "return_dict_in_generate": false,
64
+ "sep_token_id": null,
65
+ "task_specific_params": null,
66
+ "temperature": 1.0,
67
+ "tie_encoder_decoder": false,
68
+ "tie_word_embeddings": true,
69
+ "tokenizer_class": null,
70
+ "top_k": 50,
71
+ "top_p": 1.0,
72
+ "torch_dtype": null,
73
+ "torchscript": false,
74
+ "transformers_version": "4.14.0.dev0",
75
+ "type_vocab_size": 16,
76
+ "use_bfloat16": false,
77
+ "use_cache": true,
78
+ "vocab_size": 1124
79
+ },
80
+ "encoder": {
81
+ "_name_or_path": "hf-internal-testing/tiny-random-vit",
82
+ "add_cross_attention": false,
83
+ "architectures": null,
84
+ "attention_probs_dropout_prob": 0.1,
85
+ "bad_words_ids": null,
86
+ "bos_token_id": null,
87
+ "chunk_size_feed_forward": 0,
88
+ "cross_attention_hidden_size": null,
89
+ "decoder_start_token_id": null,
90
+ "diversity_penalty": 0.0,
91
+ "do_sample": false,
92
+ "early_stopping": false,
93
+ "encoder_no_repeat_ngram_size": 0,
94
+ "eos_token_id": null,
95
+ "finetuning_task": null,
96
+ "forced_bos_token_id": null,
97
+ "forced_eos_token_id": null,
98
+ "hidden_act": "gelu",
99
+ "hidden_dropout_prob": 0.1,
100
+ "hidden_size": 32,
101
+ "id2label": {
102
+ "0": "LABEL_0",
103
+ "1": "LABEL_1"
104
+ },
105
+ "image_size": 30,
106
+ "initializer_range": 0.02,
107
+ "intermediate_size": 37,
108
+ "is_decoder": false,
109
+ "is_encoder_decoder": false,
110
+ "label2id": {
111
+ "LABEL_0": 0,
112
+ "LABEL_1": 1
113
+ },
114
+ "layer_norm_eps": 1e-12,
115
+ "length_penalty": 1.0,
116
+ "max_length": 20,
117
+ "min_length": 0,
118
+ "model_type": "vit",
119
+ "no_repeat_ngram_size": 0,
120
+ "num_attention_heads": 4,
121
+ "num_beam_groups": 1,
122
+ "num_beams": 1,
123
+ "num_channels": 3,
124
+ "num_hidden_layers": 5,
125
+ "num_return_sequences": 1,
126
+ "output_attentions": false,
127
+ "output_hidden_states": false,
128
+ "output_scores": false,
129
+ "pad_token_id": null,
130
+ "patch_size": 2,
131
+ "prefix": null,
132
+ "problem_type": null,
133
+ "pruned_heads": {},
134
+ "qkv_bias": true,
135
+ "remove_invalid_values": false,
136
+ "repetition_penalty": 1.0,
137
+ "return_dict": true,
138
+ "return_dict_in_generate": false,
139
+ "sep_token_id": null,
140
+ "task_specific_params": null,
141
+ "temperature": 1.0,
142
+ "tie_encoder_decoder": false,
143
+ "tie_word_embeddings": true,
144
+ "tokenizer_class": null,
145
+ "top_k": 50,
146
+ "top_p": 1.0,
147
+ "torch_dtype": null,
148
+ "torchscript": false,
149
+ "transformers_version": "4.14.0.dev0",
150
+ "use_bfloat16": false,
151
+ "vocab_size": {}
152
+ },
153
+ "decoder_start_token_id": 1,
154
+ "is_encoder_decoder": true,
155
+ "model_type": "vision-encoder-decoder",
156
+ "tie_word_embeddings": false,
157
+ "torch_dtype": "float32",
158
+ "transformers_version": null
159
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6672356f9413b070c3793006574ee6c03d9b8d65123a07ca42a10e2a6dace631
3
+ size 707831