File size: 663 Bytes
6403af6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
---
language: "en"
tags:
- summarization
- extreme summarization
---
β
## Model description
β
BartForConditionalGenerationModel for extreme summarization- creates a one line abstractive summary of a given article
β
## How to use
β
PyTorch model available
β
```python
from transformers import AutoTokenizer, AutoModelWithLMHead, pipeline
β
tokenizer = AutoTokenizer.from_pretrained("yuvraj/xSumm")
model = AutoModelWithLMHead.from_pretrained("yuvraj/xSumm")
β
xsumm = pipeline('summarization', model=model, tokenizer=tokenizer)
xsumm("<text to be summarized>")
β
## Limitations and bias
Trained on a small fraction of the xsumm training dataset
|