Edit model card
YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/model-cards#model-card-metadata)

Conversational QA

This framework is trained on the CoQA dataset.


pip install conversation-qa


from conversation_qa import QA, Dialogue

qa = QA("fractalego/conversation-qa")

dialogue = Dialogue()
dialogue.add_dialogue_pair("Where was the cat?", "The fence.")

text = "A white cat is on the fence."
query = "What color is it?"
qa.get_answer(text, dialogue.get_text(), query)
Downloads last month