ConvFinQA: Exploring the Chain of Numerical Reasoning in Conversational Finance Question Answering
Paper • 2210.03849 • Published
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
The ConvFinQA dataset and code from EMNLP 2022 paper(https://arxiv.org/abs/2210.03849)
This dataset is provided in a DatasetDict with train and test splits:
Each split contains the following fields:
List[str]List[str]strList[List[str]]List[List[str]]strstrList[dict]strHere’s a quick look at the data format:
{
"pre_text": ["value , which may be maturity ..."],
"post_text": ["."],
"filename": "VRTX/2005/page_103.pdf",
"table_ori": [["", "2005", "2004"], ["Furniture and equipment", "$98,387", "$90,893"]],
"table": [["", "2005", "2004"], ["furniture and equipment", "$ 98387", "$ 90893"]],
"question": "What is the percent change in net loss on disposal of assets between 2004 and 2005?",
"answer": "700%",
"steps": [
{"op": "minus1-1", "arg1": "344000", "arg2": "43000", "res": "301000"},
{"op": "divide1-2", "arg1": "#0", "arg2": "43000", "res": "700%"}
],
"id": "Single_VRTX/2005/page_103.pdf-1"
}
You can load the dataset from the Hugging Face Hub using the following code:
from datasets import load_dataset
dataset = load_dataset("MehdiHosseiniMoghadam/financial-document-qa")
ref: https://github.com/czyssrs/ConvFinQA/tree/main?tab=readme-ov-file
---
You can adjust the title and citation information as necessary depending on the specific details of your dataset. Once your dataset is uploaded to the Hugging Face Hub, it will also automatically generate some sections like usage, but this card will help structure important information about your dataset!