update model card README.md ab5863a
Vasireddy commited on
How to use Varshitha/flan-t5-small-finetune-medicine-v2 with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("Varshitha/flan-t5-small-finetune-medicine-v2")
model = AutoModelForSeq2SeqLM.from_pretrained("Varshitha/flan-t5-small-finetune-medicine-v2", device_map="auto")