| # Difficulty Split (Zero Context Medium) |
|
|
| This dataset mirrors the local layout used in training: |
|
|
| ``` |
| train/*.jsonl |
| val_id/*.jsonl |
| val_ood/*.jsonl |
| ``` |
|
|
| Each JSONL row contains fields like `problem`, `question`, and `solution` (the latter includes an `Answer:` segment near the end). |
|
|
| ## Load with datasets (streaming) |
|
|
| ```python |
| from datasets import load_dataset |
| |
| repo = "goodevening/difficulty" |
| train = load_dataset( |
| "json", |
| data_files={"train": f"hf://datasets/{repo}/train/*.jsonl"}, |
| split="train", |
| streaming=True, |
| ) |
| for row in train.take(3): |
| print(row) |
| ``` |
|
|
| ## Splits |
| - Train: `train/*.jsonl` |
| - In-domain validation: `val_id/*.jsonl` |
| - OOD validation: `val_ood/*.jsonl` |
|
|
| You can load val splits similarly by changing the pattern. |
|
|