bert-large-finetuned-squad2

phiyodr
Pregunta y respuesta

Este modelo se basa en bert-large-uncased y fue ajustado en SQuAD2.0. Los artículos correspondientes se pueden encontrar aquí (modelo) y aquí (datos).

Como usar

from transformers.pipelines import pipeline

model_name = "phiyodr/bert-large-finetuned-squad2"
nlp = pipeline('question-answering', model=model_name, tokenizer=model_name)
inputs = {
'question': 'What discipline did Winkelmann create?',
'context': 'Johann Joachim Winckelmann was a German art historian and archaeologist. He was a pioneering Hellenist who first articulated the difference between Greek, Greco-Roman and Roman art. "The prophet and founding hero of modern archaeology", Winckelmann was one of the founders of scientific archaeology and first applied the categories of style on a large, systematic basis to the history of art. '
}
nlp(inputs)

Funcionalidades

Responder preguntas
Transformers
PyTorch
JAX
squad2
Inglés

Casos de uso

Respuestas de preguntas
Tareas de comprensión de lectura
Aplicaciones de intervención automática en textos