How to use rooftopcoder/bert-base-uncased-coqa with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="rooftopcoder/bert-base-uncased-coqa")
# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("rooftopcoder/bert-base-uncased-coqa") model = AutoModelForQuestionAnswering.from_pretrained("rooftopcoder/bert-base-uncased-coqa")
What is a pickle import?
How to fix it?