End of training
Browse files- README.md +75 -0
- generation_config.json +12 -0
README.md
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: facebook/mbart-large-50
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- rouge
|
8 |
+
- sacrebleu
|
9 |
+
model-index:
|
10 |
+
- name: mBART-TextSimp-LT-BatchSize4-lr5e-5
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# mBART-TextSimp-LT-BatchSize4-lr5e-5
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [facebook/mbart-large-50](https://huggingface.co/facebook/mbart-large-50) on the None dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.0720
|
22 |
+
- Rouge1: 0.7898
|
23 |
+
- Rouge2: 0.643
|
24 |
+
- Rougel: 0.783
|
25 |
+
- Sacrebleu: 57.6148
|
26 |
+
- Gen Len: 33.6014
|
27 |
+
|
28 |
+
## Model description
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Intended uses & limitations
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training and evaluation data
|
37 |
+
|
38 |
+
More information needed
|
39 |
+
|
40 |
+
## Training procedure
|
41 |
+
|
42 |
+
### Training hyperparameters
|
43 |
+
|
44 |
+
The following hyperparameters were used during training:
|
45 |
+
- learning_rate: 5e-05
|
46 |
+
- train_batch_size: 4
|
47 |
+
- eval_batch_size: 4
|
48 |
+
- seed: 42
|
49 |
+
- gradient_accumulation_steps: 2
|
50 |
+
- total_train_batch_size: 8
|
51 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
52 |
+
- lr_scheduler_type: linear
|
53 |
+
- lr_scheduler_warmup_steps: 500
|
54 |
+
- num_epochs: 8
|
55 |
+
|
56 |
+
### Training results
|
57 |
+
|
58 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Sacrebleu | Gen Len |
|
59 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:-------:|
|
60 |
+
| 0.407 | 1.0 | 209 | 0.1938 | 0.6481 | 0.4813 | 0.6379 | 42.027 | 33.6014 |
|
61 |
+
| 0.8377 | 2.0 | 418 | 0.1076 | 0.6446 | 0.4765 | 0.632 | 40.6092 | 33.7852 |
|
62 |
+
| 0.0589 | 3.0 | 627 | 0.0561 | 0.7659 | 0.6056 | 0.7581 | 51.836 | 33.6014 |
|
63 |
+
| 0.0237 | 4.0 | 836 | 0.0551 | 0.7816 | 0.6292 | 0.774 | 54.6775 | 33.6014 |
|
64 |
+
| 0.009 | 5.0 | 1045 | 0.0598 | 0.78 | 0.628 | 0.7723 | 54.4212 | 33.6014 |
|
65 |
+
| 0.0059 | 6.0 | 1254 | 0.0648 | 0.7876 | 0.6424 | 0.7805 | 56.5662 | 33.6014 |
|
66 |
+
| 0.003 | 7.0 | 1463 | 0.0694 | 0.7883 | 0.6405 | 0.781 | 57.3259 | 33.6014 |
|
67 |
+
| 0.0013 | 8.0 | 1672 | 0.0720 | 0.7898 | 0.643 | 0.783 | 57.6148 | 33.6014 |
|
68 |
+
|
69 |
+
|
70 |
+
### Framework versions
|
71 |
+
|
72 |
+
- Transformers 4.33.0
|
73 |
+
- Pytorch 2.1.2+cu121
|
74 |
+
- Datasets 2.14.4
|
75 |
+
- Tokenizers 0.13.3
|
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"
|
12 |
+
}
|