Summarization
Transformers
Safetensors
English
t5
text2text-generation
multi-document
long-context
Long Context
text-generation-inference
Instructions to use yale-nlp/MDCure-FlanT5-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use yale-nlp/MDCure-FlanT5-Base with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("summarization", model="yale-nlp/MDCure-FlanT5-Base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("yale-nlp/MDCure-FlanT5-Base") model = AutoModelForSeq2SeqLM.from_pretrained("yale-nlp/MDCure-FlanT5-Base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Improve model card: Add pipeline tag and library name (#1)
Verified signature- Improve model card: Add pipeline tag and library name (c24552136243efd56f66a44f55e6afcbf0aed44a) Co-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co>95762e6
-
Update README.md
Verified signaturea47a78e -
Update README.md
Verified signaturef939559 -
Update README.md
Verified signatureeb564be -
Update README.md
Verified signature99d1b6e -
Update README.md
Verified signaturef18977c -
Update README.md
Verified signature17684ad -
Upload fig1.png
Verified signaturef9139a6 -
Delete fig1.pdf
Verified signature895b8d0 -
Update README.md
Verified signature2a141d4 -
Upload fig1.pdf
Verified signaturef30546f -
Update model card
Verified signaturede13d33 -
Upload tokenizer
Verified signaturefc4849c -
Upload T5ForConditionalGeneration
Verified signatured368bac -
initial commit
Verified signatured1d1036