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-BatchSize8-lr1e-4
|
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-BatchSize8-lr1e-4
|
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.0744
|
22 |
+
- Rouge1: 0.7931
|
23 |
+
- Rouge2: 0.657
|
24 |
+
- Rougel: 0.7873
|
25 |
+
- Sacrebleu: 56.7266
|
26 |
+
- Gen Len: 34.9093
|
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: 0.0001
|
46 |
+
- train_batch_size: 8
|
47 |
+
- eval_batch_size: 8
|
48 |
+
- seed: 42
|
49 |
+
- gradient_accumulation_steps: 2
|
50 |
+
- total_train_batch_size: 16
|
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 |
+
| 5.5149 | 1.0 | 104 | 3.9238 | 0.6383 | 0.4681 | 0.6268 | 40.2914 | 36.6301 |
|
61 |
+
| 0.0989 | 2.0 | 209 | 0.0807 | 0.6925 | 0.5318 | 0.6852 | 46.8337 | 34.9093 |
|
62 |
+
| 0.0666 | 3.0 | 313 | 0.0679 | 0.7014 | 0.5448 | 0.6936 | 47.4249 | 34.9093 |
|
63 |
+
| 0.0464 | 4.0 | 418 | 0.0765 | 0.698 | 0.5344 | 0.6859 | 46.7217 | 34.9093 |
|
64 |
+
| 0.0344 | 5.0 | 522 | 0.0668 | 0.7604 | 0.6085 | 0.7526 | 49.5391 | 34.9117 |
|
65 |
+
| 0.0168 | 6.0 | 627 | 0.0652 | 0.7825 | 0.6391 | 0.7763 | 53.7888 | 34.9093 |
|
66 |
+
| 0.0116 | 7.0 | 731 | 0.0674 | 0.7911 | 0.6558 | 0.7856 | 55.8977 | 34.9093 |
|
67 |
+
| 0.0036 | 7.96 | 832 | 0.0744 | 0.7931 | 0.657 | 0.7873 | 56.7266 | 34.9093 |
|
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 |
+
}
|