Commit
•
50f2f55
1
Parent(s):
55f1172
Training complete
Browse files- README.md +110 -0
- generation_config.json +6 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: Falconsai/text_summarization
|
4 |
+
tags:
|
5 |
+
- summarization
|
6 |
+
- generated_from_trainer
|
7 |
+
datasets:
|
8 |
+
- cnn_dailymail
|
9 |
+
metrics:
|
10 |
+
- rouge
|
11 |
+
model-index:
|
12 |
+
- name: text_summarization-finetuned_cnn_dailymail
|
13 |
+
results:
|
14 |
+
- task:
|
15 |
+
name: Sequence-to-sequence Language Modeling
|
16 |
+
type: text2text-generation
|
17 |
+
dataset:
|
18 |
+
name: cnn_dailymail
|
19 |
+
type: cnn_dailymail
|
20 |
+
config: 1.0.0
|
21 |
+
split: validation
|
22 |
+
args: 1.0.0
|
23 |
+
metrics:
|
24 |
+
- name: Rouge1
|
25 |
+
type: rouge
|
26 |
+
value: 0.2361
|
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 |
+
# text_summarization-finetuned_cnn_dailymail
|
33 |
+
|
34 |
+
This model is a fine-tuned version of [Falconsai/text_summarization](https://huggingface.co/Falconsai/text_summarization) on the cnn_dailymail dataset.
|
35 |
+
It achieves the following results on the evaluation set:
|
36 |
+
- Loss: 2.0045
|
37 |
+
- Rouge1: 0.2361
|
38 |
+
- Rouge2: 0.11
|
39 |
+
- Rougel: 0.192
|
40 |
+
- Rougelsum: 0.2212
|
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: 2e-05
|
60 |
+
- train_batch_size: 8
|
61 |
+
- eval_batch_size: 8
|
62 |
+
- seed: 42
|
63 |
+
- gradient_accumulation_steps: 4
|
64 |
+
- total_train_batch_size: 32
|
65 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
66 |
+
- lr_scheduler_type: linear
|
67 |
+
- num_epochs: 30
|
68 |
+
|
69 |
+
### Training results
|
70 |
+
|
71 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum |
|
72 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|
|
73 |
+
| 10.8721 | 0.99 | 62 | 8.1409 | 0.2058 | 0.0891 | 0.1673 | 0.1924 |
|
74 |
+
| 6.0137 | 2.0 | 125 | 4.2590 | 0.1997 | 0.082 | 0.1581 | 0.188 |
|
75 |
+
| 3.7261 | 2.99 | 187 | 3.0481 | 0.2196 | 0.0942 | 0.178 | 0.2066 |
|
76 |
+
| 3.3164 | 4.0 | 250 | 2.9085 | 0.2281 | 0.103 | 0.1852 | 0.2148 |
|
77 |
+
| 3.1784 | 4.99 | 312 | 2.7974 | 0.2282 | 0.1057 | 0.1869 | 0.2155 |
|
78 |
+
| 3.0345 | 6.0 | 375 | 2.6655 | 0.2318 | 0.1084 | 0.189 | 0.2177 |
|
79 |
+
| 2.8946 | 6.99 | 437 | 2.5411 | 0.2332 | 0.1095 | 0.1906 | 0.2193 |
|
80 |
+
| 2.7696 | 8.0 | 500 | 2.4400 | 0.2333 | 0.111 | 0.1916 | 0.22 |
|
81 |
+
| 2.684 | 8.99 | 562 | 2.3651 | 0.2342 | 0.11 | 0.1924 | 0.2204 |
|
82 |
+
| 2.6073 | 10.0 | 625 | 2.3010 | 0.2344 | 0.111 | 0.1922 | 0.2205 |
|
83 |
+
| 2.5517 | 10.99 | 687 | 2.2522 | 0.2346 | 0.1108 | 0.1925 | 0.2207 |
|
84 |
+
| 2.4845 | 12.0 | 750 | 2.2108 | 0.2327 | 0.1098 | 0.1916 | 0.2186 |
|
85 |
+
| 2.4484 | 12.99 | 812 | 2.1788 | 0.2329 | 0.1098 | 0.1922 | 0.2187 |
|
86 |
+
| 2.4194 | 14.0 | 875 | 2.1517 | 0.2336 | 0.1087 | 0.1919 | 0.2188 |
|
87 |
+
| 2.3908 | 14.99 | 937 | 2.1290 | 0.2343 | 0.109 | 0.1918 | 0.2195 |
|
88 |
+
| 2.3657 | 16.0 | 1000 | 2.1060 | 0.2324 | 0.107 | 0.1895 | 0.2175 |
|
89 |
+
| 2.3215 | 16.99 | 1062 | 2.0887 | 0.232 | 0.1066 | 0.1895 | 0.2171 |
|
90 |
+
| 2.3236 | 18.0 | 1125 | 2.0746 | 0.2328 | 0.1075 | 0.1899 | 0.2181 |
|
91 |
+
| 2.3018 | 18.99 | 1187 | 2.0612 | 0.2337 | 0.1067 | 0.1898 | 0.2183 |
|
92 |
+
| 2.2788 | 20.0 | 1250 | 2.0500 | 0.2337 | 0.1071 | 0.1901 | 0.2187 |
|
93 |
+
| 2.2502 | 20.99 | 1312 | 2.0406 | 0.2338 | 0.1072 | 0.1897 | 0.2187 |
|
94 |
+
| 2.2652 | 22.0 | 1375 | 2.0317 | 0.2339 | 0.1072 | 0.1898 | 0.2188 |
|
95 |
+
| 2.2508 | 22.99 | 1437 | 2.0253 | 0.2332 | 0.1069 | 0.1891 | 0.2181 |
|
96 |
+
| 2.2233 | 24.0 | 1500 | 2.0192 | 0.235 | 0.1087 | 0.1908 | 0.2202 |
|
97 |
+
| 2.2225 | 24.99 | 1562 | 2.0144 | 0.2352 | 0.1095 | 0.1912 | 0.2202 |
|
98 |
+
| 2.2248 | 26.0 | 1625 | 2.0107 | 0.2353 | 0.1094 | 0.1915 | 0.2204 |
|
99 |
+
| 2.235 | 26.99 | 1687 | 2.0075 | 0.235 | 0.1092 | 0.1915 | 0.2201 |
|
100 |
+
| 2.1964 | 28.0 | 1750 | 2.0056 | 0.2359 | 0.1096 | 0.1917 | 0.2209 |
|
101 |
+
| 2.1996 | 28.99 | 1812 | 2.0047 | 0.2361 | 0.11 | 0.192 | 0.2212 |
|
102 |
+
| 2.2228 | 29.76 | 1860 | 2.0045 | 0.2361 | 0.11 | 0.192 | 0.2212 |
|
103 |
+
|
104 |
+
|
105 |
+
### Framework versions
|
106 |
+
|
107 |
+
- Transformers 4.38.0.dev0
|
108 |
+
- Pytorch 2.2.0
|
109 |
+
- Datasets 2.16.1
|
110 |
+
- Tokenizers 0.15.1
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"decoder_start_token_id": 0,
|
3 |
+
"eos_token_id": 1,
|
4 |
+
"pad_token_id": 0,
|
5 |
+
"transformers_version": "4.38.0.dev0"
|
6 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 242041896
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4ca96ed3ef86eefea37fdc5cce5db9fe6be13bca4ffd3e068752de9f31fbd8ed
|
3 |
size 242041896
|