khairi commited on
Commit
f206815
·
verified ·
1 Parent(s): 3d2f243

Model save

Browse files
Files changed (5) hide show
  1. README.md +47 -0
  2. config.json +170 -0
  3. generation_config.json +12 -0
  4. model.safetensors +3 -0
  5. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ model-index:
5
+ - name: ProtNLA
6
+ results: []
7
+ ---
8
+
9
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
10
+ should probably proofread and complete it, then remove this comment. -->
11
+
12
+ # ProtNLA
13
+
14
+ This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset.
15
+
16
+ ## Model description
17
+
18
+ More information needed
19
+
20
+ ## Intended uses & limitations
21
+
22
+ More information needed
23
+
24
+ ## Training and evaluation data
25
+
26
+ More information needed
27
+
28
+ ## Training procedure
29
+
30
+ ### Training hyperparameters
31
+
32
+ The following hyperparameters were used during training:
33
+ - learning_rate: 4e-05
34
+ - train_batch_size: 256
35
+ - eval_batch_size: 256
36
+ - seed: 42
37
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
38
+ - lr_scheduler_type: cosine_with_restarts
39
+ - lr_scheduler_warmup_steps: 2000
40
+ - num_epochs: 1
41
+
42
+ ### Framework versions
43
+
44
+ - Transformers 4.39.2
45
+ - Pytorch 2.0.0+cu118
46
+ - Datasets 2.18.0
47
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "EncoderDecoderModel"
4
+ ],
5
+ "decoder": {
6
+ "_name_or_path": "",
7
+ "add_cross_attention": true,
8
+ "architectures": null,
9
+ "attention_probs_dropout_prob": 0.2,
10
+ "bad_words_ids": null,
11
+ "begin_suppress_tokens": null,
12
+ "bos_token_id": 0,
13
+ "chunk_size_feed_forward": 0,
14
+ "cross_attention_hidden_size": null,
15
+ "decoder_start_token_id": 0,
16
+ "diversity_penalty": 0.0,
17
+ "do_sample": false,
18
+ "early_stopping": false,
19
+ "embedding_size": 768,
20
+ "encoder_no_repeat_ngram_size": 0,
21
+ "eos_token_id": null,
22
+ "exponential_decay_length_penalty": null,
23
+ "finetuning_task": null,
24
+ "forced_bos_token_id": null,
25
+ "forced_eos_token_id": null,
26
+ "hidden_act": "silu",
27
+ "hidden_dropout_prob": 0.2,
28
+ "hidden_size": 768,
29
+ "id2label": {
30
+ "0": "LABEL_0",
31
+ "1": "LABEL_1"
32
+ },
33
+ "initializer_range": 0.02,
34
+ "intermediate_size": 2048,
35
+ "is_decoder": true,
36
+ "is_encoder_decoder": false,
37
+ "label2id": {
38
+ "LABEL_0": 0,
39
+ "LABEL_1": 1
40
+ },
41
+ "layer_norm_eps": 1e-12,
42
+ "length_penalty": 1.0,
43
+ "max_length": 20,
44
+ "max_position_embeddings": 1536,
45
+ "min_length": 0,
46
+ "model_type": "roformer",
47
+ "no_repeat_ngram_size": 0,
48
+ "num_attention_heads": 8,
49
+ "num_beam_groups": 1,
50
+ "num_beams": 1,
51
+ "num_hidden_layers": 6,
52
+ "num_return_sequences": 1,
53
+ "output_attentions": false,
54
+ "output_hidden_states": false,
55
+ "output_scores": false,
56
+ "pad_token_id": 2,
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
+ "rotary_value": false,
65
+ "sep_token_id": null,
66
+ "suppress_tokens": null,
67
+ "task_specific_params": null,
68
+ "temperature": 1.0,
69
+ "tf_legacy_loss": false,
70
+ "tie_encoder_decoder": false,
71
+ "tie_word_embeddings": true,
72
+ "tokenizer_class": null,
73
+ "top_k": 50,
74
+ "top_p": 1.0,
75
+ "torch_dtype": null,
76
+ "torchscript": false,
77
+ "type_vocab_size": 2,
78
+ "typical_p": 1.0,
79
+ "use_bfloat16": false,
80
+ "use_cache": true,
81
+ "vocab_size": 16681
82
+ },
83
+ "decoder_start_token_id": 0,
84
+ "encoder": {
85
+ "_name_or_path": "khairi/ProtFormer",
86
+ "add_cross_attention": false,
87
+ "architectures": [
88
+ "RoFormerForMaskedLM"
89
+ ],
90
+ "attention_probs_dropout_prob": 0.2,
91
+ "bad_words_ids": null,
92
+ "begin_suppress_tokens": 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
+ "embedding_size": 768,
101
+ "encoder_no_repeat_ngram_size": 0,
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": "silu",
108
+ "hidden_dropout_prob": 0.2,
109
+ "hidden_size": 768,
110
+ "id2label": {
111
+ "0": "LABEL_0",
112
+ "1": "LABEL_1"
113
+ },
114
+ "initializer_range": 0.02,
115
+ "intermediate_size": 2048,
116
+ "is_decoder": false,
117
+ "is_encoder_decoder": false,
118
+ "label2id": {
119
+ "LABEL_0": 0,
120
+ "LABEL_1": 1
121
+ },
122
+ "layer_norm_eps": 1e-12,
123
+ "length_penalty": 1.0,
124
+ "max_length": 20,
125
+ "max_position_embeddings": 1536,
126
+ "min_length": 0,
127
+ "model_type": "roformer",
128
+ "no_repeat_ngram_size": 0,
129
+ "num_attention_heads": 6,
130
+ "num_beam_groups": 1,
131
+ "num_beams": 1,
132
+ "num_hidden_layers": 6,
133
+ "num_return_sequences": 1,
134
+ "output_attentions": false,
135
+ "output_hidden_states": false,
136
+ "output_scores": false,
137
+ "pad_token_id": 2,
138
+ "prefix": null,
139
+ "problem_type": null,
140
+ "pruned_heads": {},
141
+ "remove_invalid_values": false,
142
+ "repetition_penalty": 1.0,
143
+ "return_dict": true,
144
+ "return_dict_in_generate": false,
145
+ "rotary_value": false,
146
+ "sep_token_id": null,
147
+ "suppress_tokens": null,
148
+ "task_specific_params": null,
149
+ "temperature": 1.0,
150
+ "tf_legacy_loss": false,
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
+ "type_vocab_size": 2,
159
+ "typical_p": 1.0,
160
+ "use_bfloat16": false,
161
+ "use_cache": true,
162
+ "vocab_size": 25005
163
+ },
164
+ "is_encoder_decoder": true,
165
+ "model_type": "encoder-decoder",
166
+ "pad_token_id": 2,
167
+ "torch_dtype": "float32",
168
+ "transformers_version": "4.39.2",
169
+ "vocab_size": 16681
170
+ }
generation_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 0,
3
+ "do_sample": true,
4
+ "eos_token_id": 1,
5
+ "max_new_tokens": 20,
6
+ "num_return_sequences": 5,
7
+ "output_logits": true,
8
+ "output_scores": true,
9
+ "pad_token_id": 2,
10
+ "repetition_penalty": 1.3,
11
+ "transformers_version": "4.39.2"
12
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6bce672bbf960b98736d425af3d4ddc6398e14fe94e1d6ff85b5e9293d7432f7
3
+ size 453334260
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1fd75411f60e416643ac86a160cb7bc8a376d5d34a75a96c37739d787660f9d
3
+ size 6203