Upload folder using huggingface_hub
Browse files- .gitattributes +4 -0
- README.md +164 -0
- align.jsonl +3 -0
- extend.jsonl +3 -0
- pretrain.jsonl +3 -0
- sft.jsonl +3 -0
.gitattributes
CHANGED
|
@@ -58,3 +58,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
align.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
extend.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
pretrain.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
sft.jsonl filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,164 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- zh
|
| 4 |
+
- en
|
| 5 |
+
license: apache-2.0
|
| 6 |
+
task_categories:
|
| 7 |
+
- text-generation
|
| 8 |
+
- question-answering
|
| 9 |
+
size_categories:
|
| 10 |
+
- 100K<n<1M
|
| 11 |
+
tags:
|
| 12 |
+
- llm-training
|
| 13 |
+
- pretrain
|
| 14 |
+
- sft
|
| 15 |
+
- dpo
|
| 16 |
+
- reasoning
|
| 17 |
+
- chain-of-thought
|
| 18 |
+
- bilingual
|
| 19 |
+
pretty_name: OpenBB-215K
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
# OpenBB-215K v0.1
|
| 23 |
+
|
| 24 |
+
**A Bilingual Training Dataset for End-to-End LLM Training Pipeline Research**
|
| 25 |
+
|
| 26 |
+
> Curated by [OpenBB](https://huggingface.co/OpenBB) • Seed: 42 • License: Apache 2.0
|
| 27 |
+
|
| 28 |
+
---
|
| 29 |
+
|
| 30 |
+
## Overview
|
| 31 |
+
|
| 32 |
+
**OpenBB-215K** is a curated, reproducible training dataset designed to drive the complete four-phase LLM training pipeline — pretrain, SFT, alignment, and reasoning extension — in a single, self-contained package. It provides balanced Chinese–English coverage across ~215,000 samples drawn from 9 publicly available sources.
|
| 33 |
+
|
| 34 |
+
The dataset is intentionally compact (~1.2 GB) to enable full-pipeline experiments on a single GPU within hours, while preserving the diversity and quality characteristics of production-scale training data.
|
| 35 |
+
|
| 36 |
+
---
|
| 37 |
+
|
| 38 |
+
## Dataset Composition
|
| 39 |
+
|
| 40 |
+
| Phase | Source | Samples | Language |
|
| 41 |
+
|-------|--------|---------|----------|
|
| 42 |
+
| **Pretrain** | FineWeb-Edu-Chinese v2.1 | 50,000 | zh |
|
| 43 |
+
| | FineWeb-Edu sample-10BT | 50,000 | en |
|
| 44 |
+
| **SFT** | SmolTalk-Chinese | 10,978 | zh |
|
| 45 |
+
| | UltraChat-200K | 39,022 | en |
|
| 46 |
+
| **Align** | UltraFeedback Binarized | 50,000 | en |
|
| 47 |
+
| **Extend** | Opus 4.6 Reasoning (filtered) | 2,326 | en |
|
| 48 |
+
| | STEM-Reasoning-Complex | 5,000 | en+zh |
|
| 49 |
+
| | Gemini 3 Pro Reasoning | 5,000 | en |
|
| 50 |
+
| | Gemini 3.1 Pro Reasoning | 3,120 | en |
|
| 51 |
+
| **Total** | **9 sources** | **~215,446** | **zh + en** |
|
| 52 |
+
|
| 53 |
+
---
|
| 54 |
+
|
| 55 |
+
## File Structure
|
| 56 |
+
|
| 57 |
+
```
|
| 58 |
+
openbb-215k/
|
| 59 |
+
├── README.md
|
| 60 |
+
├── pretrain.jsonl # 100K lines (50K zh + 50K en, shuffled)
|
| 61 |
+
├── sft.jsonl # 50K lines (11K zh + 39K en, shuffled)
|
| 62 |
+
├── align.jsonl # 50K lines (chosen/rejected preference pairs)
|
| 63 |
+
└── extend.jsonl # 15.4K lines (Chain-of-Thought reasoning)
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
---
|
| 67 |
+
|
| 68 |
+
## Data Format
|
| 69 |
+
|
| 70 |
+
### pretrain.jsonl — Pretraining corpus
|
| 71 |
+
```json
|
| 72 |
+
{"text": "A passage of educational text in Chinese or English..."}
|
| 73 |
+
```
|
| 74 |
+
|
| 75 |
+
### sft.jsonl — Supervised fine-tuning conversations
|
| 76 |
+
```json
|
| 77 |
+
{"conversations": [{"role": "user", "content": "..."}, {"role": "assistant", "content": "..."}]}
|
| 78 |
+
```
|
| 79 |
+
|
| 80 |
+
### align.jsonl — Preference pairs for DPO/RLHF
|
| 81 |
+
```json
|
| 82 |
+
{"chosen": [{"role": "user", "content": "..."}, {"role": "assistant", "content": "..."}],
|
| 83 |
+
"rejected": [{"role": "user", "content": "..."}, {"role": "assistant", "content": "..."}]}
|
| 84 |
+
```
|
| 85 |
+
|
| 86 |
+
### extend.jsonl — Chain-of-Thought reasoning
|
| 87 |
+
```json
|
| 88 |
+
{"instruction": "Problem statement...", "thinking": "Step-by-step reasoning...", "output": "Final answer..."}
|
| 89 |
+
```
|
| 90 |
+
|
| 91 |
+
| Field | Required | Description |
|
| 92 |
+
|-------|:--------:|-------------|
|
| 93 |
+
| `instruction` | ✅ | Problem or task description |
|
| 94 |
+
| `thinking` | ✅ | Chain-of-Thought reasoning process |
|
| 95 |
+
| `output` | ✅ | Final answer or solution |
|
| 96 |
+
|
| 97 |
+
---
|
| 98 |
+
|
| 99 |
+
## Sources & Attribution
|
| 100 |
+
|
| 101 |
+
All data is sourced from publicly available datasets on HuggingFace Hub.
|
| 102 |
+
|
| 103 |
+
| Source | HuggingFace ID | License |
|
| 104 |
+
|--------|---------------|---------|
|
| 105 |
+
| FineWeb-Edu-Chinese v2.1 | [`opencsg/Fineweb-Edu-Chinese-V2.1`](https://huggingface.co/datasets/opencsg/Fineweb-Edu-Chinese-V2.1) | Apache 2.0 |
|
| 106 |
+
| FineWeb-Edu sample-10BT | [`HuggingFaceFW/fineweb-edu`](https://huggingface.co/datasets/HuggingFaceFW/fineweb-edu) | ODC-By 1.0 |
|
| 107 |
+
| SmolTalk-Chinese | [`opencsg/Smoltalk-Chinese`](https://huggingface.co/datasets/opencsg/Smoltalk-Chinese) | Apache 2.0 |
|
| 108 |
+
| UltraChat-200K | [`HuggingFaceH4/ultrachat_200k`](https://huggingface.co/datasets/HuggingFaceH4/ultrachat_200k) | MIT |
|
| 109 |
+
| UltraFeedback Binarized | [`HuggingFaceH4/ultrafeedback_binarized`](https://huggingface.co/datasets/HuggingFaceH4/ultrafeedback_binarized) | MIT |
|
| 110 |
+
| Opus 4.6 Reasoning | [`nohurry/Opus-4.6-Reasoning-3000x-filtered`](https://huggingface.co/datasets/nohurry/Opus-4.6-Reasoning-3000x-filtered) | Community |
|
| 111 |
+
| STEM-Reasoning-Complex | [`galaxyMindAiLabs/stem-reasoning-complex`](https://huggingface.co/datasets/galaxyMindAiLabs/stem-reasoning-complex) | Community |
|
| 112 |
+
| Gemini 3 Pro Reasoning | [`Roman1111111/gemini-3-pro-10000x-hard-high-reasoning`](https://huggingface.co/datasets/Roman1111111/gemini-3-pro-10000x-hard-high-reasoning) | Community |
|
| 113 |
+
| Gemini 3.1 Pro Reasoning | [`Roman1111111/gemini-3.1-pro-hard-high-reasoning`](https://huggingface.co/datasets/Roman1111111/gemini-3.1-pro-hard-high-reasoning) | Community |
|
| 114 |
+
|
| 115 |
+
> Extend phase reasoning data is sourced from community-contributed synthetic datasets publicly available on HuggingFace Hub.
|
| 116 |
+
|
| 117 |
+
---
|
| 118 |
+
|
| 119 |
+
## Reproducibility
|
| 120 |
+
|
| 121 |
+
The dataset is fully reproducible from public sources:
|
| 122 |
+
|
| 123 |
+
```bash
|
| 124 |
+
python openbb/tools/build_openbb_215k.py
|
| 125 |
+
```
|
| 126 |
+
|
| 127 |
+
All sampling uses `random.seed(42)` and streams data directly from HuggingFace Hub. Running the build script on any machine will produce identical output.
|
| 128 |
+
|
| 129 |
+
---
|
| 130 |
+
|
| 131 |
+
## Quick Start
|
| 132 |
+
|
| 133 |
+
```bash
|
| 134 |
+
# Phase 1: Pretrain
|
| 135 |
+
bb train tier=nano stage=pretrain data_path=openbb/data/openbb-215k/pretrain.jsonl
|
| 136 |
+
|
| 137 |
+
# Phase 2: Supervised Fine-Tuning
|
| 138 |
+
bb train tier=nano stage=sft data_path=openbb/data/openbb-215k/sft.jsonl
|
| 139 |
+
|
| 140 |
+
# Phase 3: Preference Alignment (DPO)
|
| 141 |
+
bb train tier=nano stage=align method=dpo data_path=openbb/data/openbb-215k/align.jsonl
|
| 142 |
+
|
| 143 |
+
# Phase 4: Reasoning Extension (CoT)
|
| 144 |
+
bb train tier=nano stage=extend method=reason data_path=openbb/data/openbb-215k/extend.jsonl
|
| 145 |
+
```
|
| 146 |
+
|
| 147 |
+
---
|
| 148 |
+
|
| 149 |
+
## Citation
|
| 150 |
+
|
| 151 |
+
```bibtex
|
| 152 |
+
@misc{openbb215k,
|
| 153 |
+
title = {OpenBB-215K: A Bilingual Training Dataset for End-to-End LLM Pipeline Research},
|
| 154 |
+
author = {OpenBB Team},
|
| 155 |
+
year = {2026},
|
| 156 |
+
url = {https://huggingface.co/datasets/OpenBB/OpenBB-215K},
|
| 157 |
+
}
|
| 158 |
+
```
|
| 159 |
+
|
| 160 |
+
---
|
| 161 |
+
|
| 162 |
+
## License
|
| 163 |
+
|
| 164 |
+
This dataset is released under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). Individual source datasets retain their original licenses as listed in the attribution table above.
|
align.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:51c5f2cba7da045b881aa4bfc999410031b398ffaa5b98e7eb54abc015935a62
|
| 3 |
+
size 200490619
|
extend.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:61f4463055e7a599123d28278efa21b57897fa64011ff322d102e28b0ed62126
|
| 3 |
+
size 263762936
|
pretrain.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5061af610a23c95ba5b9ae684ea7d0ea709d1c9419d6ec669bfd8686a4602b4d
|
| 3 |
+
size 456639665
|
sft.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5f2be95d7db3b0ad505374de5e0f13ce3f1bd9be3e189f86d4f423fd3ee14fe7
|
| 3 |
+
size 292381815
|