helloboy91 commited on
Commit
3c20bf3
·
verified ·
1 Parent(s): 94c03e8

Clarify SFT learning purpose and experimental public dataset status

Browse files
Files changed (2) hide show
  1. README.md +68 -40
  2. manifest.json +8 -5
README.md CHANGED
@@ -24,11 +24,13 @@ configs:
24
  path: data/test.jsonl
25
  ---
26
 
27
- # Summary SFT: a small learning/test dataset
28
 
29
- **Private experimental draft.** This small, model-neutral dataset is intended for **supervised fine-tuning (SFT) learning, pipeline testing, and baseline experiments** in source-grounded English summarization. It is not a production-ready benchmark, not a pretraining corpus, and not a guarantee of factual correctness.
30
 
31
- ## Dataset contents
 
 
32
 
33
  | Split | Pairs |
34
  |---|---:|
@@ -36,66 +38,92 @@ configs:
36
  | validation | 200 |
37
  | test | 200 |
38
 
39
- Each data row contains:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
 
41
  | Field | Meaning |
42
  |---|---|
43
- | `id` | SHA-256 of the original UTF-8 source document. |
44
- | `source` | Original educational web document, not a tokenized training template. |
45
- | `summary` | Synthetic plain-text summary generated by the teacher. |
46
 
47
- Row-aligned `provenance/<split>.jsonl` files retain source IDs, URLs, dataset revision, source-rights notice, document hashes, teacher model/provider, and prompt hashes. The default loader reads only `data/`, not provenance or rejected examples.
48
 
49
  ## How it was generated
50
 
51
- 1. **Source:** [HuggingFaceFW/fineweb-edu](https://huggingface.co/datasets/HuggingFaceFW/fineweb-edu), pinned to revision `87f09149ef4734204d70ed1d046ddc9ca3f2b8f9`. The upstream subset was `sample-10BT`, split `train`. The acquisition inspected 100,000 records; this was a bounded sample, not the full corpus.
52
- 2. **Preparation:** length and simple source-suitability/privacy screening, normalized exact-hash and five-word-shingle Jaccard near-duplicate exclusion before split assignment, and seeded domain/length-diverse sampling. Seed: `42`; source word range: `120`-`700`; near-duplicate threshold: `0.8`. An expanded source pool retained the original pilot documents and their split assignments.
53
- 3. **Teacher:** `openai/gpt-oss-120b` through OpenRouter, restricted to `deepinfra/bf16`. Temperature `0`, reasoning effort `low`, maximum completion budget `2048` tokens including reasoning. Documents were passed as untrusted JSON data under a separate system instruction.
54
- 4. **Prompt:** `teacher-v2.txt` asks for a faithful single-paragraph summary, normally 60-100 words (shorter if necessary to avoid padding), preserving names, numbers, attribution and uncertainty. Incomplete/incoherent sources should be rejected. The frozen prompt and response schema accompany this dataset.
55
- 5. **Filtering:** local validation checks strict `accepted` / `summary` / `rejection_reason` consistency. Heuristics flag unmatched numeric expressions, excessive length, repetition, multi-paragraph output, and instruction/meta content. Only accepted pairs without quality holds enter this draft.
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
- The run recorded **13,663 generation attempts** and **100 assessment attempts**, including **97 retries** across operations. Counts include rejected/flagged/failed attempts; they are not the published row counts.
60
 
61
- The final operational policy required 98% structurally valid model completions and 70% usable pairs per attempted stage. Transport failures, including HTTP 429, were separated from malformed model completions but remained in overall yield/retry counts. Historical policy thresholds and amendments are summarized in `manifest.json`; a threshold change is not evidence that model quality improved.
 
 
 
62
 
63
- ## Intended use
64
 
65
- - Learn or smoke-test an SFT data pipeline and compare small summarization baselines.
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
- ## Limitations and draft status
 
 
 
71
 
72
- **Representative final human review has not been completed.** This private draft does not claim a release approval, verified factual-accuracy percentage, or readiness for production or high-stakes use.
73
 
74
- Summaries can omit important facts, distort emphasis, hallucinate, or repeat misleading source assertions. Educational web content is not necessarily true, complete, safe, unbiased, or legally unrestricted. Simple screening cannot reliably remove all personal information or harmful content. Near-duplicate filtering does not prove that all semantic overlap has been eliminated.
 
75
 
76
- The source sample comes from a bounded portion of one pinned upstream subset; it is not a representative sample of all educational topics, domains, or languages. Validation/test rows here are accepted synthetic pairs: rejected and difficult candidate outcomes remain in the local audit ledger, not in this package. Consequently, these splits are not an unbiased measure of performance over the entire source population.
 
 
 
 
 
 
77
 
78
- Billing reconciliation remains pending for **2** request(s). Unknown charges remain reserved locally rather than assumed free. Operational completion is not the same as final review/release completion.
79
 
80
- ## Licensing, attribution, and source rights
81
 
82
- The upstream FineWeb-Edu database is distributed under the [Open Data Commons Attribution License (ODC-By) 1.0](https://opendatacommons.org/licenses/by/1-0/), subject also to [Common Crawl's Terms of Use](https://commoncrawl.org/terms-of-use). The `license: odc-by` metadata preserves the upstream database attribution context; **it does not grant blanket rights to every underlying web page or synthetic derivative**.
83
 
84
- Original web-page copyrights, privacy rights, and source-specific terms still apply. This draft does not relicense underlying source text or claim unrestricted commercial reuse or redistribution. Retain provenance and complete a source-rights review before changing visibility or redistributing the dataset. Provider/model terms also apply to synthetic generation and downstream use.
85
 
86
- Source attribution: 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).
87
 
88
- ## Loading the private draft
89
 
90
- Authenticate locally with access to this private repository, then:
91
 
92
- ```python
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
- Pin the Hugging Face commit revision for reproducible experiments. `manifest.json` records split counts, artifact checksums, protocol hashes, and review limitations. No API credentials, local job database, raw HTTP metadata, or human reviewer notes are included.
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": "private_experimental_draft",
4
  "repo_id": "helloboy91/summary-sft-10k",
5
- "required_visibility": "private",
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": false,
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": "a39e6f28d8db6007811ea40d8a947f5164a7d6a433c2cbd9b0fe980cc8020378",
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
  }