Abdelrahman-Hassan-1 commited on
Commit
0cc5738
1 Parent(s): a428af7

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +34 -0
README.md ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ metrics:
6
+ - bleu
7
+ - rouge
8
+ base_model:
9
+ - facebook/bart-large-cnn
10
+ pipeline_tag: summarization
11
+ tags:
12
+ - medical
13
+ ---
14
+ # My Summarization Model 📝
15
+
16
+ ## Model Description
17
+ 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.
18
+
19
+ ### Model Type
20
+ - **Architecture**: BART (Bidirectional and Auto-Regressive Transformers)
21
+ - **Pre-trained Base Model**: [facebook/bart-large-cnn](https://huggingface.co/facebook/bart-large-cnn)
22
+
23
+ ## How to Use
24
+
25
+ You can use the model directly with the Hugging Face `transformers` library:
26
+
27
+ ```python
28
+ from transformers import pipeline
29
+
30
+ summarizer = pipeline("summarization", model="Abdelrahman-Hassan-1/Medical-RAG-Model")
31
+
32
+ text = """Your long medical text here."""
33
+ summary = summarizer(text)
34
+ print(summary)