Instructions to use SinhalaMMLU-SharedTask/team-sinbotics with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use SinhalaMMLU-SharedTask/team-sinbotics with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -35,11 +35,42 @@ tags:
|
|
| 35 |
## Datasets
|
| 36 |
|
| 37 |
### Extra training data (for the LoRA adapter)
|
| 38 |
-
| Dataset | Source
|
| 39 |
|---|---|---|---|
|
| 40 |
-
| **Global-MMLU, Sinhala** | [`CohereLabs/Global-MMLU`](https://huggingface.co/datasets/CohereLabs/Global-MMLU)
|
| 41 |
-
| **sinmulu_si** (our own) |
|
| 42 |
-
| **Combined** (
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
|
| 44 |
### Overlap check against the test set (sinmulu_si)
|
| 45 |
Real exam papers can repeat questions, so before training we checked sinmulu_si (15,355 questions) against all 2,238 shared-task test questions:
|
|
|
|
| 35 |
## Datasets
|
| 36 |
|
| 37 |
### Extra training data (for the LoRA adapter)
|
| 38 |
+
| Dataset | Source / licence | Questions | Train / validation |
|
| 39 |
|---|---|---|---|
|
| 40 |
+
| **Global-MMLU, Sinhala** | [`CohereLabs/Global-MMLU`](https://huggingface.co/datasets/CohereLabs/Global-MMLU) (`si`), Apache-2.0 | 14,324 | 12,926 / 1,398 |
|
| 41 |
+
| **sinmulu_si** (our own) | Sri Lankan exam papers; not published here (available on request) | 15,180 | 13,749 / 1,431 |
|
| 42 |
+
| **Combined** (final adapter) | union of the two | 29,504 | 26,675 / 2,829 |
|
| 43 |
+
|
| 44 |
+
Validation sets are 10% per subject (seed 42).
|
| 45 |
+
|
| 46 |
+
**Global-MMLU, Sinhala** (`training/sinmmlu/gmmlu.py`)
|
| 47 |
+
- MMLU translated into Sinhala: 57 subjects. Categories: humanities 4,770, STEM 3,245, social science 3,137, other 2,433, business 739.
|
| 48 |
+
- Pinned revision `0e619dbeb34206cd48705a1a0ea7fb21cae09993`. We merged the test (14,042) and dev (285) splits and dropped 3 questions with an empty option.
|
| 49 |
+
- We removed the metadata, converted the questions to the competition format with ids `gsi00001…`, and split them per subject.
|
| 50 |
+
|
| 51 |
+
**sinmulu_si** (`training/sinmmlu/sinmulu.py`)
|
| 52 |
+
- **Source:** built by our team from 3,486 Sri Lankan exam-paper PDFs: G.C.E. O/L and A/L papers and provincial term tests.
|
| 53 |
+
- **Transcription:**
|
| 54 |
+
- Most PDFs use legacy Sinhala fonts, so text extraction was unusable. Instead, each page was rendered as an image and transcribed by a large language model.
|
| 55 |
+
- This ran in batches, with several agents working in parallel on separate slices.
|
| 56 |
+
- Stems and options were copied verbatim.
|
| 57 |
+
- **Selection:**
|
| 58 |
+
- Only Sinhala-medium papers and true multiple-choice questions were kept.
|
| 59 |
+
- Calculation-heavy subjects (Mathematics, Accounting, Statistics) and English, Tamil and other language papers were excluded.
|
| 60 |
+
- Questions that depended on diagrams, or whose scan was too poor to read confidently, were dropped rather than guessed.
|
| 61 |
+
- **Answers:**
|
| 62 |
+
- These come from official marking schemes where available, matched to papers by grade, year and province.
|
| 63 |
+
- Otherwise, an answer was kept only if the model was highly confident, and left blank if not, so some answers are model-derived.
|
| 64 |
+
- **Cleaning:** records were validated, de-duplicated and cleaned. That gave 15,355 four-option MCQs across about 48 subjects.
|
| 65 |
+
- **Final set:**
|
| 66 |
+
- After the overlap check against the test set (below), 15,190 remain (`osi00001`–`osi15190`). Removing 10 more duplicates (same question and options) leaves 15,180.
|
| 67 |
+
- Largest subjects: Agricultural Science 990, Home Economics 971, Biology 944, ICT 890, Communication and Media Studies 860, History 779.
|
| 68 |
+
- **Availability:** we will publish it separately; it is available to the organisers on request.
|
| 69 |
+
|
| 70 |
+
**Combined** (`training/sinmmlu/combined.py`)
|
| 71 |
+
- A validation question whose text also appeared in training would have been moved to training; none did.
|
| 72 |
+
- Questions longer than 1,024 tokens were skipped in training, leaving 25,799 / 2,745.
|
| 73 |
+
- Training answers are spread evenly: 1: 23.1%, 2: 25.9%, 3: 26.4%, 4: 24.7%.
|
| 74 |
|
| 75 |
### Overlap check against the test set (sinmulu_si)
|
| 76 |
Real exam papers can repeat questions, so before training we checked sinmulu_si (15,355 questions) against all 2,238 shared-task test questions:
|