How to use aware-ai/bart-squadv2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="aware-ai/bart-squadv2")
# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("aware-ai/bart-squadv2") model = AutoModelForQuestionAnswering.from_pretrained("aware-ai/bart-squadv2")
Dear author, the link to Colab does not work. I'm currently work on something similar to this and I would really appreciate if you could enable the file for me to learn? Thank you
路 Sign up or log in to comment