Instructions to use lorahub/flan_t5_large-sciq_Multiple_Choice_Question_First with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use lorahub/flan_t5_large-sciq_Multiple_Choice_Question_First with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("google/flan-t5-large") model = PeftModel.from_pretrained(base_model, "lorahub/flan_t5_large-sciq_Multiple_Choice_Question_First") - Notebooks
- Google Colab
- Kaggle
How to Use
#1
by Svangorden13 - opened
Hi, how should this model be used? If we have question="Insert question here?" and choices=["Answer A", "Answer B", "Answer C"] and model object 'model', how to we pass the question and choices parameters?