Noorrabie commited on
Commit
3f89ca1
·
verified ·
1 Parent(s): 482c458

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +15 -10
README.md CHANGED
@@ -43,34 +43,39 @@ The release also includes the labels predicted for the same sentences by GPT-5.5
43
  BAREC-X was introduced in *Benchmarking Fine-Grained Readability Explanations for Arabic* (Rabih, Elmadani, Taha-Thomure and Habash). Project page: https://barec.camel-lab.com/
44
 
45
 
46
- ## Contents
47
 
48
- | Config | Rows | What it holds |
49
  |---|---|---|
50
  | `annotations` (default) | 1,793 | Human annotations: sentence, readability level, labels. |
51
- | `gpt` | 1,793 | Labels predicted by GPT. TODO: exact model version and prompting setup. |
52
- | `gemini` | 1,793 | Labels predicted by Gemini. TODO: exact model version and prompting setup. |
53
- | `rule_based` | 1,793 | Labels predicted by the rule-based system. TODO: one line on the system. |
54
  | `labels` | 148 | The label inventory: code, dimension, level, Arabic description. |
55
 
56
  The four sentence tables have the same 1,793 rows in the same order and share the `id` column, so they can be joined on `id` or compared row by row.
57
 
 
 
 
 
 
58
  ## Loading
59
 
60
  ```python
61
  from datasets import load_dataset
62
 
63
  repo = "TODO-user/TODO-name"
64
- gold = load_dataset(repo, split="train") # human annotations
65
- gpt = load_dataset(repo, "gpt", split="train") # also "gemini", "rule_based"
66
- labels = load_dataset(repo, "labels", split="train") # code -> Arabic description
67
  ```
68
 
69
  ## `annotations`
70
 
71
  | Column | Type | Description |
72
  |---|---|---|
73
- | `id` | string | Unique 11-digit sentence identifier. Stored as a string; do not cast to a number. |
74
  | `sentence` | string | The Arabic sentence. |
75
  | `readability_level` | int | Readability level, 1–19. |
76
  | `spelling` | list of string | Spelling label codes (prefix `O`). |
@@ -85,7 +90,7 @@ A dimension with no label is an empty list. A sentence can carry more than one l
85
  Example row:
86
 
87
  ```json
88
- {"id": "10100060071", "sentence": "لا تقولي \"نعم\" أو \"لا\".. أو \"من فضلك\".. أو \"شكرًا\"..", "readability_level": 8, "spelling": [], "word_count": [], "morphology": ["M8-4"], "syntax": ["S8-1"], "vocabulary": ["V8-2"], "content": []}
89
  ```
90
 
91
  ## `gpt`, `gemini`, `rule_based`
 
43
  BAREC-X was introduced in *Benchmarking Fine-Grained Readability Explanations for Arabic* (Rabih, Elmadani, Taha-Thomure and Habash). Project page: https://barec.camel-lab.com/
44
 
45
 
46
+ ## Content
47
 
48
+ || Config | Rows | What it holds |
49
  |---|---|---|
50
  | `annotations` (default) | 1,793 | Human annotations: sentence, readability level, labels. |
51
+ | `gpt` | 1,793 | Labels predicted by GPT-5.5 with four-shot prompting. |
52
+ | `gemini` | 1,793 | Labels predicted by Gemini-3-Flash with four-shot prompting. |
53
+ | `rule_based` | 1,793 | Labels predicted by the training-free rule-based system. |
54
  | `labels` | 148 | The label inventory: code, dimension, level, Arabic description. |
55
 
56
  The four sentence tables have the same 1,793 rows in the same order and share the `id` column, so they can be joined on `id` or compared row by row.
57
 
58
+ All three systems receive the sentence and its gold readability level and return the reasons that justify that level.
59
+ The LLM prompts contain a task description, the BAREC guideline excerpt for the sentence's level, and four example sentences with their gold reasons.
60
+ The rule-based system extracts its features with CAMeL Tools 1.5.6 and CamelParser 2.0 and returns the activated reasons whose guideline level matches the given level.
61
+
62
+
63
  ## Loading
64
 
65
  ```python
66
  from datasets import load_dataset
67
 
68
  repo = "TODO-user/TODO-name"
69
+ gold = load_dataset(repo) # human annotations
70
+ gpt = load_dataset(repo, "gpt") # also "gemini", "rule_based"
71
+ labels = load_dataset(repo, "labels") # code -> Arabic description
72
  ```
73
 
74
  ## `annotations`
75
 
76
  | Column | Type | Description |
77
  |---|---|---|
78
+ | `id` | string | Unique 11-digit sentence identifier. |
79
  | `sentence` | string | The Arabic sentence. |
80
  | `readability_level` | int | Readability level, 1–19. |
81
  | `spelling` | list of string | Spelling label codes (prefix `O`). |
 
90
  Example row:
91
 
92
  ```json
93
+ {"id": "10100060071", "sentence": "عالم غريب المعالم", "readability_level": 11, "spelling": [], "word_count": [], "morphology": [], "syntax": ["S11-2"], "vocabulary": [], "content": []}
94
  ```
95
 
96
  ## `gpt`, `gemini`, `rule_based`