alt.freeweights.minicpm / UltraX-0.6B-Preview
From: openbmb <huggingface.co/openbmb>Newsgroups: alt.freeweights.minicpmSubject:

UltraX-0.6B-Preview

Date: 2026-11-15Commit: 18d7c03Signed: 2DC28CC7B26A283B ✓

Text generation model. Safetensors weights, 3.62 GB in all. Published by openbmb under Apache-2.0.

minicpm3.62GBUltraX-0.6B-Previewsafetensorspermissive
FactsParamsnot statedSize3.62 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get openbmb/UltraX-0.6B-Preview
# manifest sha256 8560fdfe05cd… · 3.62 GB · 58 files
$ fw verify ./UltraX-0.6B-Preview openbmb/UltraX-0.6B-Preview
From sourceHosted (signed)openbmb/UltraX-0.6B-PreviewLast check: 2026-11-15 04:34 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Overview

Size
3.62 GB
Weights
3.58 GB (safetensors)
Parameters
not stated
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
58, each with a sha256
Publisher
openbmb
Added
2026-11-15
Section
alt.freeweights.minicpm
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 04:34 UTCpassed

Model card

From the publisher at commit 18d7c03. Shown as plain text with links; images open at the publisher.

UltraX: Refining Pre-Training Data at Scale with Adaptive Programmatic Editing#

OpenBMB UltraData

UltraX Logo

πŸ“œ Paper | πŸ’» Code | πŸ€— Datasets | πŸ“¦ UltraData Collection

English | δΈ­ζ–‡

πŸ“š Introduction#

UltraX is a function-calling refinement framework for large-scale pre-training data. Instead of end-to-end text rewriting, 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 repository provides the UltraX refinement models, which are trained via full-parameter SFT to predict cleaning function calls for web-crawled text:

ModelDescription
UltraXDefault model: instruction-guided with edit-weighted sampling (main experiment)
UltraX-No-InstructionAblation variant: trained without system instruction
UltraX-Preservation-WeightedAblation variant: trained with preservation-weighted sampling (60% keep_all)

πŸ“’ News#

  • [2026.07.13] UltraX codebase, refinement model, and refined datasets are now available on GitHub and Hugging Face. πŸš€πŸš€πŸš€
  • [2026.07.10] UltraX technical report is available on arXiv. πŸ”₯πŸ”₯πŸ”₯

πŸ’‘ Highlights#

  • Function-Calling Refinement: Instead of end-to-end text rewriting, UltraX predicts structured editing operations (keep_all, remove_all, remove_lines, replace_str, add_line), enabling fine-grained instance-level editing with deterministic execution.
  • LAM + DCR Pipeline: Line Alignment and Mapping (LAM) aligns original and refined text at line level, while Dynamic Context Replacement (DCR) converts character-level edits into reliable replace_str operations with unique context anchoring.
  • Lightweight & Efficient: The refinement model is a standard SFT model that predicts structured function calls, significantly cheaper than end-to-end LLM rewriting while achieving superior performance.

πŸ”¬ Pipeline Overview#

Image: image

πŸ” Model Details#

All models are trained with the following configuration:

SettingValue
Training Frameworkms-swift with DeepSpeed ZeRO3
Training TypeFull-parameter SFT
Max Sequence Length20,480 tokens
Learning Rate3e-5 (cosine decay, min lr 3e-6)
Warmup Ratio0.03
Precisionbfloat16
Hardware8x GPU
Model Variants#
  • UltraX (Instruction-Guided, Edit-Weighted): The default configuration. The model is trained with a system instruction that defines the editing operations and cleaning rules, using edit-weighted sampling.
  • UltraX-No-Instruction: Trained without system instruction. Demonstrates that programmatic refinement brings clear gains even without explicit task protocol (Avg: 45.73 vs Raw 45.08), though instruction guidance further improves performance (Avg: 46.14).
  • UltraX-Preservation-Weighted: Trained with preservation-weighted sampling where keep_all accounts for 60% of training data. Shows stronger performance on certain tasks (ARC-C, ARC-E, OBQA, SciQ), demonstrating the trade-off between editing aggressiveness and content preservation.

πŸ“ˆ Evaluation Results#

