DevAibest commited on
Commit
9588452
·
1 Parent(s): 822e36d

End of training

Browse files
Files changed (3) hide show
  1. README.md +90 -0
  2. generation_config.json +16 -0
  3. pytorch_model.bin +1 -1
README.md ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: DevAibest/opus-mt-en-fr-finetuned-en-to-fr
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - opus_books
8
+ metrics:
9
+ - bleu
10
+ model-index:
11
+ - name: opus-mt-finetuned-en-to-fr
12
+ results:
13
+ - task:
14
+ name: Sequence-to-sequence Language Modeling
15
+ type: text2text-generation
16
+ dataset:
17
+ name: opus_books
18
+ type: opus_books
19
+ config: en-fr
20
+ split: train
21
+ args: en-fr
22
+ metrics:
23
+ - name: Bleu
24
+ type: bleu
25
+ value: 26.9265
26
+ ---
27
+
28
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
29
+ should probably proofread and complete it, then remove this comment. -->
30
+
31
+ # opus-mt-finetuned-en-to-fr
32
+
33
+ This model is a fine-tuned version of [DevAibest/opus-mt-en-fr-finetuned-en-to-fr](https://huggingface.co/DevAibest/opus-mt-en-fr-finetuned-en-to-fr) on the opus_books dataset.
34
+ It achieves the following results on the evaluation set:
35
+ - Loss: 1.6538
36
+ - Bleu: 26.9265
37
+ - Gen Len: 34.161
38
+
39
+ ## Model description
40
+
41
+ More information needed
42
+
43
+ ## Intended uses & limitations
44
+
45
+ More information needed
46
+
47
+ ## Training and evaluation data
48
+
49
+ More information needed
50
+
51
+ ## Training procedure
52
+
53
+ ### Training hyperparameters
54
+
55
+ The following hyperparameters were used during training:
56
+ - learning_rate: 2e-05
57
+ - train_batch_size: 32
58
+ - eval_batch_size: 32
59
+ - seed: 42
60
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
61
+ - lr_scheduler_type: linear
62
+ - num_epochs: 15
63
+
64
+ ### Training results
65
+
66
+ | Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
67
+ |:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|
68
+ | No log | 1.0 | 398 | 1.6540 | 26.2729 | 34.3078 |
69
+ | 1.764 | 2.0 | 796 | 1.6364 | 26.484 | 34.4081 |
70
+ | 1.6142 | 3.0 | 1194 | 1.6313 | 26.533 | 34.273 |
71
+ | 1.5079 | 4.0 | 1592 | 1.6291 | 26.6765 | 34.1672 |
72
+ | 1.5079 | 5.0 | 1990 | 1.6323 | 26.8527 | 34.0352 |
73
+ | 1.4218 | 6.0 | 2388 | 1.6314 | 26.8336 | 34.1142 |
74
+ | 1.3423 | 7.0 | 2786 | 1.6316 | 26.8037 | 34.2929 |
75
+ | 1.2812 | 8.0 | 3184 | 1.6361 | 26.9189 | 34.2471 |
76
+ | 1.2421 | 9.0 | 3582 | 1.6369 | 26.9398 | 34.2674 |
77
+ | 1.2421 | 10.0 | 3980 | 1.6413 | 26.9029 | 34.2462 |
78
+ | 1.1991 | 11.0 | 4378 | 1.6445 | 26.9221 | 34.1811 |
79
+ | 1.1562 | 12.0 | 4776 | 1.6495 | 26.8817 | 34.249 |
80
+ | 1.1392 | 13.0 | 5174 | 1.6517 | 26.8928 | 34.1777 |
81
+ | 1.1194 | 14.0 | 5572 | 1.6531 | 26.8547 | 34.2342 |
82
+ | 1.1194 | 15.0 | 5970 | 1.6538 | 26.9265 | 34.161 |
83
+
84
+
85
+ ### Framework versions
86
+
87
+ - Transformers 4.33.0
88
+ - Pytorch 2.0.0
89
+ - Datasets 2.1.0
90
+ - Tokenizers 0.13.3
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.33.0"
16
+ }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:67f6b3c5fb3ff0eb22ad3a96af539da401a6e61c0b82d0b9ed78896581b2a956
3
  size 298763205
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6153907bd8a7c20712d7fed6ea6578551d2664a69b3bf85124c48206db260ad1
3
  size 298763205