Update README.md
Browse files
README.md
CHANGED
@@ -7,30 +7,35 @@ model-index:
|
|
7 |
results: []
|
8 |
---
|
9 |
|
10 |
-
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
11 |
-
probably proofread and complete it, then remove this comment. -->
|
12 |
-
|
13 |
# bart-large-finetuned-filtered-spotify-podcast-summ
|
14 |
|
15 |
-
This model is a fine-tuned version of [facebook/bart-large-cnn](https://huggingface.co/facebook/bart-large-cnn) on
|
|
|
16 |
It achieves the following results on the evaluation set:
|
17 |
- Train Loss: 2.2967
|
18 |
- Validation Loss: 2.8316
|
19 |
- Epoch: 2
|
20 |
|
21 |
-
## Model description
|
22 |
-
|
23 |
-
More information needed
|
24 |
-
|
25 |
## Intended uses & limitations
|
26 |
|
27 |
-
|
28 |
|
29 |
## Training and evaluation data
|
30 |
|
31 |
-
|
|
|
|
|
|
|
|
|
32 |
|
33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
|
35 |
### Training hyperparameters
|
36 |
|
@@ -53,3 +58,14 @@ The following hyperparameters were used during training:
|
|
53 |
- TensorFlow 2.9.1
|
54 |
- Datasets 2.3.1
|
55 |
- Tokenizers 0.12.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
results: []
|
8 |
---
|
9 |
|
|
|
|
|
|
|
10 |
# bart-large-finetuned-filtered-spotify-podcast-summ
|
11 |
|
12 |
+
This model is a fine-tuned version of [facebook/bart-large-cnn](https://huggingface.co/facebook/bart-large-cnn) on on the [Spotify Podcast Dataset](https://arxiv.org/abs/2004.04270). Take a look to the [github repository](https://github.com/TheOnesThatWereAbroad/PodcastSummarization) of this project.
|
13 |
+
|
14 |
It achieves the following results on the evaluation set:
|
15 |
- Train Loss: 2.2967
|
16 |
- Validation Loss: 2.8316
|
17 |
- Epoch: 2
|
18 |
|
|
|
|
|
|
|
|
|
19 |
## Intended uses & limitations
|
20 |
|
21 |
+
This model is intended to be used for automatic podcast summarisation. Given the podcast transcript in input, the objective is to provide a short text summary that a user might read when deciding whether to listen to a podcast. The summary should accurately convey the content of the podcast, be human-readable, and be short enough to be quickly read on a smartphone screen.
|
22 |
|
23 |
## Training and evaluation data
|
24 |
|
25 |
+
We split the filtered brass set into train/dev sets of 69,336/7,705 episodes.
|
26 |
+
The test set consists of 1,027 episodes. Only 1025 have been used because two of them did not contain an episode description.
|
27 |
+
|
28 |
+
|
29 |
+
## How to use
|
30 |
|
31 |
+
The model can be used for the summarization as follows:
|
32 |
+
|
33 |
+
```python
|
34 |
+
from transformers import pipeline
|
35 |
+
summarizer = pipeline("summarization", model="gmurro/bart-large-finetuned-filtered-spotify-podcast-summ", tokenizer="gmurro/bart-large-finetuned-filtered-spotify-podcast-summ")
|
36 |
+
summary = summarizer(podcast_transcript, min_length=39, max_length=250)
|
37 |
+
print(summary[0]['summary_text'])
|
38 |
+
```
|
39 |
|
40 |
### Training hyperparameters
|
41 |
|
|
|
58 |
- TensorFlow 2.9.1
|
59 |
- Datasets 2.3.1
|
60 |
- Tokenizers 0.12.1
|
61 |
+
|
62 |
+
|
63 |
+
## Authors
|
64 |
+
|
65 |
+
| Name | Surname | Email | Username |
|
66 |
+
| :-------: | :-------: | :------------------------------------: | :---------------------------------------------------: |
|
67 |
+
| Giuseppe | Boezio | `[email protected]` | [_giuseppeboezio_](https://github.com/giuseppeboezio) |
|
68 |
+
| Simone | Montali | `[email protected]` | [_montali_](https://github.com/montali) |
|
69 |
+
| Giuseppe | Murro | `[email protected]` | [_gmurro_](https://github.com/gmurro) |
|
70 |
+
|
71 |
+
|