Performance comparison on FineWeb (20B tokens, 1B MiniCPM, 10 benchmarks, zero-shot):

Image: image

Image: FineWeb Token Curve Average downstream performance on FineWeb under different training token budgets.

πŸ”§ Function Space#

The model predicts operations from the following function space:

FunctionDescription
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
Input/Output Format#

Input: Text with line number markers (<lid:N> prefix per line), preceded by a system instruction.

Output: A sequence of function calls, one per line. Example:

remove_lines(1, 3)
replace_str(5, 'Click here to subscribe', '')
remove_lines(12, 15)

πŸš€ Quick Start#

from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("openbmb/UltraX-0.6B-Preview")
tokenizer = AutoTokenizer.from_pretrained("openbmb/UltraX-0.6B-Preview")

❀️ Acknowledgements#

  • The refinement model is trained using ms-swift.
  • UltraX builds upon insights from ProX and RefineX.

Thanks for their awesome work! Open-source contributions make UltraX possible! πŸ™Œ

πŸ“– Citation#

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},
}

πŸ“œ License#

This project is licensed under the Apache 2.0 license.

Files

58 files Β· 3.62 GBWeights 3.58 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 58 files with their sha256
FileSizesha256
.gitattributes1.87 KB9a19acb5cb7e12414628da0f4f0388e3c82a895052031b8b28f296dcfe59d9a5
LICENSE11.3 KB202d02b14796563546e1a1d1e761410fa9e399bf7e1b85d8b43c972658341202
README.md6.80 KBcdd7764b72a38651d0ab6c7235a91ab00626003714f1c50e3449f1fd8b5e309d
README_ZH.md6.09 KBb128b48c8dfb690428f2c4121c0d32ece6dd84231ff582e7b054d555a94b5019
code/requirements.txt57 B24dddef7c40b23a170b9ce4bbcee347e36a5601123f553e4f6f521c685f0d71e
code/stage1_model_construction/e2e_refinement/refine_dataset.py6.88 KB221e7d059f845f3be4e8e702596974af1774784b95d2ecb8e3b7f9290e71aede
code/stage1_model_construction/function_construction/function_construction.py38.2 KB6ed11d66bc32afd63f8eb60053190f32137209d4720ee55c56028484d12c0b2e
code/stage1_model_construction/model_training/train.sh1.24 KBa497859aff5f25588a1cf0492327ce7164ba9846fd4eb115a076c4a5cb5b8529
code/stage1_model_construction/prompt_optimization/api_client.py4.82 KBafdfd4c1dce096f799c201b8d3101f2a3724695753b6b49f96045e5a4548a810
code/stage1_model_construction/prompt_optimization/config.py1.45 KBa4dae3d6e5ea0a3fb541c50bd22ddd48981fa5c275b6c1b8ab7d792395f5743a
code/stage1_model_construction/prompt_optimization/data_sampler.py3.07 KBd75b19b681e904b8ca89d1adc7d14ddf9644fe1180dad8f7cacba536fd51a8f4
code/stage1_model_construction/prompt_optimization/evaluator.py6.58 KBd28ffc30ac9fa90007764c32124c6cb8384ad87360a49a6d00322657d6eb4198
code/stage1_model_construction/prompt_optimization/main.py8.33 KBd07cc928d49cfe70d3e0ad4158afba194ce6b9db14df8379cc5f217eae1c55ee
code/stage1_model_construction/prompt_optimization/optimizer.py29.5 KB64a5c6e2a3a23472520b9a5613082a245d9ce8716b9c342144da097585cf2e35
code/stage1_model_construction/prompt_optimization/refinement_prompt_en.txt8.68 KB92eeb77776c963bb9d7f5dd59b79233672e235acb5079488d5b30ceee884ef03
code/stage1_model_construction/seed_preprocessing/sliding_window_splitter.py9.07 KB0a7a1c956aef3a6b7d01539bec3c2415ccb543b64b574c55be3e40c8da8e92b9
code/stage1_model_construction/sft_data_building/sample_and_format.py8.31 KBeaf84b79b4e579c5310bccf266116a61f3d6ec40ec0c6d1aa4bc788ef182b6cf
code/stage2_large_scale_execution/inference/inference.py34.2 KB0c6ed974bad6f4c5979bd2923eda7ead79ca192aea2004b5c6fbe25dbb848d79
code/stage2_large_scale_execution/post_processing/post_process_and_execute.py29.6 KB84a7501766e15c90cc837d6748a664d49605c08cc8381981d367a96a250b86b0
models/UltraX-No-Instruction/added_tokens.json707 Bc0284b582e14987fbd3d5a2cb2bd139084371ed9acbae488829a1c900833c680
models/UltraX-No-Instruction/args.json21.0 KB80116ded3909ceac1851e5abca2a8c4e8490afc47675888b497c263ea7148900
models/UltraX-No-Instruction/chat_template.jinja4.17 KBa55ee1b1660128b7098723e0abcd92caa0788061051c62d51cbe87d9cf1974d8
models/UltraX-No-Instruction/config.json1.36 KB07e111ca5ddda0c65ffb269903677c43a592ec36ea1067648b848148fa8a2b6e
models/UltraX-No-Instruction/generation_config.json214 B19d9395705449004ddebeeaf62841338a48cc8df85cddb1ca0b2c60396d95c96
models/UltraX-No-Instruction/merges.txt1.67 MB8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5
models/UltraX-No-Instruction/model.safetensors1.19 GB6659476674fe57befdc739da02e87eebaeeb8b7771c32955e1df897632186363
models/UltraX-No-Instruction/special_tokens_map.json613 B76862e765266b85aa9459767e33cbaf13970f327a0e88d1c65846c2ddd3a1ecd
models/UltraX-No-Instruction/tokenizer.json11.4 MBaeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
models/UltraX-No-Instruction/tokenizer_config.json5.40 KB443bfa629eb16387a12edbf92a76f6a6f10b2af3b53d87ba1550adfcf45f7fa0
models/UltraX-No-Instruction/trainer_state.json105 KB54503a8962db1387f5ae92a444810ffbac5dfe287523ed8bc8a21c3ff825383f
models/UltraX-No-Instruction/training_args.bin9.62 KB04cf2f27c2741e1e06fbd443035f69e6f550e1ba1d35ac83af7c8bd1df836777
models/UltraX-No-Instruction/vocab.json2.78 MBca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910
models/UltraX-Preservation-Weighted/added_tokens.json707 Bc0284b582e14987fbd3d5a2cb2bd139084371ed9acbae488829a1c900833c680
models/UltraX-Preservation-Weighted/args.json21.1 KB1dc01236fd86a31844050b0193ae7a117495201c51072960cc38e18a823a17a0
models/UltraX-Preservation-Weighted/chat_template.jinja4.17 KBa55ee1b1660128b7098723e0abcd92caa0788061051c62d51cbe87d9cf1974d8
models/UltraX-Preservation-Weighted/config.json1.36 KB07e111ca5ddda0c65ffb269903677c43a592ec36ea1067648b848148fa8a2b6e
models/UltraX-Preservation-Weighted/generation_config.json214 B19d9395705449004ddebeeaf62841338a48cc8df85cddb1ca0b2c60396d95c96
models/UltraX-Preservation-Weighted/merges.txt1.67 MB8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5
models/UltraX-Preservation-Weighted/model.safetensors1.19 GB0d2cb01af211ed9f0087761a904705d40a9ad80128bb499e1b4a3b30614e36ac
models/UltraX-Preservation-Weighted/special_tokens_map.json613 B76862e765266b85aa9459767e33cbaf13970f327a0e88d1c65846c2ddd3a1ecd
models/UltraX-Preservation-Weighted/tokenizer.json11.4 MBaeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
models/UltraX-Preservation-Weighted/tokenizer_config.json5.40 KB443bfa629eb16387a12edbf92a76f6a6f10b2af3b53d87ba1550adfcf45f7fa0
models/UltraX-Preservation-Weighted/trainer_state.json168 KBb6b070a18c7745416ceba4fbbef8f1bb2829e7ec0c2ce09cd10ed2736ac6417e
models/UltraX-Preservation-Weighted/training_args.bin9.68 KB3832c89bc01925f5362c6391db5e2275a8ffd105134fd1975fde3d32f410712e
models/UltraX-Preservation-Weighted/vocab.json2.78 MBca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910
models/UltraX/added_tokens.json707 Bc0284b582e14987fbd3d5a2cb2bd139084371ed9acbae488829a1c900833c680
models/UltraX/args.json21.1 KBa95e8b15b180206c51190a869025521409a799834de5c8a76eeb5d445d12da29
models/UltraX/chat_template.jinja4.17 KBa55ee1b1660128b7098723e0abcd92caa0788061051c62d51cbe87d9cf1974d8
models/UltraX/config.json1.36 KB07e111ca5ddda0c65ffb269903677c43a592ec36ea1067648b848148fa8a2b6e
models/UltraX/generation_config.json214 B19d9395705449004ddebeeaf62841338a48cc8df85cddb1ca0b2c60396d95c96
models/UltraX/merges.txt1.67 MB8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5
models/UltraX/model.safetensors1.19 GB282d3d6f01055e341482ca4f532c1739bf08cf7e24efce288003aca5869ce724
models/UltraX/special_tokens_map.json613 B76862e765266b85aa9459767e33cbaf13970f327a0e88d1c65846c2ddd3a1ecd
models/UltraX/tokenizer.json11.4 MBaeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
models/UltraX/tokenizer_config.json5.40 KB443bfa629eb16387a12edbf92a76f6a6f10b2af3b53d87ba1550adfcf45f7fa0
models/UltraX/trainer_state.json105 KBc3f94f54c12810131086caf134348227ef496e0961f0a56ff9562f0381921b97
models/UltraX/training_args.bin9.68 KB3471173a90c1af0c2a416e7d887f6fea0ce4f1683e6cb82a2bffebc2ff88efd6
models/UltraX/vocab.json2.78 MBca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
18d7c03559 pinned now2026-11-15 04:34 UTC58 files Β· 3.62 GB

