Commit
·
be43789
1
Parent(s):
90e2a29
Update README.md
Browse files
README.md
CHANGED
@@ -1,17 +1,59 @@
|
|
1 |
---
|
2 |
-
|
3 |
-
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
---
|
6 |
|
7 |
|
8 |
# Problem Statment:
|
9 |
|
10 |
-
Given a news article, generate a summary of two-to-three sentences and a headline for the article. The summary should be abstractive rather than extractive.
|
|
|
11 |
|
12 |
|
13 |
# Model Description
|
14 |
|
15 |
-
|
|
|
|
|
|
|
|
|
|
|
16 |
|
17 |
|
|
|
1 |
---
|
2 |
+
language: en
|
3 |
+
tags:
|
4 |
+
- abstractive summarization
|
5 |
+
model-index:
|
6 |
+
- name: kubershahi/pegasus-inshorts
|
7 |
+
results:
|
8 |
+
- task:
|
9 |
+
type: abstractitive summarization
|
10 |
+
name: abstractive summarization
|
11 |
+
dataset:
|
12 |
+
name: inshorts
|
13 |
+
type: inshorts
|
14 |
+
config: inshorts
|
15 |
+
split: train
|
16 |
+
metrics:
|
17 |
+
- name: ROUGE-1
|
18 |
+
type: rouge
|
19 |
+
value: 4.2525
|
20 |
+
verified: true
|
21 |
+
- name: ROUGE-2
|
22 |
+
type: rouge
|
23 |
+
value: 4.2525
|
24 |
+
verified: true
|
25 |
+
- name: ROUGE-L
|
26 |
+
type: rouge
|
27 |
+
value: 17.4469
|
28 |
+
verified: true
|
29 |
+
- name: ROUGE-LSUM
|
30 |
+
type: rouge
|
31 |
+
value: 18.8907
|
32 |
+
verified: true
|
33 |
+
- name: loss
|
34 |
+
type: loss
|
35 |
+
value: 3.0317161083221436
|
36 |
+
verified: true
|
37 |
+
- name: gen_len
|
38 |
+
type: gen_len
|
39 |
+
value: 20.3122
|
40 |
+
verified: true
|
41 |
---
|
42 |
|
43 |
|
44 |
# Problem Statment:
|
45 |
|
46 |
+
Given a news article, generate a summary of two-to-three sentences and a headline for the article. The summary should be abstractive rather than extractive.
|
47 |
+
In abstractive summarization, new sentences are generated as part of the summary and the sentences in the summary might not be present in the news article.
|
48 |
|
49 |
|
50 |
# Model Description
|
51 |
|
52 |
+
This model builds on the [google/pegasus-large](https://huggingface.co/google/pegasus-large) model by finetuning it on a custom summary-headline dataset called [inshorts](https://github.com/kubershahi/ashoka-aml/blob/master/dataset/news_headline.csv).
|
53 |
+
After finetuning, to generate an appropriate headline of an article, get the summary of the article first from the pegasus-large model and then pass the summary through this model.
|
54 |
+
The two-way approach was taken to get apt headline from summary rather then generating the headline from the pegasus-large itself.
|
55 |
+
|
56 |
+
|
57 |
+
For more details about the project, click [here](https://github.com/kubershahi/ashoka-aml).
|
58 |
|
59 |
|