khairi commited on
Commit
524e2c8
·
verified ·
1 Parent(s): 17fd48d

Upload model

Browse files
Files changed (3) hide show
  1. config.json +36 -41
  2. generation_config.json +5 -5
  3. model.safetensors +2 -2
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "data/experiments/hf_output/checkpoint-31500",
3
  "architectures": [
4
  "EncoderDecoderModel"
5
  ],
@@ -7,17 +7,18 @@
7
  "_name_or_path": "",
8
  "add_cross_attention": true,
9
  "architectures": null,
10
- "attention_probs_dropout_prob": 0.6,
 
11
  "bad_words_ids": null,
12
  "begin_suppress_tokens": null,
13
- "bos_token_id": 0,
14
  "chunk_size_feed_forward": 0,
15
  "cross_attention_hidden_size": null,
16
- "decoder_start_token_id": 0,
17
  "diversity_penalty": 0.0,
18
  "do_sample": false,
19
  "early_stopping": false,
20
- "embedding_size": 512,
21
  "encoder_no_repeat_ngram_size": 0,
22
  "eos_token_id": null,
23
  "exponential_decay_length_penalty": null,
@@ -25,14 +26,14 @@
25
  "forced_bos_token_id": null,
26
  "forced_eos_token_id": null,
27
  "hidden_act": "silu",
28
- "hidden_dropout_prob": 0.6,
29
- "hidden_size": 512,
30
  "id2label": {
31
  "0": "LABEL_0",
32
  "1": "LABEL_1"
33
  },
34
  "initializer_range": 0.02,
35
- "intermediate_size": 1024,
36
  "is_decoder": true,
37
  "is_encoder_decoder": false,
38
  "label2id": {
@@ -49,12 +50,12 @@
49
  "num_attention_heads": 8,
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": 2,
58
  "prefix": null,
59
  "problem_type": null,
60
  "pruned_heads": {},
@@ -79,68 +80,62 @@
79
  "typical_p": 1.0,
80
  "use_bfloat16": false,
81
  "use_cache": true,
82
- "vocab_size": 42316
83
  },
84
- "decoder_start_token_id": 0,
85
  "encoder": {
86
- "_name_or_path": "khairi/esm2_t12_35M_UR50D",
87
  "add_cross_attention": false,
88
- "architectures": [
89
- "EsmModel"
90
- ],
91
- "attention_probs_dropout_prob": 0.5,
92
  "bad_words_ids": null,
93
  "begin_suppress_tokens": null,
94
  "bos_token_id": null,
95
  "chunk_size_feed_forward": 0,
96
- "classifier_dropout": null,
97
  "cross_attention_hidden_size": null,
98
  "decoder_start_token_id": null,
99
  "diversity_penalty": 0.0,
100
  "do_sample": false,
101
  "early_stopping": false,
102
- "emb_layer_norm_before": false,
103
  "encoder_no_repeat_ngram_size": 0,
104
  "eos_token_id": null,
105
- "esmfold_config": null,
106
  "exponential_decay_length_penalty": null,
107
  "finetuning_task": null,
108
  "forced_bos_token_id": null,
109
  "forced_eos_token_id": null,
110
- "hidden_act": "gelu",
111
- "hidden_dropout_prob": 0.5,
112
- "hidden_size": 480,
113
  "id2label": {
114
  "0": "LABEL_0",
115
  "1": "LABEL_1"
116
  },
117
  "initializer_range": 0.02,
118
- "intermediate_size": 1920,
119
  "is_decoder": false,
120
  "is_encoder_decoder": false,
121
- "is_folding_model": false,
122
  "label2id": {
123
  "LABEL_0": 0,
124
  "LABEL_1": 1
125
  },
126
- "layer_norm_eps": 1e-05,
127
  "length_penalty": 1.0,
128
- "mask_token_id": 32,
129
  "max_length": 20,
130
- "max_position_embeddings": 1026,
131
  "min_length": 0,
132
- "model_type": "esm",
133
  "no_repeat_ngram_size": 0,
134
- "num_attention_heads": 20,
135
  "num_beam_groups": 1,
136
  "num_beams": 1,
137
- "num_hidden_layers": 12,
138
  "num_return_sequences": 1,
139
  "output_attentions": false,
140
  "output_hidden_states": false,
141
  "output_scores": false,
142
- "pad_token_id": 1,
143
- "position_embedding_type": "rotary",
144
  "prefix": null,
145
  "problem_type": null,
146
  "pruned_heads": {},
@@ -148,6 +143,7 @@
148
  "repetition_penalty": 1.0,
149
  "return_dict": true,
150
  "return_dict_in_generate": false,
 
151
  "sep_token_id": null,
152
  "suppress_tokens": null,
153
  "task_specific_params": null,
@@ -155,23 +151,22 @@
155
  "tf_legacy_loss": false,
156
  "tie_encoder_decoder": false,
157
  "tie_word_embeddings": true,
158
- "token_dropout": true,
159
  "tokenizer_class": null,
160
  "top_k": 50,
161
  "top_p": 1.0,
162
- "torch_dtype": "float32",
163
  "torchscript": false,
 
164
  "typical_p": 1.0,
165
  "use_bfloat16": false,
166
  "use_cache": true,
167
- "vocab_list": null,
168
- "vocab_size": 33
169
  },
