rajpurkar/squad
Viewer • Updated • 98.2k • 154k • 363
How to use salsarra/ConfliBERT-QA with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="salsarra/ConfliBERT-QA") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("salsarra/ConfliBERT-QA")
model = AutoModelForQuestionAnswering.from_pretrained("salsarra/ConfliBERT-QA")Base model
snowood1/ConfliBERT-cont-cased