RuFinQA / README.md
ArabovMK's picture
Update README.md
1535fdc verified
|
Raw
History Blame Contribute Delete
3 kB
---
language:
- ru
license: cc-by-4.0
size_categories:
- 10K<n<100K
task_categories:
- question-answering
- text-generation
pretty_name: RuFinQA
tags:
- russian
- finance
- financial-reports
- multi-task
- reasoning
- arithmetic
- factoid
- comparison
- analytical
- llm-evaluation
- benchmark
---
# RuFinQA — A Massive Multi-Task Reasoning Benchmark for Russian Financial Report Understanding
**RuFinQA** is a large-scale multi-task benchmark designed to evaluate the ability of language models to understand and reason over Russian statutory financial reports (Balance Sheet, Income Statement, Cash Flow Statement).
It contains **36,330 question–answer pairs** across **5 task types**, automatically derived from real-world corporate accounting statements obtained from open government data sources.
## 📊 Task Types
| Type | Count | Share |
|------|------:|------:|
| factoid | 12,255 | 33.7% |
| arithmetic | 12,021 | 33.1% |
| comparison | 4,085 | 11.2% |
| analytical | 4,059 | 11.2% |
| multistep | 3,910 | 10.8% |
## 📝 Data Structure
Each record is a JSON object with the following fields:
| Field | Type | Description |
|-------|------|-------------|
| `id` | string | Unique identifier (e.g., `arith_COMP_0001_2025_roa`) |
| `type` | string | Task type: `arithmetic`, `factoid`, `comparison`, `analytical`, `multistep` |
| `question` | string | Natural-language question in Russian |
| `context` | dict | Structured financial data needed to answer the question |
| `answer` | string | Gold reference answer |
| `numeric_answer` | float (optional) | Exact numeric answer for `arithmetic` tasks |
| `tolerance` | float (optional) | Acceptable deviation for numeric evaluation |
| `exact_match` | string (optional) | Canonical string for `factoid` evaluation |
| `keywords` | list (optional) | Required keywords for `comparison`, `analytical`, `multistep` |
## 🚀 Usage
### Loading with 🤗 Datasets
```python
from datasets import load_dataset
dataset = load_dataset("arabovs-ai-lab/RuFinQA", split="train")
print(dataset[0])
```
### Example Record
```json
{
"id": "arith_COMP_0001_2025_roa",
"type": "arithmetic",
"question": "Рассчитай рентабельность активов (ROA) для компании ИНН COMP_0001 за 2025 год.",
"context": {
"inn": "COMP_0001",
"year": 2025,
"bal_1600": 633.696,
"inc_2400": 44.691
},
"answer": "ROA = 44.7 / 633.7 = 0.0705 (7.05%)",
"numeric_answer": 0.0705,
"tolerance": 0.001
}
```
## 📄 License
This dataset is released under the **CC BY 4.0** license.
## 📚 Citation
If you use RuFinQA, please cite:
```bibtex
@misc{rufinqa2025,
author = {Arabov Mullosharaf Kurbonovich},
title = {RuFinQA: A Massive Multi-Task Reasoning Benchmark for Russian Financial Report Understanding},
year = {2025},
publisher = {Hugging Face},
url = {https://huggingface.co/datasets/RusNLPWorld/RuFinQA}
}
```
---
*Built for the multilingual financial NLP community.*