Training complete
Browse files
README.md
ADDED
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: facebook/bart-large-cnn
|
4 |
+
tags:
|
5 |
+
- summarization
|
6 |
+
- generated_from_trainer
|
7 |
+
datasets:
|
8 |
+
- tldr_news
|
9 |
+
metrics:
|
10 |
+
- rouge
|
11 |
+
model-index:
|
12 |
+
- name: my_summ
|
13 |
+
results:
|
14 |
+
- task:
|
15 |
+
name: Sequence-to-sequence Language Modeling
|
16 |
+
type: text2text-generation
|
17 |
+
dataset:
|
18 |
+
name: tldr_news
|
19 |
+
type: tldr_news
|
20 |
+
config: all
|
21 |
+
split: test
|
22 |
+
args: all
|
23 |
+
metrics:
|
24 |
+
- name: Rouge1
|
25 |
+
type: rouge
|
26 |
+
value: 0.21647643221587914
|
27 |
+
---
|
28 |
+
|
29 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
30 |
+
should probably proofread and complete it, then remove this comment. -->
|
31 |
+
|
32 |
+
# my_summ
|
33 |
+
|
34 |
+
This model is a fine-tuned version of [facebook/bart-large-cnn](https://huggingface.co/facebook/bart-large-cnn) on the tldr_news dataset.
|
35 |
+
It achieves the following results on the evaluation set:
|
36 |
+
- Loss: 4.1133
|
37 |
+
- Rouge1: 0.2165
|
38 |
+
- Rouge2: 0.0872
|
39 |
+
- Rougel: 0.1846
|
40 |
+
- Rougelsum: 0.1881
|
41 |
+
|
42 |
+
## Model description
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Intended uses & limitations
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Training and evaluation data
|
51 |
+
|
52 |
+
More information needed
|
53 |
+
|
54 |
+
## Training procedure
|
55 |
+
|
56 |
+
### Training hyperparameters
|
57 |
+
|
58 |
+
The following hyperparameters were used during training:
|
59 |
+
- learning_rate: 5.6e-05
|
60 |
+
- train_batch_size: 8
|
61 |
+
- eval_batch_size: 8
|
62 |
+
- seed: 42
|
63 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
64 |
+
- lr_scheduler_type: linear
|
65 |
+
- num_epochs: 8
|
66 |
+
|
67 |
+
### Training results
|
68 |
+
|
69 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum |
|
70 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|
|
71 |
+
| 2.2607 | 1.0 | 125 | 2.2706 | 0.2318 | 0.0950 | 0.1983 | 0.2024 |
|
72 |
+
| 1.1698 | 2.0 | 250 | 2.3624 | 0.2150 | 0.0848 | 0.1828 | 0.1856 |
|
73 |
+
| 0.5798 | 3.0 | 375 | 2.8369 | 0.2144 | 0.0838 | 0.1802 | 0.1848 |
|
74 |
+
| 0.2813 | 4.0 | 500 | 3.3045 | 0.2112 | 0.0803 | 0.1788 | 0.1821 |
|
75 |
+
| 0.1544 | 5.0 | 625 | 3.6092 | 0.2096 | 0.0793 | 0.1780 | 0.1838 |
|
76 |
+
| 0.0862 | 6.0 | 750 | 3.7615 | 0.2168 | 0.0848 | 0.1851 | 0.1881 |
|
77 |
+
| 0.0518 | 7.0 | 875 | 3.9039 | 0.2180 | 0.0861 | 0.1842 | 0.1873 |
|
78 |
+
| 0.0253 | 8.0 | 1000 | 4.1133 | 0.2165 | 0.0872 | 0.1846 | 0.1881 |
|
79 |
+
|
80 |
+
|
81 |
+
### Framework versions
|
82 |
+
|
83 |
+
- Transformers 4.35.2
|
84 |
+
- Pytorch 2.1.0+cu121
|
85 |
+
- Datasets 2.16.1
|
86 |
+
- Tokenizers 0.15.0
|
generation_config.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 0,
|
3 |
+
"decoder_start_token_id": 2,
|
4 |
+
"early_stopping": true,
|
5 |
+
"eos_token_id": 2,
|
6 |
+
"forced_bos_token_id": 0,
|
7 |
+
"forced_eos_token_id": 2,
|
8 |
+
"length_penalty": 2.0,
|
9 |
+
"max_length": 142,
|
10 |
+
"min_length": 56,
|
11 |
+
"no_repeat_ngram_size": 3,
|
12 |
+
"num_beams": 4,
|
13 |
+
"pad_token_id": 1,
|
14 |
+
"transformers_version": "4.35.2"
|
15 |
+
}
|
runs/Jan24_17-08-27_294ba0992ef9/events.out.tfevents.1706116352.294ba0992ef9.2260.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b9ded811dde11494ba7c94d295abd4baf554882519a805a08a4ea1cf6605ec3a
|
3 |
+
size 10727
|
runs/Jan24_17-08-27_294ba0992ef9/events.out.tfevents.1706118960.294ba0992ef9.2260.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fe2010a9da34153f56b868a7ae0fe694b1560dfc20d349431668e750b40a1fcc
|
3 |
+
size 562
|