Understand the FinanceBench dataset structure
mainFinanceBench is a benchmark for evaluating LLMs on open-book financial question answering. The open-source sample contains 150 annotated examples. The dataset is composed of two primary JSONL files located in the /data/ directory and corresponding source PDF documents in /pdfs/.
financebench_open_source.jsonl
This file contains the questions and gold answers. Each record includes:
financebench_id(int): Unique identifier.question(str): The question to be answered.answer(str): Human-annotated gold answer.dataset_subset_label(str): Identifies if the question is "OPEN_SOURCE" or "CLOSED_SOURCE".evidence(list[dict]): A list ofEvidenceDictobjects containing:evidence_text(str): Extracted text (sentence, paragraph, or page).evidence_doc_name(str): Identifier of the document containing the evidence.evidence_page_num(int): Zero-indexed page number.evidence_text_full_page(str): The full page extract containing the evidence.
justification(str): Human-annotated reasoning for the gold answer.question_type(str): One of'metrics-generated','domain-relevant', or'novel-generated'.question_reasoning(str): The reasoning type required.domain_question_num(str): ID for domain-relevant questions (dg01todg25), or "None".company(str): The company of interest.doc_name(str): Unique Document Identifier (Format:{COMPANY}_{PERIOD}_{TYPE}).
financebench_document_information.jsonl
This file provides metadata for the source documents:
doc_name(str): Unique Document Identifier.doc_type(str): One of"10K","10Q","8K","EARNINGS", or"10K_ANNUAL".doc_period(int): The period of the document.doc_link(str): URL to the document.company(str): The company name.comany_sector_gics(str): The company's GICS sector.