Use it

$ fw get openbmb/UltraX-0.6B-Preview
# manifest sha256 8560fdfe05cd… · 3.62 GB · 58 files
$ fw verify ./UltraX-0.6B-Preview openbmb/UltraX-0.6B-Preview
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/openbmb/UltraX-0.6B-Preview.json --dir ./UltraX-0.6B-Preview $ python3 fw.py verify ./UltraX-0.6B-Preview ./openbmb__UltraX-0.6B-Preview.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download openbmb/UltraX-0.6B-Preview --revision 18d7c03559cea29ce4aac2741706b099819c5c68 --local-dir ./UltraX-0.6B-Preview

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
LICENSE
Text sha256
202d02b14796563546e1a1d1e761410fa9e399bf7e1b85d8b43c972658341202
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: openbmb <huggingface.co/openbmb>Newsgroups: alt.freeweights.minicpmSubject: UltraX-0.6B-PreviewDate: 2026-11-15Commit: 18d7c03Signed: 2DC28CC7B26A283B ✓
Upstream
openbmb/UltraX-0.6B-Preview
Pinned commit
18d7c03559cea29ce4aac2741706b099819c5c68
Manifest
UltraX-0.6B-Preview.json Β· .minisig
Manifest sha256
8560fdfe05cddc33ab6cb971cc4abde23f3cbb3a91582bd33f6226296af556a8
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 04:34 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/openbmb/UltraX-0.6B-Preview.json $ curl -O https://freeweights.allternit.com/manifests/openbmb/UltraX-0.6B-Preview.json.minisig $ minisign -Vm UltraX-0.6B-Preview.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download openbmb/UltraX-0.6B-Preview
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. UltraX-0.6B-Preview.json. Provenance. Takedown history: none.
From: openbmb <huggingface.co/openbmb>Subject: AgentCPM-Explore-GGUF
From: openbmb <huggingface.co/openbmb>Subject: AgentCPM-Report
From: openbmb <huggingface.co/openbmb>Subject: AgentCPM-Report-GGUF
From: openbmb <huggingface.co/openbmb>Subject: BitCPM-CANN-0.5B-gguf
From: openbmb <huggingface.co/openbmb>Subject: BitCPM-CANN-1B-gguf
From: openbmb <huggingface.co/openbmb>Subject: BitCPM-CANN-3B-gguf