Medical-RAG-Model / README.md
Abdelrahman-Hassan-1's picture
Create README.md
0cc5738 verified
---
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)