File size: 964 Bytes
0cc5738 |
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 28 29 30 31 32 33 34 |
---
license: apache-2.0
language:
- en
metrics:
- bleu
- rouge
base_model:
- facebook/bart-large-cnn
pipeline_tag: summarization
tags:
- medical
---
# My Summarization Model 📝
## Model Description
This model is a fine-tuned version of `facebook/bart-large-cnn` on medical text data. It is designed for text summarization tasks and can generate concise summaries for lengthy medical documents, making it useful for healthcare professionals and researchers.
### Model Type
- **Architecture**: BART (Bidirectional and Auto-Regressive Transformers)
- **Pre-trained Base Model**: [facebook/bart-large-cnn](https://huggingface.co/facebook/bart-large-cnn)
## How to Use
You can use the model directly with the Hugging Face `transformers` library:
```python
from transformers import pipeline
summarizer = pipeline("summarization", model="Abdelrahman-Hassan-1/Medical-RAG-Model")
text = """Your long medical text here."""
summary = summarizer(text)
print(summary) |