sriram-sanjeev9s commited on
Commit
ce661e7
1 Parent(s): efcb29e

Training in progress, step 500

Browse files
README.md ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: Helsinki-NLP/opus-mt-en-fr
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - bleu
8
+ model-index:
9
+ - name: opus-mt-en-fr_wmt14_En_Fr_1million_20epochs_v2
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # opus-mt-en-fr_wmt14_En_Fr_1million_20epochs_v2
17
+
18
+ This model is a fine-tuned version of [Helsinki-NLP/opus-mt-en-fr](https://huggingface.co/Helsinki-NLP/opus-mt-en-fr) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 6.7777
21
+ - Bleu: 0.0052
22
+ - Gen Len: 511.0
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 0.002
42
+ - train_batch_size: 60
43
+ - eval_batch_size: 60
44
+ - seed: 42
45
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
+ - lr_scheduler_type: linear
47
+ - num_epochs: 20
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
52
+ |:-------------:|:-----:|:-----:|:---------------:|:------:|:-------:|
53
+ | 2.0731 | 1.0 | 1667 | 4.9161 | 0.0 | 511.0 |
54
+ | 2.0281 | 2.0 | 3334 | 4.0396 | 0.0001 | 511.0 |
55
+ | 2.0226 | 3.0 | 5001 | 6.5526 | 0.0 | 511.0 |
56
+ | 1.9991 | 4.0 | 6668 | 4.6473 | 0.0001 | 511.0 |
57
+ | 1.991 | 5.0 | 8335 | 3.9736 | 0.0052 | 511.0 |
58
+ | 1.9749 | 6.0 | 10002 | 4.4897 | 0.0052 | 511.0 |
59
+ | 1.983 | 7.0 | 11669 | 5.7620 | 0.0052 | 511.0 |
60
+ | 1.9791 | 8.0 | 13336 | 5.9320 | 0.0 | 511.0 |
61
+ | 1.9494 | 9.0 | 15003 | 3.9506 | 0.0052 | 511.0 |
62
+ | 1.9482 | 10.0 | 16670 | 5.2391 | 0.0052 | 511.0 |
63
+ | 1.9328 | 11.0 | 18337 | 3.7053 | 0.0052 | 511.0 |
64
+ | 1.9201 | 12.0 | 20004 | 5.6524 | 0.0052 | 511.0 |
65
+ | 1.9242 | 13.0 | 21671 | 4.2519 | 0.0 | 511.0 |
66
+ | 1.9132 | 14.0 | 23338 | 6.6592 | 0.0052 | 511.0 |
67
+ | 1.9154 | 15.0 | 25005 | 6.1263 | 0.0052 | 511.0 |
68
+ | 1.9052 | 16.0 | 26672 | 7.1135 | 0.0052 | 511.0 |
69
+ | 1.9128 | 17.0 | 28339 | 6.1183 | 0.0 | 511.0 |
70
+ | 1.9015 | 18.0 | 30006 | 7.0262 | 0.0052 | 511.0 |
71
+ | 1.9025 | 19.0 | 31673 | 6.0193 | 0.0052 | 511.0 |
72
+ | 1.9015 | 20.0 | 33340 | 6.7777 | 0.0052 | 511.0 |
73
+
74
+
75
+ ### Framework versions
76
+
77
+ - Transformers 4.32.1
78
+ - Pytorch 1.12.1
79
+ - Datasets 2.18.0
80
+ - Tokenizers 0.13.2
config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Helsinki-NLP/opus-mt-en-fr",
3
+ "_num_labels": 3,
4
+ "activation_dropout": 0.0,
5
+ "activation_function": "swish",
6
+ "add_bias_logits": false,
7
+ "add_final_layer_norm": false,
8
+ "architectures": [
9
+ "MarianMTModel"
10
+ ],
11
+ "attention_dropout": 0.0,
12
+ "bad_words_ids": [
13
+ [
14
+ 59513
15
+ ]
16
+ ],
17
+ "bos_token_id": 0,
18
+ "classif_dropout": 0.0,
19
+ "classifier_dropout": 0.0,
20
+ "d_model": 512,
21
+ "decoder_attention_heads": 8,
22
+ "decoder_ffn_dim": 2048,
23
+ "decoder_layerdrop": 0.0,
24
+ "decoder_layers": 6,
25
+ "decoder_start_token_id": 59513,
26
+ "decoder_vocab_size": 59514,
27
+ "dropout": 0.1,
28
+ "encoder_attention_heads": 8,
29
+ "encoder_ffn_dim": 2048,
30
+ "encoder_layerdrop": 0.0,
31
+ "encoder_layers": 6,
32
+ "eos_token_id": 0,
33
+ "forced_eos_token_id": 0,
34
+ "gradient_checkpointing": false,
35
+ "id2label": {
36
+ "0": "LABEL_0",
37
+ "1": "LABEL_1",
38
+ "2": "LABEL_2"
39
+ },
40
+ "init_std": 0.02,
41
+ "is_encoder_decoder": true,
42
+ "label2id": {
43
+ "LABEL_0": 0,
44
+ "LABEL_1": 1,
45
+ "LABEL_2": 2
46
+ },
47
+ "max_length": 512,
48
+ "max_position_embeddings": 512,
49
+ "model_type": "marian",
50
+ "normalize_before": false,
51
+ "normalize_embedding": false,
52
+ "num_beams": 4,
53
+ "num_hidden_layers": 6,
54
+ "pad_token_id": 59513,
55
+ "scale_embedding": true,
56
+ "share_encoder_decoder_embeddings": true,
57
+ "static_position_embeddings": true,
58
+ "torch_dtype": "float32",
59
+ "transformers_version": "4.32.1",
60
+ "use_cache": true,
61
+ "vocab_size": 59514
62
+ }
generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 59513
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 59513,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 59513,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.32.1"
16
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9883968364550ff3198cbfbba93d742940e95b40e5a4b810cdad59ac6a4476e
3
+ size 298761157
source.spm ADDED
Binary file (778 kB). View file
 
special_tokens_map.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "eos_token": "</s>",
3
+ "pad_token": "<pad>",
4
+ "unk_token": "<unk>"
5
+ }
target.spm ADDED
Binary file (802 kB). View file
 
tokenizer_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
3
+ "eos_token": "</s>",
4
+ "model_max_length": 512,
5
+ "pad_token": "<pad>",
6
+ "separate_vocabs": false,
7
+ "source_lang": "en",
8
+ "sp_model_kwargs": {},
9
+ "target_lang": "fr",
10
+ "tokenizer_class": "MarianTokenizer",
11
+ "unk_token": "<unk>"
12
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a85988ac4230d83baebb80bd760557e7b857e28e6afd60bd35313c2de295d26
3
+ size 4335
vocab.json ADDED
The diff for this file is too large to render. See raw diff