Shivam098 commited on
Commit
e7de333
1 Parent(s): 39d38c6

End of training

Browse files
Files changed (5) hide show
  1. README.md +53 -0
  2. config.json +218 -0
  3. generation_config.json +12 -0
  4. pytorch_model.bin +3 -0
  5. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Shivam098/opt-translation
3
+ tags:
4
+ - generated_from_trainer
5
+ datasets:
6
+ - opus100
7
+ model-index:
8
+ - name: opt-Translator
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # opt-Translator
16
+
17
+ This model is a fine-tuned version of [Shivam098/opt-translation](https://huggingface.co/Shivam098/opt-translation) on the opus100 dataset.
18
+
19
+ ## Model description
20
+
21
+ More information needed
22
+
23
+ ## Intended uses & limitations
24
+
25
+ More information needed
26
+
27
+ ## Training and evaluation data
28
+
29
+ More information needed
30
+
31
+ ## Training procedure
32
+
33
+ ### Training hyperparameters
34
+
35
+ The following hyperparameters were used during training:
36
+ - learning_rate: 5e-05
37
+ - train_batch_size: 2
38
+ - eval_batch_size: 8
39
+ - seed: 42
40
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
41
+ - lr_scheduler_type: linear
42
+ - training_steps: 300
43
+
44
+ ### Training results
45
+
46
+
47
+
48
+ ### Framework versions
49
+
50
+ - Transformers 4.33.0.dev0
51
+ - Pytorch 2.0.1+cu118
52
+ - Datasets 2.14.4
53
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Shivam098/opt-translation",
3
+ "_num_labels": 3,
4
+ "activation_dropout": 0.0,
5
+ "activation_function": "relu",
6
+ "add_bias_logits": false,
7
+ "add_final_layer_norm": true,
8
+ "architectures": [
9
+ "MBartForConditionalGeneration"
10
+ ],
11
+ "attention_dropout": 0.0,
12
+ "bos_token_id": 0,
13
+ "classif_dropout": 0.0,
14
+ "classifier_dropout": 0.0,
15
+ "d_model": 1024,
16
+ "decoder_attention_heads": 16,
17
+ "decoder_ffn_dim": 4096,
18
+ "decoder_layerdrop": 0.0,
19
+ "decoder_layers": 12,
20
+ "decoder_start_token_id": 2,
21
+ "dropout": 0.1,
22
+ "early_stopping": true,
23
+ "encoder_attention_heads": 16,
24
+ "encoder_ffn_dim": 4096,
25
+ "encoder_layerdrop": 0.0,
26
+ "encoder_layers": 12,
27
+ "eos_token_id": 2,
28
+ "forced_eos_token_id": 2,
29
+ "gradient_checkpointing": false,
30
+ "id2label": {
31
+ "0": "LABEL_0",
32
+ "1": "LABEL_1",
33
+ "2": "LABEL_2"
34
+ },
35
+ "init_std": 0.02,
36
+ "is_encoder_decoder": true,
37
+ "label2id": {
38
+ "LABEL_0": 0,
39
+ "LABEL_1": 1,
40
+ "LABEL_2": 2
41
+ },
42
+ "max_length": 200,
43
+ "max_position_embeddings": 1024,
44
+ "model_type": "mbart",
45
+ "normalize_before": true,
46
+ "normalize_embedding": true,
47
+ "num_beams": 5,
48
+ "num_hidden_layers": 12,
49
+ "output_past": true,
50
+ "pad_token_id": 1,
51
+ "quantization_config": {
52
+ "batch_size": 1,
53
+ "bits": 4,
54
+ "block_name_to_quantize": "model.decoder.layers",
55
+ "damp_percent": 0.1,
56
+ "dataset": "c4",
57
+ "desc_act": false,
58
+ "disable_exllama": true,
59
+ "group_size": 128,
60
+ "model_seqlen": 1024,
61
+ "module_name_preceding_first_block": [
62
+ "model.shared",
63
+ "model.encoder.embed_tokens",
64
+ "model.encoder.embed_positions",
65
+ "model.encoder.layers.0.self_attn.k_proj",
66
+ "model.encoder.layers.0.self_attn.v_proj",
67
+ "model.encoder.layers.0.self_attn.q_proj",
68
+ "model.encoder.layers.0.self_attn.out_proj",
69
+ "model.encoder.layers.0.self_attn",
70
+ "model.encoder.layers.0.self_attn_layer_norm",
71
+ "model.encoder.layers.0.activation_fn",
72
+ "model.encoder.layers.0.fc1",
73
+ "model.encoder.layers.0.fc2",
74
+ "model.encoder.layers.0.final_layer_norm",
75
+ "model.encoder.layers.0",
76
+ "model.encoder.layers.1.self_attn.k_proj",
77
+ "model.encoder.layers.1.self_attn.v_proj",
78
+ "model.encoder.layers.1.self_attn.q_proj",
79
+ "model.encoder.layers.1.self_attn.out_proj",
80
+ "model.encoder.layers.1.self_attn",
81
+ "model.encoder.layers.1.self_attn_layer_norm",
82
+ "model.encoder.layers.1.activation_fn",
83
+ "model.encoder.layers.1.fc1",
84
+ "model.encoder.layers.1.fc2",
85
+ "model.encoder.layers.1.final_layer_norm",
86
+ "model.encoder.layers.1",
87
+ "model.encoder.layers.2.self_attn.k_proj",
88
+ "model.encoder.layers.2.self_attn.v_proj",
89
+ "model.encoder.layers.2.self_attn.q_proj",
90
+ "model.encoder.layers.2.self_attn.out_proj",
91
+ "model.encoder.layers.2.self_attn",
92
+ "model.encoder.layers.2.self_attn_layer_norm",
93
+ "model.encoder.layers.2.activation_fn",
94
+ "model.encoder.layers.2.fc1",
95
+ "model.encoder.layers.2.fc2",
96
+ "model.encoder.layers.2.final_layer_norm",
97
+ "model.encoder.layers.2",
98
+ "model.encoder.layers.3.self_attn.k_proj",
99
+ "model.encoder.layers.3.self_attn.v_proj",
100
+ "model.encoder.layers.3.self_attn.q_proj",
101
+ "model.encoder.layers.3.self_attn.out_proj",
102
+ "model.encoder.layers.3.self_attn",
103
+ "model.encoder.layers.3.self_attn_layer_norm",
104
+ "model.encoder.layers.3.activation_fn",
105
+ "model.encoder.layers.3.fc1",
106
+ "model.encoder.layers.3.fc2",
107
+ "model.encoder.layers.3.final_layer_norm",
108
+ "model.encoder.layers.3",
109
+ "model.encoder.layers.4.self_attn.k_proj",
110
+ "model.encoder.layers.4.self_attn.v_proj",
111
+ "model.encoder.layers.4.self_attn.q_proj",
112
+ "model.encoder.layers.4.self_attn.out_proj",
113
+ "model.encoder.layers.4.self_attn",
114
+ "model.encoder.layers.4.self_attn_layer_norm",
115
+ "model.encoder.layers.4.activation_fn",
116
+ "model.encoder.layers.4.fc1",
117
+ "model.encoder.layers.4.fc2",
118
+ "model.encoder.layers.4.final_layer_norm",
119
+ "model.encoder.layers.4",
120
+ "model.encoder.layers.5.self_attn.k_proj",
121
+ "model.encoder.layers.5.self_attn.v_proj",
122
+ "model.encoder.layers.5.self_attn.q_proj",
123
+ "model.encoder.layers.5.self_attn.out_proj",
124
+ "model.encoder.layers.5.self_attn",
125
+ "model.encoder.layers.5.self_attn_layer_norm",
126
+ "model.encoder.layers.5.activation_fn",
127
+ "model.encoder.layers.5.fc1",
128
+ "model.encoder.layers.5.fc2",
129
+ "model.encoder.layers.5.final_layer_norm",
130
+ "model.encoder.layers.5",
131
+ "model.encoder.layers.6.self_attn.k_proj",
132
+ "model.encoder.layers.6.self_attn.v_proj",
133
+ "model.encoder.layers.6.self_attn.q_proj",
134
+ "model.encoder.layers.6.self_attn.out_proj",
135
+ "model.encoder.layers.6.self_attn",
136
+ "model.encoder.layers.6.self_attn_layer_norm",
137
+ "model.encoder.layers.6.activation_fn",
138
+ "model.encoder.layers.6.fc1",
139
+ "model.encoder.layers.6.fc2",
140
+ "model.encoder.layers.6.final_layer_norm",
141
+ "model.encoder.layers.6",
142
+ "model.encoder.layers.7.self_attn.k_proj",
143
+ "model.encoder.layers.7.self_attn.v_proj",
144
+ "model.encoder.layers.7.self_attn.q_proj",
145
+ "model.encoder.layers.7.self_attn.out_proj",
146
+ "model.encoder.layers.7.self_attn",
147
+ "model.encoder.layers.7.self_attn_layer_norm",
148
+ "model.encoder.layers.7.activation_fn",
149
+ "model.encoder.layers.7.fc1",
150
+ "model.encoder.layers.7.fc2",
151
+ "model.encoder.layers.7.final_layer_norm",
152
+ "model.encoder.layers.7",
153
+ "model.encoder.layers.8.self_attn.k_proj",
154
+ "model.encoder.layers.8.self_attn.v_proj",
155
+ "model.encoder.layers.8.self_attn.q_proj",
156
+ "model.encoder.layers.8.self_attn.out_proj",
157
+ "model.encoder.layers.8.self_attn",
158
+ "model.encoder.layers.8.self_attn_layer_norm",
159
+ "model.encoder.layers.8.activation_fn",
160
+ "model.encoder.layers.8.fc1",
161
+ "model.encoder.layers.8.fc2",
162
+ "model.encoder.layers.8.final_layer_norm",
163
+ "model.encoder.layers.8",
164
+ "model.encoder.layers.9.self_attn.k_proj",
165
+ "model.encoder.layers.9.self_attn.v_proj",
166
+ "model.encoder.layers.9.self_attn.q_proj",
167
+ "model.encoder.layers.9.self_attn.out_proj",
168
+ "model.encoder.layers.9.self_attn",
169
+ "model.encoder.layers.9.self_attn_layer_norm",
170
+ "model.encoder.layers.9.activation_fn",
171
+ "model.encoder.layers.9.fc1",
172
+ "model.encoder.layers.9.fc2",
173
+ "model.encoder.layers.9.final_layer_norm",
174
+ "model.encoder.layers.9",
175
+ "model.encoder.layers.10.self_attn.k_proj",
176
+ "model.encoder.layers.10.self_attn.v_proj",
177
+ "model.encoder.layers.10.self_attn.q_proj",
178
+ "model.encoder.layers.10.self_attn.out_proj",
179
+ "model.encoder.layers.10.self_attn",
180
+ "model.encoder.layers.10.self_attn_layer_norm",
181
+ "model.encoder.layers.10.activation_fn",
182
+ "model.encoder.layers.10.fc1",
183
+ "model.encoder.layers.10.fc2",
184
+ "model.encoder.layers.10.final_layer_norm",
185
+ "model.encoder.layers.10",
186
+ "model.encoder.layers.11.self_attn.k_proj",
187
+ "model.encoder.layers.11.self_attn.v_proj",
188
+ "model.encoder.layers.11.self_attn.q_proj",
189
+ "model.encoder.layers.11.self_attn.out_proj",
190
+ "model.encoder.layers.11.self_attn",
191
+ "model.encoder.layers.11.self_attn_layer_norm",
192
+ "model.encoder.layers.11.activation_fn",
193
+ "model.encoder.layers.11.fc1",
194
+ "model.encoder.layers.11.fc2",
195
+ "model.encoder.layers.11.final_layer_norm",
196
+ "model.encoder.layers.11",
197
+ "model.encoder.layers",
198
+ "model.encoder.layernorm_embedding",
199
+ "model.encoder.layer_norm",
200
+ "model.encoder",
201
+ "model.decoder.embed_tokens",
202
+ "model.decoder.embed_positions"
203
+ ],
204
+ "pad_token_id": null,
205
+ "quant_method": "gptq",
206
+ "sym": true,
207
+ "tokenizer": null,
208
+ "true_sequential": true,
209
+ "use_cuda_fp16": true
210
+ },
211
+ "scale_embedding": true,
212
+ "static_position_embeddings": false,
213
+ "tokenizer_class": "MBart50Tokenizer",
214
+ "torch_dtype": "float16",
215
+ "transformers_version": "4.33.0.dev0",
216
+ "use_cache": true,
217
+ "vocab_size": 250054
218
+ }
generation_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "decoder_start_token_id": 2,
5
+ "early_stopping": true,
6
+ "eos_token_id": 2,
7
+ "forced_eos_token_id": 2,
8
+ "max_length": 200,
9
+ "num_beams": 5,
10
+ "pad_token_id": 1,
11
+ "transformers_version": "4.33.0.dev0"
12
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84875a3830a144e79616e806032fd39e1ceb56e4f731efc07693d74011dadc5d
3
+ size 925140285
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:098050078b86e9e2f24c87d8529331a2c16f85d801b54f544323bb998597e9c2
3
+ size 4155