phiyodr/bart-large-finetuned-squad2

phiyodr
Pregunta y respuesta

Este modelo se basa en facebook/bart-large y fue ajustado en SQuAD2.0. Los documentos correspondientes se pueden encontrar aquí (modelo) y aquí (datos).

Como usar

from transformers.pipelines import pipeline

model_name = "phiyodr/bart-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

Transformers
PyTorch
BART
Cuestionario
Inference Endpoints
Compatibilidad con APIs de inferencia

Casos de uso

Generación de respuestas a preguntas específicas basadas en contexto
Mejora de sistemas de atención al cliente mediante la automatización de respuestas
Soporte en herramientas de análisis de datos con capacidades de generación de respuestas