AIAny
Icon for item

UltraX (openbmb/UltraX-Preview)

Refines large-scale English pretraining corpora by predicting per-instance structured edits (insert, delete, replace) and deterministically applying them to produce cleaner text for LLM training. Provides five ~20B-token refined corpora in parquet with edit metadata and simple loading configs.

Introduction

High-quality pretraining data still strongly affects downstream LLM performance, but manual or rule-based cleaning does not scale. UltraX reframes dataset refinement as a function-calling problem: a lightweight refinement model predicts structured editing operations for each instance (keep_all, remove_all, remove_lines, replace_str, add_line), and a deterministic executor applies those edits at scale to produce cleaned corpora.

What Sets It Apart
  • Function-space refinement rather than end-to-end rewriting: predicting explicit edit operations yields deterministic, auditable changes so users can inspect and re-run edits or revert them.
  • Line Alignment & Mapping (LAM) + Dynamic Context Replacement (DCR): these components convert character-level diffs into robust replace_str and add_line operations that tolerate sliding-window inference and document fragmentation during large-scale processing.
  • Large-scale engineering for reliability: overlap-aware aggregation, ambiguity filtering, same-line merge rules and duplicate-pattern detection enable execution across tens of billions of tokens with deterministic outputs.
  • Empirical impact: 1B-parameter pretraining experiments reported consistent average gains (~2% relative) across multiple downstream benchmarks, showing improved data efficiency compared with raw and alternative refined corpora.
Who it's for & Trade-offs

Great fit if you need reproducible, inspectable cleaned pretraining text for LLM pretraining, want edit-level provenance (which edits applied where), or need parquet-ready datasets with metadata for pipeline integration. Look elsewhere if you require multilingual coverage (UltraX focuses on English) or prefer purely human-curated cleaning—programmatic edits can still miss nuanced contextual issues and rely on source-license compatibility. Also check source-corpus licenses before redistribution: the project uses multiple upstream corpora and applies an Apache-2.0 wrapper but urges compliance with each source license.

Practical notes

The Hugging Face collection provides multiple configs (UltraX-FineWeb, UltraX-RedPajama-V2, UltraX-AICC, UltraX-Ultra-FineWeb, UltraX-FineWeb-ProX-Doc). Each parquet row includes uid, raw_content, cleaned_content, processed_functions and source, letting downstream users filter, audit, or replay edits. The project ships code, a refinement model, and example model checkpoints to reproduce evaluation results; typical users will treat UltraX as a data-preparation step prior to tokenization and model training.

Information

Categories

More Items

Hugging Face

Provides a 1 trillion-token multimodal interleaved dataset (HTML subset updated as data_v1_1 with 742B HTML tokens) and 3.4B images drawn from HTML/PDF/ArXiv sources for multimodal pretraining; released under CC-BY-4.0 with safety and deduplication guidance.

Hugging Face

Provides 369 Harbor sandbox tasks ported from OpenAI's openai/math: each task is a Lean theorem with missing `sorry` proofs that an agent must complete, graded by a strict Comparator exact-match verifier. Includes task definitions, generator, and manifest for RL/code-agent evaluation.

Hugging Face

Curated English Wikipedia text prepared for language-model training and evaluation, provided in WikiText-2 and WikiText-103 variants. Preserves original case, punctuation and numbers; offers raw and tokenized splits for long-range language modeling under a CC BY‑SA license.