Downloads · 30 days
259
22% of all-time downloads
UraionLabs/uraion-forge-2b
uraion-forge-2b is a text generation model from UraionLabs. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Downloads · 30 days
259
22% of all-time downloads
All-time downloads
1.2K
Public
Parameters
2.5B
5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors5 GB · 100%
From the Hugging Face model README
Developed by Uraion Labs
Uraion Forge 2B is an ultra-compact, high-performance language model engineered specifically for edge execution, multi-turn agentic tool calling, and high-throughput quantitative reasoning. Developed by Uraion Labs, Forge 2B transforms a 2-billion parameter foundation into a deterministic, production-grade sub-agent.
Built on the robust MiniCPM5-2B architecture (Llama-style transformer with Grouped-Query Attention and 131k RoPE context), Forge 2B features targeted post-training regularizations that resolve the most notorious failure modes of small reasoning models: token-budget exhaustion ("runaway thinking"), parameter hallucination, and multi-turn state drift.
Whether deployed across enterprise production clusters via PyTorch / Transformers / vLLM, or on edge devices, Uraion Forge 2B delivers enterprise-tier agentic reliability with deterministic execution.
| Package | Format / Framework | Primary Use Case | Target Hardware | Repository Link |
|---|---|---|---|---|
| Base Model (This Repo) | Safetensors (BF16 / FP16) | Universal deployment, PyTorch, Transformers, vLLM, SGLang, TGI | NVIDIA GPUs (CUDA), AMD (ROCm), Linux, Windows, macOS | **** |
| Apple Silicon Native | MLX (4-bit, 8-bit, 16-bit) | Bare-metal Mac inference (90-120+ tok/s), unified memory | Apple Silicon (M1/M2/M3/M4/M5/M6) | **** |
| GGUF & Dynamic Quants | GGUF (Q2 to F16) | Ollama, llama.cpp, LM Studio, mobile / low-VRAM edge | CPU, Metal, Vulkan, Edge Devices | **** |
<think>...</think> tokens proportionally to task complexity, or bypass internal CoT entirely for instant, direct programmatic answers.CONFLICT $\to$ re-read $\to$ re-acquire locks), idempotent retry handling, and complex multi-parameter JSON schema adherence.'?'.| Parameter | Specification | Notes |
|---|---|---|
| Base Architecture | MiniCPM5-2B (LlamaForCausalLM) | Pinned commit abe115e887989b14f05e64a3b260648329324c3f |
| Active Parameters | 2,048,286,720 (2.05B) | Full model active during forward pass |
| Layers | 42 | Transformer decoder layers |
| Hidden Dimension | 2048 | Model representation width |
| Intermediate Dimension | 6144 | SwiGLU feed-forward projection |
| Attention Heads | 16 Query Heads / 2 Key-Value Heads | Grouped-Query Attention (GQA 8:1) |
| Context Window | 16,384 native tokens (131k RoPE ceiling) | Tested up to 32k retrieval needles |
| Vocab Size | 73,440 tokens | SentencePiece / BPE vocabulary |
| Precision Formats | bfloat16 / float16 / float32 / 8-bit quantized | Native MLX safetensors & PyTorch weights |
| Target Hardware | Apple Silicon (M1/M2/M3/M4/M5/M6) & CUDA GPUs | Sub-second cold start on edge hardware |
| License | Apache 2.0 | Commercial and open-source permissive |
mlx-lm)Uraion Forge 2B is natively tuned for Apple Silicon Unified Memory via Apple's MLX framework:
pip install mlx-lm
from mlx_lm import load, generate
# 1. Load Forge 2B
model, tokenizer = load("uraionlabs/uraion-forge-2b")
# 2. Prepare structured chat prompt
messages = [
{
"role": "system",
"content": "You are Uraion Forge, an advanced autonomous reasoning and coding assistant developed by Uraion Labs."
},
{
"role": "user",
"content": "Write an efficient Python class implementing an asynchronous ring buffer with thread-safe append and pop methods."
}
]
prompt_text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
# 3. Generate response with optimal temperature
response = generate(
model=model,
tokenizer=tokenizer,
prompt=prompt_text,
max_tokens=1024,
temp=0.2,
verbose=True
)
print(response)
Deploy on NVIDIA GPUs or CPU instances using standard Hugging Face Transformers:
pip install transformers torch accelerate
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
device = "cuda" if torch.cuda.is_available() else "cpu"
dtype = torch.bfloat16 if torch.cuda.is_available() else torch.float32
# Load tokenizer and model
tokenizer = AutoTokenizer.from_pretrained("uraionlabs/uraion-forge-2b", trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
"uraionlabs/uraion-forge-2b",
torch_dtype=dtype,
device_map="auto" if device == "cuda" else None,
trust_remote_code=True
)
if device != "cuda":
model.to(device)
# Formulate prompt
messages = [
{
"role": "system",
"content": "You are Uraion Forge, an advanced autonomous reasoning and coding assistant developed by Uraion Labs."
},
{
"role": "user",
"content": "Write an optimized Python algorithm for computing rolling volume-weighted average price (VWAP) over streaming ticks."
}
]
inputs = tokenizer.apply_chat_template(
messages,
tokenize=True,
add_generation_prompt=True,
return_tensors="pt"
).to(device)
with torch.no_grad():
outputs = model.generate(
inputs,
max_new_tokens=1024,
temperature=0.2,
top_p=0.9,
do_sample=True,
pad_token_id=tokenizer.eos_token_id
)
response = tokenizer.decode(outputs[0][inputs.shape[1]:], skip_special_tokens=True)
print(response)
Uraion Forge 2B supports deterministic JSON function calling and zero-hallucination clarification loops:
import json
# Define your tools schema
tools = [
{
"type": "function",
"function": {
"name": "query_timeseries_metric",
"description": "Query historical metric time series data for an asset or system component.",
"parameters": {
"type": "object",
"properties": {
"asset_id": {"type": "string", "description": "Asset or cluster symbol."},
"metric_name": {"type": "string", "description": "Metric name (e.g., 'volume_vwap', 'latency_p99')."},
"window_minutes": {"type": "integer", "description": "Window duration (1 to 1440 minutes)."}
},
"required": ["asset_id", "metric_name"]
}
}
}
]
system_prompt = (
"You are Uraion Forge, an autonomous agent capable of utilizing external tools and APIs.\n"
"When invoking a tool, respond with a JSON markdown code block matching the specified schema.\n"
"If a required parameter is omitted by the user, DO NOT guess or hallucinate the parameter; "
"instead, formulate a concise, direct clarification query terminating with a question mark ('?').\n\n"
f"Available Tools:\n{json.dumps(tools, indent=2)}"
)
# Example 1: Fully-specified query -> Generates structured JSON tool call
user_msg_1 = "Retrieve the 60-minute volume_vwap metric for asset 'URAI-ALPHA'."
# Forge 2B Output:
# ```json
# {
# "name": "query_timeseries_metric",
# "arguments": {
# "asset_id": "URAI-ALPHA",
# "metric_name": "volume_vwap",
# "window_minutes": 60
# }
# }
# ```
# Example 2: Missing required parameter -> Generates clarification query ending in '?'
user_msg_2 = "Query the timeseries metric for asset 'URAI-ALPHA'."
# Forge 2B Output:
# "Which metric_name (such as 'volume_vwap' or 'latency_p99') would you like to query for asset 'URAI-ALPHA'?"
Uraion Forge 2B was rigorously evaluated across unseen confirmation benchmarks, development suites, and general capability retention probes.
Evaluated on 41 sealed, held-out tasks (20 programmatic coding specifications and 21 multi-turn agentic workflows across 6 distinct software environments):
| Mode / Configuration | Task Domain | Pass Rate | Successful / Total | Truncated Turns | Generation Latency |
|---|---|---|---|---|---|
| Agentic Tool Confirmation (Primary) | Tool Workflows | 90.5% | 19 / 21 | 2 / 21 | 2,043s |
| Agentic Tool Confirmation (Secondary) | Tool Workflows | 61.9% | 13 / 21 | 0 / 21 | 273s |
| Concise Code Generation (Secondary) | Direct Coding | 35.0% | 7 / 20 | 2 / 20 | 368s |
| Unconstrained Thinking Coding (Primary) | Direct Coding | 15.0% | 3 / 20 | 16 / 20 | 4,076s |
[!TIP] Production Recommendation: For direct code synthesis and programmatic calculations, operate the model in Secondary Mode (
thinking: false). This reduces truncation errors by 87.5% (from 16 down to 2) and increases execution throughput tenfold. For complex multi-turn API workflows requiring state tracking, enable Primary Mode (thinking: true) for 90.5% tool reliability.
To verify that specialized agentic training did not degrade foundation capabilities, Forge 2B was audited across the 252-probe General Retention Suite against the untouched base foundation:
| Evaluation Domain | Base Model | Uraion Forge 2B | Delta | Status |
|---|---|---|---|---|
| Long-Context Needle Retrieval (16k–32k) | 58.3% (7/12) | 75.0% (9/12) | +16.7 pp | 🚀 Substantial Gain |
| Multiple Choice Reasoning (MMLU subset) | 60.1% (137/228) | 58.8% (134/228) | -1.3 pp | ✅ Preserved |
| Structured JSON Schema Extraction | 91.7% (11/12) | 83.3% (10/12) | -8.4 pp | ✅ Retained |
| Zero-Truncation Reliability Rate | 100.0% (252/252) | 100.0% (252/252) | 0.0 pp | ✅ 100% Valid Completion |
Every release artifact is structurally audited across 381 tensor weights:
http://127.0.0.1:8899/v1) across structured JSON output, sandboxed Python code execution, and multi-turn native tool calls.Uraion Forge 2B is trained to excel at general quantitative, mathematical, and algorithmic reasoning:
409 Conflict), and asynchronous job polling.If you use Uraion Forge 2B in your research or applications, please cite:
@misc{uraionlabs2026forge2b,
title={Uraion Forge 2B: High-Throughput Quantitative Reasoning and Autonomous Agentic Tool Inference at the Edge},
author={{Uraion Labs Technical Team}},
year={2026},
howpublished={\url{https://huggingface.co/uraionlabs/uraion-forge-2b}},
note={Uraion Labs Open Source Release}
}
For inquiries, enterprise deployments, and partnership information, visit Uraion Labs.
Watch a checked maintenance change in Uraion Fabric: an isolated Agent Workspace, executable checks, human Review and Apply.
This synthetic source-build demonstration uses qwen3.8:27b-nvfp4 through local Ollama, not Forge. It is not evidence of this model's performance, a customer outcome, or a signed public beta. The product page explains current limitations, local/cloud data flow and the proposed paid-pilot scope; pricing remains a hypothesis and inference is separate.