|
Download README.md from goodevening/difficulty: direct link, hf CLI and curl.
- Browser
- Download file 755 Bytes
-
https://huggingface.co/datasets/goodevening/difficulty/resolve/main/README.md
- Command line
-
hf download hf://datasets/goodevening/difficulty/README.md
-
curl -L -o README.md https://huggingface.co/datasets/goodevening/difficulty/resolve/main/README.md
755 Bytes
| # 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. | |