3v324v23 commited on
Commit
650cda3
1 Parent(s): 94a3fe9

feat: initial commit

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