File size: 2,269 Bytes
0997394
c476c02
 
 
 
 
 
 
 
 
 
 
 
 
 
38ff438
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8d29f84
38ff438
8d29f84
 
0997394
c476c02
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
---
language:
- ar
license: apache-2.0
task_categories:
- summarization
- text-generation
pretty_name: Financial Reports Extractive Summarization Evaluation Dataset
tags:
- finance
- summarization
- extractive
- evaluation
- benchmark
- arabic
configs:
- config_name: default
  data_files:
  - split: test
    path: data/test-*
dataset_info:
  features:
  - name: id
    dtype: string
  - name: prompt
    dtype: string
  - name: full_text
    dtype: string
  - name: answer
    dtype: string
  - name: report_type
    dtype: string
  - name: file_name
    dtype: string
  - name: split
    dtype: string
  - name: text_length
    dtype: int64
  - name: summary_length
    dtype: int64
  - name: compression_ratio
    dtype: float64
  splits:
  - name: test
    num_bytes: 680151
    num_examples: 80
  download_size: 298205
  dataset_size: 680151
---

# Financial Reports Extractive Summarization Evaluation Dataset

Validation and test splits for evaluating models on Arabic financial reports extractive summarization.

## Dataset Structure

- **Format**: Simple prompt-answer pairs
- **Validation**: ~20 examples (10%)
- **Test**: ~20 examples (10%)
- **Language**: Arabic
- **Domain**: Financial reports and market news

## Fields

- `id`: Unique identifier
- `prompt`: The summarization prompt
- `full_text`: Complete financial report
- `answer`: Ground truth extractive summary
- `report_type`: Type of report
- `file_name`: Original file
- `split`: 'validation' or 'test'
- `text_length`: Full text length
- `summary_length`: Summary length
- `compression_ratio`: Compression percentage

## Usage

```python
from datasets import load_dataset

dataset = load_dataset("SahmBenchmark/financial-reports-extractive-summarization_eval")

# Access splits
val_data = dataset['validation']
test_data = dataset['test']

# For evaluation
for example in test_data:
    model_output = model.generate(example['prompt'])
    ground_truth = example['answer']
    
    # Calculate ROUGE scores
    rouge_score = calculate_rouge(model_output, ground_truth)
```

## Evaluation Metrics

- ROUGE-1, ROUGE-2, ROUGE-L
- Compression ratio accuracy
- Extractive accuracy (sentences from original)

For training data, see: `SahmBenchmark/financial-reports-extractive-summarization_train`