update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- rouge
|
7 |
+
model-index:
|
8 |
+
- name: headline_geneartor
|
9 |
+
results: []
|
10 |
+
---
|
11 |
+
|
12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
13 |
+
should probably proofread and complete it, then remove this comment. -->
|
14 |
+
|
15 |
+
# headline_geneartor
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [facebook/bart-base](https://huggingface.co/facebook/bart-base) on the None dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 1.8033
|
20 |
+
- Rouge1: 0.4798
|
21 |
+
- Rouge2: 0.2432
|
22 |
+
- Rougel: 0.4377
|
23 |
+
- Rougelsum: 0.4375
|
24 |
+
- Gen Len: 17.7487
|
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: 2e-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 | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
54 |
+
|:-------------:|:-----:|:-----:|:---------------:|:------:|:------:|:------:|:---------:|:-------:|
|
55 |
+
| 2.1366 | 1.0 | 3557 | 1.8742 | 0.4718 | 0.2344 | 0.4309 | 0.4308 | 17.7863 |
|
56 |
+
| 1.8889 | 2.0 | 7114 | 1.8210 | 0.4741 | 0.2392 | 0.433 | 0.4329 | 17.7028 |
|
57 |
+
| 1.7281 | 3.0 | 10671 | 1.8087 | 0.4797 | 0.2417 | 0.4374 | 0.4372 | 17.7501 |
|
58 |
+
| 1.6333 | 4.0 | 14228 | 1.8033 | 0.4798 | 0.2432 | 0.4377 | 0.4375 | 17.7487 |
|
59 |
+
|
60 |
+
|
61 |
+
### Framework versions
|
62 |
+
|
63 |
+
- Transformers 4.30.2
|
64 |
+
- Pytorch 2.0.1+cu118
|
65 |
+
- Datasets 2.13.0
|
66 |
+
- Tokenizers 0.13.3
|