ahmeddbahaa
commited on
Commit
•
38e0525
1
Parent(s):
03f5567
update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- summarization
|
5 |
+
- fa
|
6 |
+
- mt5
|
7 |
+
- Abstractive Summarization
|
8 |
+
- generated_from_trainer
|
9 |
+
datasets:
|
10 |
+
- pn_summary
|
11 |
+
model-index:
|
12 |
+
- name: mt5-base-finetuned-fa
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# mt5-base-finetuned-fa
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [google/mt5-base](https://huggingface.co/google/mt5-base) on the pn_summary dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 2.6477
|
24 |
+
- Rouge-1: 33.7
|
25 |
+
- Rouge-2: 21.28
|
26 |
+
- Rouge-l: 31.69
|
27 |
+
- Gen Len: 19.0
|
28 |
+
- Bertscore: 74.52
|
29 |
+
|
30 |
+
## Model description
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Intended uses & limitations
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training and evaluation data
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Training procedure
|
43 |
+
|
44 |
+
### Training hyperparameters
|
45 |
+
|
46 |
+
The following hyperparameters were used during training:
|
47 |
+
- learning_rate: 0.0005
|
48 |
+
- train_batch_size: 4
|
49 |
+
- eval_batch_size: 4
|
50 |
+
- seed: 42
|
51 |
+
- gradient_accumulation_steps: 8
|
52 |
+
- total_train_batch_size: 32
|
53 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
54 |
+
- lr_scheduler_type: linear
|
55 |
+
- lr_scheduler_warmup_steps: 250
|
56 |
+
- num_epochs: 5
|
57 |
+
- label_smoothing_factor: 0.1
|
58 |
+
|
59 |
+
### Training results
|
60 |
+
|
61 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge-1 | Rouge-2 | Rouge-l | Gen Len | Bertscore |
|
62 |
+
|:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|:-------:|:-------:|:---------:|
|
63 |
+
| 3.3828 | 1.0 | 1875 | 2.8114 | 32.17 | 19.47 | 30.12 | 18.99 | 74.25 |
|
64 |
+
| 2.8204 | 2.0 | 3750 | 2.7080 | 32.67 | 19.92 | 30.56 | 19.0 | 74.31 |
|
65 |
+
| 2.6907 | 3.0 | 5625 | 2.6724 | 33.22 | 20.44 | 31.11 | 19.0 | 74.47 |
|
66 |
+
| 2.6029 | 4.0 | 7500 | 2.6513 | 33.46 | 20.75 | 31.38 | 19.0 | 74.54 |
|
67 |
+
| 2.5414 | 5.0 | 9375 | 2.6477 | 33.68 | 20.91 | 31.62 | 19.0 | 74.58 |
|
68 |
+
|
69 |
+
|
70 |
+
### Framework versions
|
71 |
+
|
72 |
+
- Transformers 4.19.4
|
73 |
+
- Pytorch 1.11.0+cu113
|
74 |
+
- Datasets 2.2.2
|
75 |
+
- Tokenizers 0.12.1
|