Run this model with HF Jobs
Run SupraLabs/Supra2.5-Ultra-Base on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/SupraLabs/Supra2.5-Ultra-Base. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/SupraLabs/Supra2.5-Ultra-Base on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/SupraLabs/Supra2.5-Ultra-Base. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/SupraLabs/Supra2.5-Ultra-Base. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use SupraLabs/Supra2.5-Ultra-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SupraLabs/Supra2.5-Ultra-Base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="SupraLabs/Supra2.5-Ultra-Base") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("SupraLabs/Supra2.5-Ultra-Base") model = AutoModelForCausalLM.from_pretrained("SupraLabs/Supra2.5-Ultra-Base", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use SupraLabs/Supra2.5-Ultra-Base with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "SupraLabs/Supra2.5-Ultra-Base" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SupraLabs/Supra2.5-Ultra-Base", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/SupraLabs/Supra2.5-Ultra-Base
- SGLang
How to use SupraLabs/Supra2.5-Ultra-Base with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "SupraLabs/Supra2.5-Ultra-Base" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SupraLabs/Supra2.5-Ultra-Base", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "SupraLabs/Supra2.5-Ultra-Base" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SupraLabs/Supra2.5-Ultra-Base", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use SupraLabs/Supra2.5-Ultra-Base with Docker Model Runner:
docker model run hf.co/SupraLabs/Supra2.5-Ultra-Base
Supra2.5 Ultra
Supra2.5 Ultra, is a compact base language model trained from scratch by SupraLabs on a mixture of web text, synthetic educational content, code, and mathematics. It combines a Qwen3-compatible decoder with a custom 32,000-token byte-level BPE tokenizer.
Benchmarks
Full INT: 25.799087 (25.80) at step 273,085.
| Model | Parameters | ARC-Easy | ARC-Challenge | PIQA | HellaSwag | ArithMark-3 | INT |
|---|---|---|---|---|---|---|---|
| GPT-X3-150M | 149.0M | 59.64% | 31.31% | 71.33% | 46.16% | 50.90% | 33.05 |
| SmolLM2-135M | 135.0M | 58.63% | 29.69% | 68.44% | 43.22% | 39.20% | 27.13 |
| Supra2.5 Ultra (Base) | 148.9M | 53.70% | 27.22% | 69.10% | 41.96% | 39.70% | 25.80 |
| SmolLM-135M | 135.0M | 56.31% | 29.01% | 68.28% | 42.70% | 36.80% | 25.74 |
| MobileLLM-R1-140M-base | 140.0M | 49.92% | 24.74% | 63.22% | 33.84% | 65.70% | 24.64 |
| GPT-X2-125M | 125.0M | 51.47% | 27.82% | 67.30% | 40.41% | 37.20% | 23.36 |
| Supra2-100M-Base | 100.7M | 47.81% | 24.83% | 65.40% | 35.98% | 36.90% | 19.41 |
| OPT-125M | 125.0M | 40.28% | 22.70% | 62.24% | 31.31% | 35.20% | 13.80 |
| GPT-2 | 124.0M | 39.35% | 22.35% | 62.08% | 31.26% | 35.70% | 13.58 |
| Pythia-160M | 162.3M | 39.65% | 23.63% | 61.97% | 30.27% | 35.10% | 13.31 |
Model details
Overview
| Property | Value |
|---|---|
| Developer | SupraLabs |
| Model type | Base causal language model |
| Parameters | 148,859,648, counting tied embeddings once |
| Primary language | English; training also includes programming languages |
| Completed run budget | 150,000,000,000 tokens |
| Checkpoint step | 273,085 |
| Context length | 2,048 tokens |
| Training precision | BF16 with TF32 enabled |
| Published weights | FP32, preserving checkpoint weights exactly |
| License | Apache 2.0 |
Architecture
| Setting | Value |
|---|---|
| Transformers class | Qwen3ForCausalLM |
| Decoder layers | 16 |
| Hidden width | 768 |
| Feed-forward width | 2,688 |
| Activation | SwiGLU |
| Query heads | 12 |
| Key/value heads | 4, grouped-query attention |
| Head dimension | 64 |
| Vocabulary size | 32,000 |
| Position encoding | RoPE, theta = 100,000 |
| Normalization | RMSNorm and per-head QK normalization |
| RMSNorm epsilon | 1e-6 |
| Input/output embeddings | Tied |
Ultra uses Qwen3-style block components with its own dimensions and tokenizer. It was trained from scratch rather than initialized from Qwen model weights. The export loads through standard Transformers without custom remote code.
Training data
The archived configuration uses the following token mixture. The final column shows the allocation for the complete 150B-token run.
| Source | Share | Full-run allocation |
|---|---|---|
| Ultra-FineWeb, English | 45% | 67.5B tokens |
DCLM dclm_100bt |
25% | 37.5B tokens |
Cosmopedia V2 from smollm-corpus |
10% | 15B tokens |
| UltraData-Code L2 | 15% | 22.5B tokens |
| UltraData-Math L1 | 5% | 7.5B tokens |
The code mixture covers Python, JavaScript, Java, C++, C#, Go, PHP, Rust, Ruby, Shell, and R. Training uses a custom frozen tokenizer and pretokenized shards. Dataset licenses and upstream content terms remain separate from the model license.
Training procedure
Settings below describe the archived configuration for this checkpoint.
| Setting | Value |
|---|---|
| Optimizer | Muon2 for matrix weights, AdamW for embeddings and normalization weights |
| Peak AdamW learning rate | 6e-4 |
| Minimum AdamW learning rate | 6e-5 |
| Peak Muon2 learning rate | 0.02 |
| AdamW betas | 0.9, 0.95 |
| Muon2 betas | 0.95, 0.95 |
| Muon2 Newton–Schulz iterations | 3 |
| Schedule | Token-based warm-up followed by cosine decay |
| Warm-up | 1B tokens |
| Global batch | 256 sequences × 2,048 tokens = 524,288 tokens |
| Weight decay | 0.1 |
| Gradient clipping | 1.0 |
| Optimizations | torch.compile, native RMSNorm, cuDNN attention |
Usage
The example uses the standard Transformers API and selects BF16 on supported CUDA devices, with FP32 as the fallback.
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "SupraLabs/Supra2.5-Ultra-Base"
device = "cuda" if torch.cuda.is_available() else "cpu"
dtype = (
torch.bfloat16
if device == "cuda" and torch.cuda.is_bf16_supported()
else torch.float32
)
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, dtype=dtype)
model = model.to(device).eval()
prompt = "The capital of France is"
inputs = tokenizer(prompt, return_tensors="pt").to(device)
with torch.inference_mode():
output = model.generate(
**inputs,
max_new_tokens=128,
do_sample=True,
temperature=0.8,
top_p=0.95,
top_k=50,
)
print(tokenizer.decode(output[0], skip_special_tokens=True))
This export was validated with Transformers 5.20.2. Use plain-text continuation prompts; these base weights do not have a chat template. Keep the combined prompt and generation within the 2,048-token context window.
Checkpoint files and verification
| File or directory | Contents |
|---|---|
model.safetensors |
Exact FP32 model weights |
config.json |
Transformers architecture and checkpoint metadata |
tokenizer.json and tokenizer configuration |
The matching 32K tokenizer |
The export preserves the source model tensors exactly. A local FP32 check found identical logits between the native model and the Transformers export on the validation prompt. Resuming the full training checkpoint requires the Supra training code and matching tokenized datasets; the archived configuration retains the original machine's paths.
Intended use and limitations
Ultra is intended for continued pretraining, supervised fine-tuning, small-model research, and text-completion experiments. Its size makes it practical to inspect and adapt on modest hardware.
It can produce incorrect facts, repetitive completions, and biased or inappropriate text. Its benchmark results do not establish reliable instruction following, multilingual performance, or general mathematical reasoning. Task-specific evaluation is needed before deployment.
Explore more models at SupraLabs.
Credits:
- AxionLab: code and management
- Local-Axiom-AI: compute
- Downloads last month
- -