282
stars
141
commits
2
linked in READMEs
Jul 17, 2026
updated
π Paper | π» Code | π€ Models | π¦ UltraData Collection
English | δΈζ
UltraX is a function-calling refinement framework for large-scale pre-training data that adaptively generates and executes editing functions for efficient instance-wise refinement. Unlike rule-based or end-to-end LLM rewriting methods, UltraX trains a lightweight refinement model to predict structured editing operations β including insertion, deletion, and modification β which are then deterministically executed on the original text.
This dataset collection contains five English pre-training corpora refined by UltraX, each with ~20B tokens:
| Dataset | Source Corpus | Description |
|---|---|---|
| UltraX-FineWeb | FineWeb | Large-scale Common Crawl web corpus |
| UltraX-RedPajama-V2 | RedPajama-v2 | Multi-source web corpus |
| UltraX-AICC | AICC | HTML-parsed high-fidelity web corpus |
| UltraX-Ultra-FineWeb | Ultra-FineWeb | Quality-filtered FineWeb corpus |
| UltraX-FineWeb-ProX-Doc | FineWeb-ProX-Doc | ProX document-level refined corpus |
keep_all, remove_all, remove_lines, replace_str, add_line), enabling fine-grained instance-level editing with deterministic execution.replace_str operations with unique context anchoring.
We pretrain 1B-parameter MiniCPM models from scratch on 20B tokens for each corpus and evaluate on 10 benchmarks (ARC-C, ARC-E, CSQA, HellaSwag, MMLU, OBQA, PIQA, SIQA, WinoGrande, SciQ) using LightEval with zero-shot setting.
Key findings:
Average downstream performance on FineWeb under different training token budgets.
Each parquet file contains 5 columns:
| Column | Type | Description |
|---|---|---|
uid | string | Unique identifier (MD5 hash of raw_content) |
raw_content | string | Original text before refinement |
cleaned_content | string | Text after UltraX refinement |
processed_functions | string | The editing operations applied |
source | string | Source corpus name |
You can load the dataset directly from Hugging Face:
from datasets import load_dataset
# Load UltraX-FineWeb
ds = load_dataset("openbmb/UltraX", "UltraX-FineWeb", split="train")
# Load UltraX-RedPajama-V2
ds = load_dataset("openbmb/UltraX", "UltraX-RedPajama-V2", split="train")
# Load UltraX-AICC
ds = load_dataset("openbmb/UltraX", "UltraX-AICC", split="train")
# Load UltraX-Ultra-FineWeb
ds = load_dataset("openbmb/UltraX", "UltraX-Ultra-FineWeb", split="train")
# Load UltraX-FineWeb-ProX-Doc
ds = load_dataset("openbmb/UltraX", "UltraX-FineWeb-ProX-Doc", split="train")
The UltraX refinement model predicts operations from the following function space:
| Function | Description |
|---|---|
keep_all() | Document needs no modification |
remove_all() | Entire document is valueless (e.g., error pages, login walls) |
remove_lines(start, end) | Remove consecutive lines from start to end (inclusive) |
replace_str(line, old, new) | Replace a substring within a specific line |
add_line(base, sub_idx, content) | Insert a new line near the base position |
Thanks for their awesome work! Open-source contributions make UltraX possible! π
If you find our work useful, please consider citing:
@misc{ultrax2026,
title={UltraX: Refining Pre-Training Data at Scale with Adaptive Programmatic Editing},
author={Xinlong Zhao and Dongsheng Liu and Hengyu Zhao and Zixuan Fu and Zheng Wang and Jie Cai and Jie Zhou and Qiang Ma and Xuanhe Zhou and Xu Han and Yudong Wang and Zhiyuan Liu},
year={2026},
eprint={2607.08646},
archivePrefix={arXiv},
primaryClass={cs.CL},
}
This project is licensed under the Apache 2.0 license. Please note that since UltraX datasets are built upon multiple source corpora, users should check the LICENSE of each source dataset individually to ensure proper usage and compliance.
No unauthorized unchanged redistribution: Without prior written permission from the original authors (or this organization), any institution, organization, or third-party platform is strictly prohibited from directly reposting, mirroring, re-hosting, or commercially repackaging and republishing any artifacts of this project in any form.
282
stars
141
commits
2
linked in READMEs
Jul 17, 2026
updated
π Paper | π» Code | π€ Models | π¦ UltraData Collection
English | δΈζ
UltraX is a function-calling refinement framework for large-scale pre-training data that adaptively generates and executes editing functions for efficient instance-wise refinement. Unlike rule-based or end-to-end LLM rewriting methods, UltraX trains a lightweight refinement model to predict structured editing operations β including insertion, deletion, and modification β which are then deterministically executed on the original text.
This dataset collection contains five English pre-training corpora refined by UltraX, each with ~20B tokens:
| Dataset | Source Corpus | Description |
|---|---|---|
| UltraX-FineWeb | FineWeb | Large-scale Common Crawl web corpus |
| UltraX-RedPajama-V2 | RedPajama-v2 | Multi-source web corpus |
| UltraX-AICC | AICC | HTML-parsed high-fidelity web corpus |
| UltraX-Ultra-FineWeb | Ultra-FineWeb | Quality-filtered FineWeb corpus |
| UltraX-FineWeb-ProX-Doc | FineWeb-ProX-Doc | ProX document-level refined corpus |
keep_all, remove_all, remove_lines, replace_str, add_line), enabling fine-grained instance-level editing with deterministic execution.replace_str operations with unique context anchoring.
We pretrain 1B-parameter MiniCPM models from scratch on 20B tokens for each corpus and evaluate on 10 benchmarks (ARC-C, ARC-E, CSQA, HellaSwag, MMLU, OBQA, PIQA, SIQA, WinoGrande, SciQ) using LightEval with zero-shot setting.
Key findings:
Average downstream performance on FineWeb under different training token budgets.
Each parquet file contains 5 columns:
| Column | Type | Description |
|---|---|---|
uid | string | Unique identifier (MD5 hash of raw_content) |
raw_content | string | Original text before refinement |
cleaned_content | string | Text after UltraX refinement |
processed_functions | string | The editing operations applied |
source | string | Source corpus name |
You can load the dataset directly from Hugging Face:
from datasets import load_dataset
# Load UltraX-FineWeb
ds = load_dataset("openbmb/UltraX", "UltraX-FineWeb", split="train")
# Load UltraX-RedPajama-V2
ds = load_dataset("openbmb/UltraX", "UltraX-RedPajama-V2", split="train")
# Load UltraX-AICC
ds = load_dataset("openbmb/UltraX", "UltraX-AICC", split="train")
# Load UltraX-Ultra-FineWeb
ds = load_dataset("openbmb/UltraX", "UltraX-Ultra-FineWeb", split="train")
# Load UltraX-FineWeb-ProX-Doc
ds = load_dataset("openbmb/UltraX", "UltraX-FineWeb-ProX-Doc", split="train")
The UltraX refinement model predicts operations from the following function space:
| Function | Description |
|---|---|
keep_all() | Document needs no modification |
remove_all() | Entire document is valueless (e.g., error pages, login walls) |
remove_lines(start, end) | Remove consecutive lines from start to end (inclusive) |
replace_str(line, old, new) | Replace a substring within a specific line |
add_line(base, sub_idx, content) | Insert a new line near the base position |
Thanks for their awesome work! Open-source contributions make UltraX possible! π
If you find our work useful, please consider citing:
@misc{ultrax2026,
title={UltraX: Refining Pre-Training Data at Scale with Adaptive Programmatic Editing},
author={Xinlong Zhao and Dongsheng Liu and Hengyu Zhao and Zixuan Fu and Zheng Wang and Jie Cai and Jie Zhou and Qiang Ma and Xuanhe Zhou and Xu Han and Yudong Wang and Zhiyuan Liu},
year={2026},
eprint={2607.08646},
archivePrefix={arXiv},
primaryClass={cs.CL},
}
This project is licensed under the Apache 2.0 license. Please note that since UltraX datasets are built upon multiple source corpora, users should check the LICENSE of each source dataset individually to ensure proper usage and compliance.
No unauthorized unchanged redistribution: Without prior written permission from the original authors (or this organization), any institution, organization, or third-party platform is strictly prohibited from directly reposting, mirroring, re-hosting, or commercially repackaging and republishing any artifacts of this project in any form.