Datasets:
Clarify SFT learning purpose and experimental public dataset status
Browse files- README.md +68 -40
- manifest.json +8 -5
README.md
CHANGED
|
@@ -24,11 +24,13 @@ configs:
|
|
| 24 |
path: data/test.jsonl
|
| 25 |
---
|
| 26 |
|
| 27 |
-
# Summary SFT:
|
| 28 |
|
| 29 |
-
|
| 30 |
|
| 31 |
-
|
|
|
|
|
|
|
| 32 |
|
| 33 |
| Split | Pairs |
|
| 34 |
|---|---:|
|
|
@@ -36,66 +38,92 @@ configs:
|
|
| 36 |
| validation | 200 |
|
| 37 |
| test | 200 |
|
| 38 |
|
| 39 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
|
| 41 |
| Field | Meaning |
|
| 42 |
|---|---|
|
| 43 |
-
| `id` | SHA-256 of the
|
| 44 |
-
| `source` |
|
| 45 |
-
| `summary` |
|
| 46 |
|
| 47 |
-
|
| 48 |
|
| 49 |
## How it was generated
|
| 50 |
|
| 51 |
-
1. **
|
| 52 |
-
2. **
|
| 53 |
-
3. **
|
| 54 |
-
4. **
|
| 55 |
-
5. **
|
| 56 |
-
6. **Pilot assessment:** a separate rubric using the **same teacher model** assessed the initial pilot. Concerns were quarantined; this was not independent verification and was not a model-based audit of every final pair.
|
| 57 |
-
7. **Resumable collection:** requests and budget reservations were durably recorded; transient failures used bounded retries. Operational checkpoints checked response structure and usable yield. These are collection-health measures, not accuracy scores.
|
| 58 |
|
| 59 |
-
|
| 60 |
|
| 61 |
-
|
|
|
|
|
|
|
|
|
|
| 62 |
|
| 63 |
-
|
| 64 |
|
| 65 |
-
|
| 66 |
-
- Try a first focused SFT experiment on an **already-pretrained roughly 300M-parameter model**. Ten thousand examples are a useful starting point, not a sufficiency guarantee.
|
| 67 |
-
- Apply your own tokenizer, instruction/chat template, sequence-length checks and loss masking. No downstream model's context window is guaranteed.
|
| 68 |
-
- Use validation for training choices; keep test sources for the frozen evaluation protocol. Do not treat these synthetic references as human-authored ground truth.
|
| 69 |
|
| 70 |
-
|
|
|
|
|
|
|
|
|
|
| 71 |
|
| 72 |
-
|
| 73 |
|
| 74 |
-
|
|
|
|
| 75 |
|
| 76 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
|
| 78 |
-
|
| 79 |
|
| 80 |
-
|
| 81 |
|
| 82 |
-
The
|
| 83 |
|
| 84 |
-
|
| 85 |
|
| 86 |
-
|
| 87 |
|
| 88 |
-
##
|
| 89 |
|
| 90 |
-
|
| 91 |
|
| 92 |
-
|
| 93 |
-
from datasets import load_dataset
|
| 94 |
-
dataset = load_dataset("helloboy91/summary-sft-10k", token=True)
|
| 95 |
-
example = dataset["train"][0]
|
| 96 |
-
source, target = example["source"], example["summary"]
|
| 97 |
-
```
|
| 98 |
|
| 99 |
-
|
| 100 |
|
| 101 |
Builder: [summary-dataset-builder](https://github.com/ybj91/summary-dataset-builder).
|
|
|
|
| 24 |
path: data/test.jsonl
|
| 25 |
---
|
| 26 |
|
| 27 |
+
# Summary SFT: learn, test, and experiment
|
| 28 |
|
| 29 |
+
A small English summarization dataset for **supervised fine-tuning (SFT) learning and testing**. Each example pairs an educational web document with a short AI-generated summary. Use it to try your first fine-tuning run, check a data pipeline, or compare a few summarization baselines.
|
| 30 |
|
| 31 |
+
> **Experimental draft:** summaries are synthetic and representative final human review has not been completed. This is a learning resource, not a production-ready or factual-accuracy benchmark. Public availability does not imply quality certification.
|
| 32 |
+
|
| 33 |
+
## At a glance
|
| 34 |
|
| 35 |
| Split | Pairs |
|
| 36 |
|---|---:|
|
|
|
|
| 38 |
| validation | 200 |
|
| 39 |
| test | 200 |
|
| 40 |
|
| 41 |
+
**Language:** English · **Task:** source-grounded summarization · **Format:** JSONL · **No model-specific tokenizer required**
|
| 42 |
+
|
| 43 |
+
## Quick start
|
| 44 |
+
|
| 45 |
+
Install the dataset loader and try an example:
|
| 46 |
+
|
| 47 |
+
```bash
|
| 48 |
+
pip install datasets huggingface_hub
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
```python
|
| 52 |
+
from datasets import load_dataset
|
| 53 |
+
|
| 54 |
+
dataset = load_dataset("helloboy91/summary-sft-10k")
|
| 55 |
+
example = dataset["train"][0]
|
| 56 |
+
|
| 57 |
+
# Add your model-specific instruction or chat template here.
|
| 58 |
+
source = example["source"]
|
| 59 |
+
target = example["summary"]
|
| 60 |
+
```
|
| 61 |
+
|
| 62 |
+
For repeatable experiments, add `revision="<dataset commit SHA>"` to `load_dataset`.
|
| 63 |
+
|
| 64 |
+
## What's in an example?
|
| 65 |
|
| 66 |
| Field | Meaning |
|
| 67 |
|---|---|
|
| 68 |
+
| `id` | Stable document ID: SHA-256 of the source text. |
|
| 69 |
+
| `source` | The original educational web text selected from FineWeb-Edu. |
|
| 70 |
+
| `summary` | A plain-text summary generated by the teacher model. |
|
| 71 |
|
| 72 |
+
The text is not wrapped in a chat template. You choose the tokenizer, prompt format, context limit, and loss masking appropriate for your model. Original source IDs, URLs, and generation metadata are kept separately in `provenance/<split>.jsonl`.
|
| 73 |
|
| 74 |
## How it was generated
|
| 75 |
|
| 76 |
+
1. **Pick source documents.** Start with [HuggingFaceFW/fineweb-edu](https://huggingface.co/datasets/HuggingFaceFW/fineweb-edu) and inspect 100,000 records from a pinned snapshot. Keep documents between 120-700 words after basic suitability and privacy screening.
|
| 77 |
+
2. **Deduplicate and split.** Remove exact and near duplicates before assigning train/validation/test splits. Sample across domains and document lengths with a fixed seed. Existing pilot documents keep their original split when the pool expands.
|
| 78 |
+
3. **Generate summaries.** Ask `openai/gpt-oss-120b` through OpenRouter (`deepinfra/bf16`) for one faithful paragraph, usually 60-100 words. The prompt asks it to preserve important facts, names, numbers, attribution and uncertainty, and to reject unsuitable documents instead of inventing a summary.
|
| 79 |
+
4. **Screen the outputs.** Validate the JSON response and acceptance/rejection rules. Flag numeric mismatches, excessive length, repetition, multiple paragraphs, and instruction-like content. Keep only accepted pairs without quality holds.
|
| 80 |
+
5. **Check the pilot and scale.** Run a separate assessment prompt over the initial pilot using the **same model**, quarantine concerns, and collect the remaining pairs with checkpoints, durable progress, and bounded retries. This is automated screening, not independent verification of every summary.
|
|
|
|
|
|
|
| 81 |
|
| 82 |
+
## Ideas for using it
|
| 83 |
|
| 84 |
+
- Learn how to prepare source/target examples for SFT.
|
| 85 |
+
- Test tokenization, batching, loss masking, and checkpoint evaluation.
|
| 86 |
+
- Try a focused baseline with an **already-pretrained roughly 300M-parameter model**.
|
| 87 |
+
- Compare the base model with a short SFT run before collecting more data.
|
| 88 |
|
| 89 |
+
Ten thousand training examples are a starting point, not a guarantee that a particular model will summarize well. This is not enough data to pretrain a model from scratch. Check sequence lengths with your own tokenizer, use validation for training choices, and leave the test split for the final evaluation.
|
| 90 |
|
| 91 |
+
## Keep in mind
|
|
|
|
|
|
|
|
|
|
| 92 |
|
| 93 |
+
- **Synthetic does not mean correct.** Summaries can miss key facts, invent details, or repeat incorrect source claims. Automated pass rates are not factual-accuracy scores.
|
| 94 |
+
- **The source sample is limited.** It is a bounded portion of one English web-data subset, not a balanced survey of all topics or writing styles.
|
| 95 |
+
- **Filtering is imperfect.** Some private, harmful, biased, or near-duplicate content may remain. Inspect representative examples before relying on the dataset.
|
| 96 |
+
- **Evaluation is selective.** These splits contain accepted synthetic pairs. Rejected and difficult candidate outcomes stay in the local audit ledger, so this is not an unbiased benchmark of the entire source population.
|
| 97 |
|
| 98 |
+
## Reproducibility
|
| 99 |
|
| 100 |
+
<details>
|
| 101 |
+
<summary>Source snapshot, model settings, and collection details</summary>
|
| 102 |
|
| 103 |
+
- Source revision: `87f09149ef4734204d70ed1d046ddc9ca3f2b8f9`.
|
| 104 |
+
- Upstream subset/split: `sample-10BT` / `train`.
|
| 105 |
+
- Sampling seed: `42`.
|
| 106 |
+
- Near-duplicate method: five-word-shingle Jaccard; threshold `0.8`.
|
| 107 |
+
- Teacher prompt: `teacher-v2.txt`; SHA-256 `36192544a5f7fed45a18c63d7df6fddefaeefbb23df73f479ccf9057344e88f2`.
|
| 108 |
+
- Temperature: `0`; reasoning effort: `low`.
|
| 109 |
+
- Completion limit: `2048` tokens, including reasoning.
|
| 110 |
|
| 111 |
+
The run recorded **13,663 generation attempts** and **100 assessment attempts**, including **97 retries**. Attempts include rejected and failed outputs; they are not the split sizes.
|
| 112 |
|
| 113 |
+
The final operational policy required 98% structurally valid model completions and 70% usable pairs per attempted stage. These measure collection health, not factual accuracy. HTTP errors stay in retry/yield counts but are not invalid model JSON. `manifest.json` records historical policy changes as well as the final settings.
|
| 114 |
|
| 115 |
+
The package includes the frozen prompt, response schema, per-row source provenance, and artifact checksums. No API credentials, local database, raw HTTP logs, or reviewer notes are included.
|
| 116 |
|
| 117 |
+
Draft status: final human review is pending, and 2 request charge(s) still need reconciliation. No human-reviewed release approval or independent factual verification is claimed.
|
| 118 |
|
| 119 |
+
</details>
|
| 120 |
|
| 121 |
+
## Source credit and license
|
| 122 |
|
| 123 |
+
Contains information from [FineWeb-Edu](https://huggingface.co/datasets/HuggingFaceFW/fineweb-edu), made available under the [ODC Attribution License (ODC-By 1.0)](https://opendatacommons.org/licenses/by/1-0/). [Common Crawl's Terms of Use](https://commoncrawl.org/terms-of-use) also apply.
|
| 124 |
|
| 125 |
+
ODC-By permits sharing the database with attribution. It does not replace the copyrights, privacy rights, or separate terms of the original web pages. Retain the source notices and provenance, and review those rights before redistribution. The synthetic summaries are our additions, not human-authored FineWeb-Edu reference summaries.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 126 |
|
| 127 |
+
Credit: Anton Lozhkov, Loubna Ben Allal, Leandro von Werra, and Thomas Wolf, *FineWeb-Edu: the Finest Collection of Educational Content* (2024), Hugging Face. Dataset DOI: [10.57967/hf/2497](https://doi.org/10.57967/hf/2497). See also the [FineWeb paper](https://arxiv.org/abs/2406.17557).
|
| 128 |
|
| 129 |
Builder: [summary-dataset-builder](https://github.com/ybj91/summary-dataset-builder).
|
manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
"format_version": 1,
|
| 3 |
-
"publication_status": "
|
| 4 |
"repo_id": "helloboy91/summary-sft-10k",
|
| 5 |
-
"required_visibility": "
|
| 6 |
"created_at": "2026-10-12T09:24:56.412057+00:00",
|
| 7 |
"counts": {
|
| 8 |
"train": 10000,
|
|
@@ -83,12 +83,12 @@
|
|
| 83 |
],
|
| 84 |
"human_review_completed": false,
|
| 85 |
"independent_factual_verification": false,
|
| 86 |
-
"public_release_approved":
|
| 87 |
"source_rights_review_completed": false,
|
| 88 |
"training_token_lengths_checked": false,
|
| 89 |
"intended_use": "Small SFT learning/test dataset; experimental baselines, not production or pretraining.",
|
| 90 |
"files": {
|
| 91 |
-
"README.md": "
|
| 92 |
"teacher-prompt.txt": "36192544a5f7fed45a18c63d7df6fddefaeefbb23df73f479ccf9057344e88f2",
|
| 93 |
"teacher-response.schema.json": "b3baaed51828d9ff204b856422f223481083e0f1722db0649eb0e38fd9a10441",
|
| 94 |
"data/train.jsonl": "4d9ab858bbac1e4acaa9d89e370071c571c281db43aaca3d4ce784085b6abdd1",
|
|
@@ -97,5 +97,8 @@
|
|
| 97 |
"provenance/train.jsonl": "b22eb2d34ed6d5f80353744d0e2ab2032faa2765b6feb2111d64fc7f5c50757d",
|
| 98 |
"provenance/validation.jsonl": "2d8fd5d4c84a966d77a0a7c36ac9bc3115b7d627fa1f974a65b73ddb646e2a68",
|
| 99 |
"provenance/test.jsonl": "a0f9fb049e9162f9a11a070d7a2f4068e422d3b1b1893c56129769d3f67654fb"
|
| 100 |
-
}
|
|
|
|
|
|
|
|
|
|
| 101 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"format_version": 1,
|
| 3 |
+
"publication_status": "public_experimental_dataset",
|
| 4 |
"repo_id": "helloboy91/summary-sft-10k",
|
| 5 |
+
"required_visibility": "public",
|
| 6 |
"created_at": "2026-10-12T09:24:56.412057+00:00",
|
| 7 |
"counts": {
|
| 8 |
"train": 10000,
|
|
|
|
| 83 |
],
|
| 84 |
"human_review_completed": false,
|
| 85 |
"independent_factual_verification": false,
|
| 86 |
+
"public_release_approved": true,
|
| 87 |
"source_rights_review_completed": false,
|
| 88 |
"training_token_lengths_checked": false,
|
| 89 |
"intended_use": "Small SFT learning/test dataset; experimental baselines, not production or pretraining.",
|
| 90 |
"files": {
|
| 91 |
+
"README.md": "600849c919675f4a11a682e01b433a1ecb645020ae9db54b3be25ef8b8d44e31",
|
| 92 |
"teacher-prompt.txt": "36192544a5f7fed45a18c63d7df6fddefaeefbb23df73f479ccf9057344e88f2",
|
| 93 |
"teacher-response.schema.json": "b3baaed51828d9ff204b856422f223481083e0f1722db0649eb0e38fd9a10441",
|
| 94 |
"data/train.jsonl": "4d9ab858bbac1e4acaa9d89e370071c571c281db43aaca3d4ce784085b6abdd1",
|
|
|
|
| 97 |
"provenance/train.jsonl": "b22eb2d34ed6d5f80353744d0e2ab2032faa2765b6feb2111d64fc7f5c50757d",
|
| 98 |
"provenance/validation.jsonl": "2d8fd5d4c84a966d77a0a7c36ac9bc3115b7d627fa1f974a65b73ddb646e2a68",
|
| 99 |
"provenance/test.jsonl": "a0f9fb049e9162f9a11a070d7a2f4068e422d3b1b1893c56129769d3f67654fb"
|
| 100 |
+
},
|
| 101 |
+
"public_visibility_explicitly_authorized": true,
|
| 102 |
+
"reviewed_release_approved": false,
|
| 103 |
+
"visibility_updated_at": "2026-10-12T09:37:23.673484+00:00"
|
| 104 |
}
|