sriram-sanjeev9s
commited on
Commit
•
c0f118b
1
Parent(s):
c737c00
Model save
Browse files- README.md +80 -0
- generation_config.json +16 -0
- pytorch_model.bin +1 -1
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-finetuned-en-to-fr
|
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-finetuned-en-to-fr
|
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: 1.4931
|
21 |
+
- Bleu: 30.5787
|
22 |
+
- Gen Len: 29.696
|
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: 2e-05
|
42 |
+
- train_batch_size: 64
|
43 |
+
- eval_batch_size: 64
|
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 |
+
| 1.1697 | 1.0 | 1563 | 1.2757 | 33.5938 | 29.3857 |
|
54 |
+
| 1.11 | 2.0 | 3126 | 1.2955 | 33.1752 | 29.5413 |
|
55 |
+
| 1.0667 | 3.0 | 4689 | 1.3156 | 32.8594 | 29.6203 |
|
56 |
+
| 1.0229 | 4.0 | 6252 | 1.3336 | 32.3786 | 29.5663 |
|
57 |
+
| 0.9978 | 5.0 | 7815 | 1.3555 | 32.2937 | 29.5277 |
|
58 |
+
| 0.9671 | 6.0 | 9378 | 1.3709 | 31.914 | 29.5797 |
|
59 |
+
| 0.9434 | 7.0 | 10941 | 1.3889 | 31.7777 | 29.5977 |
|
60 |
+
| 0.9238 | 8.0 | 12504 | 1.4028 | 31.6003 | 29.6357 |
|
61 |
+
| 0.9005 | 9.0 | 14067 | 1.4189 | 31.3266 | 29.5643 |
|
62 |
+
| 0.8862 | 10.0 | 15630 | 1.4310 | 31.0866 | 29.532 |
|
63 |
+
| 0.864 | 11.0 | 17193 | 1.4410 | 30.9667 | 29.7047 |
|
64 |
+
| 0.8564 | 12.0 | 18756 | 1.4514 | 30.7383 | 29.6737 |
|
65 |
+
| 0.8389 | 13.0 | 20319 | 1.4622 | 30.7829 | 29.6223 |
|
66 |
+
| 0.8311 | 14.0 | 21882 | 1.4674 | 30.6825 | 29.553 |
|
67 |
+
| 0.8166 | 15.0 | 23445 | 1.4748 | 30.6912 | 29.6233 |
|
68 |
+
| 0.8115 | 16.0 | 25008 | 1.4823 | 30.5806 | 29.7073 |
|
69 |
+
| 0.8036 | 17.0 | 26571 | 1.4856 | 30.5507 | 29.7137 |
|
70 |
+
| 0.8 | 18.0 | 28134 | 1.4888 | 30.5392 | 29.6727 |
|
71 |
+
| 0.795 | 19.0 | 29697 | 1.4916 | 30.53 | 29.7203 |
|
72 |
+
| 0.7907 | 20.0 | 31260 | 1.4931 | 30.5787 | 29.696 |
|
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
|
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
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 298761157
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2ade1162b2f0af5937a2fec21766cf51e2b4beef1c6b3e964708c4e1ffe6fc44
|
3 |
size 298761157
|