# Conversational QA
This framework is trained on the [CoQA dataset](https://stanfordnlp.github.io/coqa/).


# Install
pip install conversation-qa


# Example 
```python

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)
```

{}
transformers pytorch gpt2 text-generation doi:10.57967/hf/0010 autotrain_compatible endpoints_compatible text-generation-inference region:us
TAGS
#transformers #pytorch #gpt2 #text-generation #doi-10.57967/hf/0010 #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us 

# Conversational QA
This framework is trained on the CoQA dataset.


# Install
pip install conversation-qa


# Example 


# Conversational QA
This framework is trained on the CoQA dataset. # Install
pip install conversation-qa # Example
TAGS
#transformers #pytorch #gpt2 #text-generation #doi-10.57967/hf/0010 #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us 
 # Conversational QA
This framework is trained on the CoQA dataset. # Install
pip install conversation-qa # Example
passage: TAGS
#transformers #pytorch #gpt2 #text-generation #doi-10.57967/hf/0010 #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us 
# Conversational QA
This framework is trained on the CoQA dataset.# Install
pip install conversation-qa# Example