Downloads · 30 days
314
8% of all-time downloads
OsaurusAI/Raptor-v0.5-8B-A1B-JANG_6M
Raptor-v0.5-8B-A1B-JANG_6M is a text generation model from OsaurusAI. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as mit.
<p align="center"<a href="https://osaurus.ai"<img src="./osaurus-x-banner.png" alt="Osaurus AI"</a</p
Downloads · 30 days
314
8% of all-time downloads
All-time downloads
4K
Public
Parameters
6.2B
35.8 GB on disk
Likes
13
Public
Click a slice to open those files.
.safetensors6.8 GB · 100%
How the weights are stored.
U326B · 98%
From the Hugging Face model README
Superseded by Raptor 0.6. Raptor v0.5 stays available, but the current Raptor is OsaurusAI/Raptor-0.6-4B-JANG_6M, built on a different backbone (Spark-X2.5-4B, dense,
spark2_5). None of this card's runtime, parser or cache notes apply to it — read its own card.
The official Raptor v0.5. A calibrated JANG_6M quantization of
Ling-3.0-tiny-Osaurus-v2mcp — Ling-3.0-tiny with a light r4/alpha8 LoRA
merged to BF16. Base model behavior is intentionally preserved; the tune adds
familiarity with the Osaurus Mac harness tools (native schemas, tool routing
across Osaurus surfaces, observation-grounded final synthesis, concise
single-call economy) and with Osaurus declarative configuration
(osaurus_config / osaurus_inspect / osaurus_help): MCP server setup
(HTTP/OAuth, stdio with env secret refs, bearer token refs, enable/disable)
and onboarding — providers and API keys, models, agents, memory, channels,
schedules, watchers, knowledge collections, tool policies.
This build (v2mcp) supersedes the previous v0.5 weights (v47-u4 tune). On the tune's own probe batteries it improves every measured surface over its predecessor: 48-case defect sweep 141/144 (was 138), Osaurus tool-surface probe 72/84 (was 69), segmented interleave chains 14/24 (was 7), declarative-config probe 112/198 (was 70).
| Base | inclusionAI/Ling-3.0-tiny (MIT), revision b61f4338cc490f3ea704c014664e18f4b99a1ae0 |
| Fine-tune | from-base r4/alpha8 LoRA, corpus v15 (Osaurus 0.24.3 MCP + declarative onboarding), merged BF16 |
| Quantization | JANG_6M — see below |
| Field | Value |
|---|---|
| Model | bailing_hybrid / BailingMoeV3ForCausalLM, ~7.5B total, ~1B active |
| Layers | 24 = 18 KDA (Kimi Delta Attention) + 6 gated MLA; layer 0 dense |
| MoE | 128 experts, top-8 + 1 shared, moe_intermediate 512, sigmoid noaux_tc router |
| Vocab / context | 157,184 (untied) / 131,072 |
| On disk | 6.3 GiB |
Per-layer decode state for KDA is a fixed [16,128,128] recurrent tensor plus
three short-conv buffers — it does not grow with context.
Two calibration captures on the merged weights (not the base), feeding the three calibrated stages:
Kept unquantized: router + expert bias (fp32), A_log/dt_bias (fp32), KDA
conv kernels and f/b/g_proj gates, all norms (fp16) — the state-forming and
gating parameters whose error compounds through the recurrence.
The safetensors container is dtype-aligned (every payload offset aligned to its element size), so MLX maps every tensor zero-copy.
Stock mlx_lm has no bailing_hybrid support — this bundle targets the JANG
runtime (Osaurus).
Held-out KL vs the merged BF16 source (64 prompts / 21,041 tokens, disjoint from calibration):
| metric | value |
|---|---|
| mean KL | 0.0108 |
| top-1 agreement | 96.45% |
Margin-conditioned flip curve: 18.9% → 2.7% → 0.45% → 0.10% → 0.00% → 0.00% across rising source-margin bins — strictly monotone, the lossy-but-healthy signature. (The previous v0.5 build measured 0.0184 / 95.97% on the same prompts against its own source.)
Local agentic bench (20 real multi-step Osaurus tool tasks, verified against real filesystem/sqlite state, XML-arg parser, greedy decode): 14/20 with 0 schema violations — identical to the BF16 source run under the same harness and seed (14/20), with 5 of 6 failures on the same tasks. The quantization introduces no agentic defect; the residual failures are model traits.
generation_config.json and jang_config.chat.sampling_defaults both carry
the validated profile:
temperature 0.7 · top_p 0.95 · top_k 20 · repetition_penalty 1.05
This is not a default-copy: at temperature 1.0 this model family intermittently emits prose before tool calls and can enter repetition loops; 0.7 was measured to eliminate the malformed-prose defect. The v2mcp probe measurements above were all taken at this profile. Serve it at this profile.
enable_thinking as the off-switch. The template hardcodes
preserved_thinking = true, so on its own it retains every prior-turn
<think> block. This bundle therefore also stamps
reasoning.history_reasoning: "omit" in jang_config.json: it asks the
serving app to render each prior assistant turn without its
reasoning_content (current-turn content and all tool calls untouched).
This suppresses a byte-identical tool-call re-issue loop — once one
identical successful turn with its <think> sits in history, the model
tends to re-emit it verbatim; dropping historical reasoning breaks that.
The cost is that a prior cycle's think tokens (≈11–23 here) are no longer
prefix-cache-reusable. The key is a no-op on serving builds that do not yet
read it.<arg_key>/<arg_value> pairs inside <tool_call>. Schemas go in as JSON;
calls come out as XML. No Hermes/Qwen-style parser matches —
jang_config.json sets tools.mlx_lm_autodetected: false and names the
required bailing_v3_xml_arg parser.osaurus_config apply in interactive chat goes through the
native plan-review approval card (diff + prune warning) and unattended
surfaces auto-deny, so such an attempt surfaces as a card to reject or a
validator rejection, never as a silent change. Review config cards before
approving, especially any that mention prune.Built by Jinho Jang — [email protected]. Base model by inclusionAI (MIT).