File size: 2,351 Bytes
8d2aabc
 
 
 
 
 
 
 
 
0d54ef2
 
 
 
 
 
5f836c4
 
0d54ef2
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
license: mit
task_categories:
- visual-question-answering
- table-question-answering
- text-retrieval
- question-answering
size_categories:
- 10K<n<100K
---

# finRAG Datasets

This is the official Huggingface repo of the finRAG datasets published by [parsee.ai](https://parsee.ai).

More detailed information about the 3 datasets and methodology can be found in the [sub-directories for the individual datasets](https://github.com/parsee-ai/parsee-datasets/tree/main/datasets/finrag/data).

We wanted to investigate how good the current state of the art (M)LLMs are at solving the relatively simple problem of extracting revenue figures from publicly available financial reports. To test this, we created 3 different datasets, all based on the same selection of 100 randomly selected annual reports for the year 2023 of publicly listed US companies. The 3 datasets are the following:

“Selection-text”: this dataset contains only the relevant profit & loss statement with the revenue numbers that we are looking for. It can be considered our “base-case”, as extracting the revenue numbers from this table only should be the easiest.

“RAG-text”: this dataset tries to simulate a real-world RAG-application, where we chunk the original document into pieces, perform a vector search based on the question that we want to solve, and present the LLMs with the most relevant chunks. We cut off all prompts at 8k tokens for this exercise, so in case the relevant table was not contained in the prompt, we inserted it at the “first position”, to simulate a “happy path” for the vector search, as the goal of this study is not to examine how good or bad vector search is working, but rather to focus on the capabilities of the LLMs if we can guarantee that all required information to solve a task is presented to the model.

“Selection-image”: this dataset is similar to the “Selection-text” dataset in the sense that we feed to the models only an image of the relevant profit & loss statement, that contains all the necessary information to solve the problem.

The datasets contain a combined total of 10,404 rows, 37,536,847 tokens and 1,156 images.

For an in-depth explanation and evaluation of 8 state of the art models on the dataset, please refer to our [study](https://www.parsee.ai/en/blog/finrag-dataset-and-study/)