Conversational QA.
Project description
Conversational QA
This framework is trained on the CoQA dataset.
Install
pip install conversation-qa
Example
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file conversation_qa-0.0.18-py3-none-any.whl
.
File metadata
- Download URL: conversation_qa-0.0.18-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5704017780b70240eaa9feacef7091c3f396e3643142e6fc1d1ee24beafc7af |
|
MD5 | c49adeec319c058e1b9d005fb00ddbb4 |
|
BLAKE2b-256 | e370b13bbf11bd65f7e60ff235209365503f791dd63f61ad6ba4f3f0fd72846a |