Question Answering
Transformers
PyTorch
English
t5
text2text-generation
medical
fusion-in-decoder
text-generation-inference
Instructions to use disi-unibo-nlp/MedGENIE-fid-flan-t5-base-medqa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use disi-unibo-nlp/MedGENIE-fid-flan-t5-base-medqa with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="disi-unibo-nlp/MedGENIE-fid-flan-t5-base-medqa")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("disi-unibo-nlp/MedGENIE-fid-flan-t5-base-medqa") model = AutoModelForSeq2SeqLM.from_pretrained("disi-unibo-nlp/MedGENIE-fid-flan-t5-base-medqa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K