armanc/scientific_papers
Updated • 4.79k • 175
How to use jaimik69/t5-small-pubmed with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("jaimik69/t5-small-pubmed")
model = AutoModelForSeq2SeqLM.from_pretrained("jaimik69/t5-small-pubmed")This is a T5-Small Model trained of pubmed dataset of articles and abstracts.