Raniahossam33 commited on
Commit
c476c02
·
verified ·
1 Parent(s): 0997394

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +67 -38
README.md CHANGED
@@ -1,40 +1,69 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: id
5
- dtype: string
6
- - name: prompt
7
- dtype: string
8
- - name: full_text
9
- dtype: string
10
- - name: answer
11
- dtype: string
12
- - name: report_type
13
- dtype: string
14
- - name: file_name
15
- dtype: string
16
- - name: split
17
- dtype: string
18
- - name: text_length
19
- dtype: int64
20
- - name: summary_length
21
- dtype: int64
22
- - name: compression_ratio
23
- dtype: float64
24
- splits:
25
- - name: validation
26
- num_bytes: 189629
27
- num_examples: 20
28
- - name: test
29
- num_bytes: 179696
30
- num_examples: 20
31
- download_size: 207759
32
- dataset_size: 369325
33
- configs:
34
- - config_name: default
35
- data_files:
36
- - split: validation
37
- path: data/validation-*
38
- - split: test
39
- path: data/test-*
40
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language:
3
+ - ar
4
+ license: apache-2.0
5
+ task_categories:
6
+ - summarization
7
+ - text-generation
8
+ pretty_name: Financial Reports Extractive Summarization Evaluation Dataset
9
+ tags:
10
+ - finance
11
+ - summarization
12
+ - extractive
13
+ - evaluation
14
+ - benchmark
15
+ - arabic
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  ---
17
+
18
+ # Financial Reports Extractive Summarization Evaluation Dataset
19
+
20
+ Validation and test splits for evaluating models on Arabic financial reports extractive summarization.
21
+
22
+ ## Dataset Structure
23
+
24
+ - **Format**: Simple prompt-answer pairs
25
+ - **Validation**: ~20 examples (10%)
26
+ - **Test**: ~20 examples (10%)
27
+ - **Language**: Arabic
28
+ - **Domain**: Financial reports and market news
29
+
30
+ ## Fields
31
+
32
+ - `id`: Unique identifier
33
+ - `prompt`: The summarization prompt
34
+ - `full_text`: Complete financial report
35
+ - `answer`: Ground truth extractive summary
36
+ - `report_type`: Type of report
37
+ - `file_name`: Original file
38
+ - `split`: 'validation' or 'test'
39
+ - `text_length`: Full text length
40
+ - `summary_length`: Summary length
41
+ - `compression_ratio`: Compression percentage
42
+
43
+ ## Usage
44
+
45
+ ```python
46
+ from datasets import load_dataset
47
+
48
+ dataset = load_dataset("SahmBenchmark/financial-reports-extractive-summarization_eval")
49
+
50
+ # Access splits
51
+ val_data = dataset['validation']
52
+ test_data = dataset['test']
53
+
54
+ # For evaluation
55
+ for example in test_data:
56
+ model_output = model.generate(example['prompt'])
57
+ ground_truth = example['answer']
58
+
59
+ # Calculate ROUGE scores
60
+ rouge_score = calculate_rouge(model_output, ground_truth)
61
+ ```
62
+
63
+ ## Evaluation Metrics
64
+
65
+ - ROUGE-1, ROUGE-2, ROUGE-L
66
+ - Compression ratio accuracy
67
+ - Extractive accuracy (sentences from original)
68
+
69
+ For training data, see: `SahmBenchmark/financial-reports-extractive-summarization_train`