DrishtiSharma
commited on
Commit
•
1e1ce4a
1
Parent(s):
747418c
End of training
Browse files- README.md +66 -0
- generation_config.json +11 -0
- pytorch_model.bin +1 -1
README.md
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: facebook/mbart-large-50
|
4 |
+
tags:
|
5 |
+
- translation
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- bleu
|
9 |
+
- rouge
|
10 |
+
model-index:
|
11 |
+
- name: mbart-large-50-en-es-translation-lr-1e-05-weight-decay-0.01
|
12 |
+
results: []
|
13 |
+
---
|
14 |
+
|
15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
# mbart-large-50-en-es-translation-lr-1e-05-weight-decay-0.01
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [facebook/mbart-large-50](https://huggingface.co/facebook/mbart-large-50) on the None dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.9547
|
23 |
+
- Bleu: 45.0896
|
24 |
+
- Rouge: {'rouge1': 0.7050843983318068, 'rouge2': 0.5221826018405332, 'rougeL': 0.6843669248955093, 'rougeLsum': 0.6845499780252107}
|
25 |
+
|
26 |
+
## Model description
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Intended uses & limitations
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training and evaluation data
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training procedure
|
39 |
+
|
40 |
+
### Training hyperparameters
|
41 |
+
|
42 |
+
The following hyperparameters were used during training:
|
43 |
+
- learning_rate: 1e-05
|
44 |
+
- train_batch_size: 8
|
45 |
+
- eval_batch_size: 8
|
46 |
+
- seed: 42
|
47 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
48 |
+
- lr_scheduler_type: linear
|
49 |
+
- num_epochs: 4
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss | Bleu | Rouge |
|
54 |
+
|:-------------:|:-----:|:-----:|:---------------:|:-------:|:---------------------------------------------------------------------------------------------------------------------------:|
|
55 |
+
| 1.4571 | 1.0 | 4500 | 1.0262 | 41.9188 | {'rouge1': 0.6701489298042851, 'rouge2': 0.4850120961190509, 'rougeL': 0.6479081216501843, 'rougeLsum': 0.6480345623292922} |
|
56 |
+
| 0.889 | 2.0 | 9000 | 0.9559 | 44.3378 | {'rouge1': 0.6920481616267358, 'rouge2': 0.5087283264258592, 'rougeL': 0.6709294966142768, 'rougeLsum': 0.6710449317682404} |
|
57 |
+
| 0.7134 | 3.0 | 13500 | 0.9416 | 44.9705 | {'rouge1': 0.7026762914671131, 'rouge2': 0.5192700210995049, 'rougeL': 0.6817974408692513, 'rougeLsum': 0.6819680202609157} |
|
58 |
+
| 0.6098 | 4.0 | 18000 | 0.9547 | 45.1741 | {'rouge1': 0.7051668954804624, 'rouge2': 0.5222186626492409, 'rougeL': 0.6844002112351866, 'rougeLsum': 0.6845851183829141} |
|
59 |
+
|
60 |
+
|
61 |
+
### Framework versions
|
62 |
+
|
63 |
+
- Transformers 4.33.0.dev0
|
64 |
+
- Pytorch 2.0.1+cu118
|
65 |
+
- Datasets 2.14.4.dev0
|
66 |
+
- Tokenizers 0.13.3
|
generation_config.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 0,
|
3 |
+
"decoder_start_token_id": 2,
|
4 |
+
"early_stopping": true,
|
5 |
+
"eos_token_id": 2,
|
6 |
+
"forced_eos_token_id": 2,
|
7 |
+
"max_length": 200,
|
8 |
+
"num_beams": 5,
|
9 |
+
"pad_token_id": 1,
|
10 |
+
"transformers_version": "4.33.0.dev0"
|
11 |
+
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2444694045
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7673fa0d02300b887a80a2bf03274912faaec110d47754d3d0e916996ea113ab
|
3 |
size 2444694045
|