defunct-datasets/eli5
Updated โข 28.3k โข 52
How to use yjernite/bart_eli5 with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("yjernite/bart_eli5")
model = AutoModelForSeq2SeqLM.from_pretrained("yjernite/bart_eli5")Read the article at https://yjernite.github.io/lfqa.html and try the demo at https://huggingface.co/qa/
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("yjernite/bart_eli5") model = AutoModelForSeq2SeqLM.from_pretrained("yjernite/bart_eli5")