170
- "eos_token_id": 1,
171
  "is_encoder_decoder": true,
172
  "model_type": "encoder-decoder",
173
- "pad_token_id": 2,
174
  "torch_dtype": "float32",
175
- "transformers_version": "4.40.0",
176
- "vocab_size": 42316
177
  }
 
1
  {
2
+ "_name_or_path": "data/experiments/hf_output/checkpoint-500",
3
  "architectures": [
4
  "EncoderDecoderModel"
5
  ],
 
7
  "_name_or_path": "",
8
  "add_cross_attention": true,
9
  "architectures": null,
10
+ "attention_probs_dropout_prob": 0.2,
11
+ "ax_position_embeddings": 1024,
12
  "bad_words_ids": null,
13
  "begin_suppress_tokens": null,
14
+ "bos_token_id": 1,
15
  "chunk_size_feed_forward": 0,
16
  "cross_attention_hidden_size": null,
17
+ "decoder_start_token_id": 1,
18
  "diversity_penalty": 0.0,
19
  "do_sample": false,
20
  "early_stopping": false,
21
+ "embedding_size": 768,
22
  "encoder_no_repeat_ngram_size": 0,
23
  "eos_token_id": null,
24
  "exponential_decay_length_penalty": null,
 
26
  "forced_bos_token_id": null,
27
  "forced_eos_token_id": null,
28
  "hidden_act": "silu",
29
+ "hidden_dropout_prob": 0.2,
30
+ "hidden_size": 768,
31
  "id2label": {
32
  "0": "LABEL_0",
33
  "1": "LABEL_1"
34
  },
35
  "initializer_range": 0.02,
36
+ "intermediate_size": 2048,
37
  "is_decoder": true,
38
  "is_encoder_decoder": false,
39
  "label2id": {
 
50
  "num_attention_heads": 8,
51
  "num_beam_groups": 1,
52
  "num_beams": 1,
53
+ "num_hidden_layers": 6,
54
  "num_return_sequences": 1,
55
  "output_attentions": false,
56
  "output_hidden_states": false,
57
  "output_scores": false,
58
+ "pad_token_id": 3,
59
  "prefix": null,
60
  "problem_type": null,
61
  "pruned_heads": {},
 
80
  "typical_p": 1.0,
81
  "use_bfloat16": false,
82
  "use_cache": true,
83
+ "vocab_size": 15008
84
  },
85
+ "decoder_start_token_id": 1,
86
  "encoder": {
87
+ "_name_or_path": "",
88
  "add_cross_attention": false,
89
+ "architectures": null,
90
+ "attention_probs_dropout_prob": 0.2,
91
+ "ax_position_embeddings": 1024,
 
92
  "bad_words_ids": null,
93
  "begin_suppress_tokens": null,
94
  "bos_token_id": null,
95
  "chunk_size_feed_forward": 0,
 
96
  "cross_attention_hidden_size": null,
97
  "decoder_start_token_id": null,
98
  "diversity_penalty": 0.0,
99
  "do_sample": false,
100
  "early_stopping": false,
101
+ "embedding_size": 768,
102
  "encoder_no_repeat_ngram_size": 0,
103
  "eos_token_id": null,
 
104
  "exponential_decay_length_penalty": null,
105
  "finetuning_task": null,
106
  "forced_bos_token_id": null,
107
  "forced_eos_token_id": null,
108
+ "hidden_act": "silu",
109
+ "hidden_dropout_prob": 0.2,
110
+ "hidden_size": 768,
111
  "id2label": {
112
  "0": "LABEL_0",
113
  "1": "LABEL_1"
114
  },
115
  "initializer_range": 0.02,
116
+ "intermediate_size": 2048,
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
+ "max_position_embeddings": 1536,
127
  "min_length": 0,
128
+ "model_type": "roformer",
129
  "no_repeat_ngram_size": 0,
130
+ "num_attention_heads": 8,
131
  "num_beam_groups": 1,
132
  "num_beams": 1,
133
+ "num_hidden_layers": 6,
134
  "num_return_sequences": 1,
135
  "output_attentions": false,
136
  "output_hidden_states": false,
137
  "output_scores": false,
138
+ "pad_token_id": 2,
 
139
  "prefix": null,
140
  "problem_type": null,
141
  "pruned_heads": {},
 
143
  "repetition_penalty": 1.0,
144
  "return_dict": true,
145
  "return_dict_in_generate": false,
146
+ "rotary_value": false,
147
  "sep_token_id": null,
148
  "suppress_tokens": null,
149
  "task_specific_params": null,
 
151
  "tf_legacy_loss": false,
152
  "tie_encoder_decoder": false,
153
  "tie_word_embeddings": true,
 
154
  "tokenizer_class": null,
155
  "top_k": 50,
156
  "top_p": 1.0,
157
+ "torch_dtype": null,
158
  "torchscript": false,
159
+ "type_vocab_size": 2,
160
  "typical_p": 1.0,
161
  "use_bfloat16": false,
162
  "use_cache": true,
163
+ "vocab_size": 25005
 
164
  },
165
+ "eos_token_id": 0,
166
  "is_encoder_decoder": true,
167
  "model_type": "encoder-decoder",
168
+ "pad_token_id": 3,
169
  "torch_dtype": "float32",
170
+ "transformers_version": "4.41.0",
171
+ "vocab_size": 15008
172
  }
generation_config.json CHANGED
@@ -1,13 +1,13 @@
1
  {
2
- "bos_token_id": 0,
3
- "decoder_start_token_id": 0,
4
- "eos_token_id": 1,
5
  "max_new_tokens": 50,
6
  "num_beans": 1,
7
  "output_logits": true,
8
  "output_scores": true,
9
- "pad_token_id": 2,
10
  "repetition_penalty": 1.3,
11
  "return_dict_in_generate": true,
12
- "transformers_version": "4.40.0"
13
  }
 
1
  {
2
+ "bos_token_id": 1,
3
+ "decoder_start_token_id": 1,
4
+ "eos_token_id": 0,
5
  "max_new_tokens": 50,
6
  "num_beans": 1,
7
  "output_logits": true,
8
  "output_scores": true,
9
+ "pad_token_id": 3,
10
  "repetition_penalty": 1.3,
11
  "return_dict_in_generate": true,
12
+ "transformers_version": "4.41.0"
13
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2af16ef5907dc87d011ae44f8e16b13d1e27a2d6a59decb8a513680d9f731c02
3
- size 376726500
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a97c71339674ff9888a7c8a3a31d86e9bcdfa1446982bfc0e71747e04d58bbdc
3
+ size 447991496