Datasets:
Tasks:
Text Classification
Modalities:
Text
Sub-tasks:
multi-class-classification
Languages:
English
Size:
1K - 10K
License:
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,36 +1,107 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
-
|
| 7 |
-
|
| 8 |
-
-
|
| 9 |
-
|
| 10 |
-
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
'5': C2
|
| 20 |
-
splits:
|
| 21 |
-
- name: train
|
| 22 |
-
num_bytes: 417880
|
| 23 |
-
num_examples: 1605
|
| 24 |
-
- name: test
|
| 25 |
-
num_bytes: 46604
|
| 26 |
-
num_examples: 179
|
| 27 |
-
download_size: 271419
|
| 28 |
-
dataset_size: 464484
|
| 29 |
-
configs:
|
| 30 |
-
- config_name: default
|
| 31 |
-
data_files:
|
| 32 |
-
- split: train
|
| 33 |
-
path: data/train-*
|
| 34 |
-
- split: test
|
| 35 |
-
path: data/test-*
|
| 36 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
tags:
|
| 6 |
+
- cefr
|
| 7 |
+
- english
|
| 8 |
+
- text-classification
|
| 9 |
+
- synthetic
|
| 10 |
+
- language-level
|
| 11 |
+
- education
|
| 12 |
+
size_categories:
|
| 13 |
+
- 1K<n<10K
|
| 14 |
+
task_categories:
|
| 15 |
+
- text-classification
|
| 16 |
+
task_ids:
|
| 17 |
+
- multi-class-classification
|
| 18 |
+
pretty_name: CEFR English Level Dataset
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
---
|
| 20 |
+
|
| 21 |
+
# CEFR English Level Dataset
|
| 22 |
+
|
| 23 |
+
A synthetic dataset of **1,785 English texts** labeled with CEFR proficiency levels (A1 → C2), generated using Groq API (Llama-3.3-70b) with detailed per-level linguistic profiles.
|
| 24 |
+
|
| 25 |
+
## Dataset Summary
|
| 26 |
+
|
| 27 |
+
| Split | Samples |
|
| 28 |
+
|-------|---------|
|
| 29 |
+
| Train | 1,605 (90%) |
|
| 30 |
+
| Test | 180 (10%) |
|
| 31 |
+
| **Total** | **1,785** |
|
| 32 |
+
|
| 33 |
+
Balanced across 6 CEFR levels — ~298 samples per level.
|
| 34 |
+
|
| 35 |
+
## CEFR Levels
|
| 36 |
+
|
| 37 |
+
| Label | Level | Description |
|
| 38 |
+
|-------|-------|-------------|
|
| 39 |
+
| 0 | A1 | Beginner — simple words, short sentences |
|
| 40 |
+
| 1 | A2 | Elementary — basic phrases, familiar topics |
|
| 41 |
+
| 2 | B1 | Intermediate — clear standard language |
|
| 42 |
+
| 3 | B2 | Upper-Intermediate — complex text, abstract topics |
|
| 43 |
+
| 4 | C1 | Advanced — fluent, flexible, precise |
|
| 44 |
+
| 5 | C2 | Mastery — sophisticated, nuanced, idiomatic |
|
| 45 |
+
|
| 46 |
+
## Domains (10)
|
| 47 |
+
|
| 48 |
+
`formal email` · `short personal essay` · `informal chat message` · `product review` · `social media post` · `travel diary entry` · `academic paragraph` · `job application paragraph` · `news commentary` · `casual forum reply`
|
| 49 |
+
|
| 50 |
+
## Dataset Structure
|
| 51 |
+
|
| 52 |
+
```python
|
| 53 |
+
{
|
| 54 |
+
"text": "Despite the challenging circumstances, she managed to articulate...",
|
| 55 |
+
"level": "C1",
|
| 56 |
+
"domain": "academic paragraph",
|
| 57 |
+
"label": 4 # int 0-5
|
| 58 |
+
}
|
| 59 |
+
```
|
| 60 |
+
|
| 61 |
+
## Usage
|
| 62 |
+
|
| 63 |
+
```python
|
| 64 |
+
from datasets import load_dataset
|
| 65 |
+
|
| 66 |
+
ds = load_dataset("yanou16/cefr-dataset")
|
| 67 |
+
|
| 68 |
+
# Access train split
|
| 69 |
+
for example in ds["train"]:
|
| 70 |
+
print(example["text"][:80], "→", example["level"])
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
## Generation Method
|
| 74 |
+
|
| 75 |
+
Texts were generated via **Groq API** using `llama-3.3-70b-versatile` with detailed per-level linguistic profiles:
|
| 76 |
+
|
| 77 |
+
- Each level has a specific vocabulary range, grammatical complexity, and discourse features
|
| 78 |
+
- 10 different domain prompts to ensure variety
|
| 79 |
+
- Post-generation validation: word count (5–250 words), deduplication
|
| 80 |
+
- Stratified 90/10 train/test split
|
| 81 |
+
|
| 82 |
+
## Model trained on this dataset
|
| 83 |
+
|
| 84 |
+
👉 [yanou16/cefr-english-classifier](https://huggingface.co/yanou16/cefr-english-classifier) — 84.9% accuracy
|
| 85 |
+
|
| 86 |
+
## Limitations
|
| 87 |
+
|
| 88 |
+
- **Synthetic data** — generated by LLM, not written by real language learners
|
| 89 |
+
- May not capture authentic learner errors or L1 interference patterns
|
| 90 |
+
- C1/C2 boundary texts are very similar (by design — mirrors human annotator difficulty)
|
| 91 |
+
|
| 92 |
+
## Citation
|
| 93 |
+
|
| 94 |
+
```bibtex
|
| 95 |
+
@dataset{louzazna2025cefr,
|
| 96 |
+
author = {Louzazna, Rayane},
|
| 97 |
+
title = {CEFR English Level Dataset},
|
| 98 |
+
year = {2025},
|
| 99 |
+
publisher = {HuggingFace},
|
| 100 |
+
url = {https://huggingface.co/datasets/yanou16/cefr-dataset}
|
| 101 |
+
}
|
| 102 |
+
```
|
| 103 |
+
|
| 104 |
+
## Author
|
| 105 |
+
|
| 106 |
+
**Rayane Louzazna** — AI Engineering
|
| 107 |
+
[HuggingFace](https://huggingface.co/yanou16) · [GitHub](https://github.com/yanou16)
|