Commit ·
0a07083
1
Parent(s): 517da43
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
Model based on BERT, employed in a regression task to predict the Rouge-2 of a sentence with respect to the highlights of the paper.
|
| 7 |
+
Starting from the model proposed with the paper [morenolq/thext-ai-scibert](https://huggingface.co/morenolq/thext-cs-scibert) we performed an additional
|
| 8 |
+
fine-tuning contextualizing the sentence with our custom context, namely PCE-best. The additional training epoch was performed on CSPubSumm (Ed Collins, et al. "A supervised approach to extractive summarisation of scientific papers.".
|
| 9 |
+
|
| 10 |
+
You can find more details in the [GitHub repo](https://github.com/nicolovergaro/DNLP_project).
|
| 11 |
+
|
| 12 |
+
# Usage
|
| 13 |
+
Tis checkpoint should be loaded into `BertForSequenceClassification.from_pretrained`. See the [BERT docs](https://huggingface.co/docs/transformers/v4.26.1/en/model_doc/bert#transformers.BertForSequenceClassification) for more information.
|
| 14 |
+
|
| 15 |
+
# Metrics
|
| 16 |
+
We tested the model on CSPubSumm with the following results:
|
| 17 |
+
|
| 18 |
+
| | CSPubSumm |
|
| 19 |
+
|:-----------:|:---------:|
|
| 20 |
+
| Rouge-1 F1 | 0.3738 |
|
| 21 |
+
| Rouge-2 F1 | 0.1613 |
|
| 22 |
+
| Rouge-L F1 | 0.3443 |
|