/ Модель

Характеристики

Контекст
1 048 576 токенов
Параметры
3,8 млрд
Размер весов
3,7 ГБ
Лицензия
Apache 2.0
Архитектура
spark2_5 · dense
Базовая модель
Raptor-0.7-4B-BF16
Библиотека
mlx
Опубликована
12 ноя 2026

Raptor-0.7-4B-JANG_6M

Генерация текстаТекст → текст9 профессий

Квантизированный локальный агент Osaurus на базе Raptor 0.7 для диалогов, вызова инструментов и автоматизации рабочих процессов.

1 003скачиваний за 30 дней0лайковвеса обновлены13 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

OsaurusAI/Raptor-0.7-4B-JANG_6M — языковая модель с архитектурой Spark2_5ForCausalLM и 3,8 млрд параметров, подготовленная OsaurusAI как локальный агент для среды Osaurus. Это дообученная версия Raptor-0.7-4B-BF16, объединённая с весами и квантизированная методом GPTQ с матрицей важности: внимание и связанные эмбеддинги представлены в 8 битах, MLP — в 6 битах, размер пакета составляет 3,41 ГиБ. Модель принимает текст и генерирует текст; поддерживает диалог и интерфейс вызова инструментов. Карточка указывает английский язык, а калибровка также охватывала многоязычные диалоги. Контекст — до 1 048 576 токенов.

Модель предназначена для локальной работы на Apple Silicon через Osaurus версии 0.25.33 или новее. Она настроена на работу с файлами, таблицами и PDF, оболочкой и песочницей, калькулятором, а также на оркестрацию и настройку рабочих процессов Osaurus. Доступны режимы рассуждения с высокой и низкой интенсивностью, а также отключение рассуждения. В описанных автором проверках поведенческие тесты прошли так же, как BF16-версия; на Mac Studio с M5 Ultra заявлена скорость генерации 148 токенов в секунду. Эти результаты относятся к условиям тестирования автора.

Модель всё ещё может ошибаться в названиях инструментов, формате схем и JSON, арифметике и воспроизведении фактов, а также заявлять о выполнении действий без подтверждения. Автор отдельно рекомендует сохранять этап подтверждения перед разрушительными действиями. Лицензия — Apache-2.0; для работы требуется совместимая среда Osaurus.

Сценарии применения

  • управление файлами и PDF через инструменты Osaurus
  • анализ и редактирование таблиц и рабочих книг
  • выполнение команд в оболочке и песочнице
  • использование калькулятора в многошаговых задачах
  • настройка и оркестрация рабочих процессов Osaurus
  • многошаговое решение задач с вызовом инструментов

Ограничения

Модель может ошибаться в выборе инструментов, схемах и JSON, арифметике и воспроизведении фактов, а также без оснований заявлять об успешном выполнении. Для разрушительных действий следует сохранять этап подтверждения.

Для каких профессий подходит9

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

OsaurusAI/Raptor-0.7-4B-JANG_6M

Raptor 0.7, the local agent model for Osaurus, quantized to 3.41 GiB for Apple Silicon.

Raptor 0.7 is a LoRA fine-tune of Spark-X2.6-4B (SparkLLM team, Apache-2.0), merged into the weights. It is tuned for the Osaurus tool surface:

  • files, workbooks and PDFs
  • sandbox and shell
  • calculator
  • delegation and Osaurus workflows (orchestration, configuration, editing workflow definitions)
  • multi-turn tool use in all three reasoning modes

This repo is its JANG_6M quantization: attention and the tied embedding at 8-bit, the MLP at 6-bit, group size 64, every group scale in bfloat16, and the per-head attention gate kept in full precision. Benchmark results for the model are on the BF16 source card; they were measured at a JANG_6M-equivalent quantization.

Runtime: Osaurus 0.25.33 or newer.

Reasoning modes

modehow to selectnotes
high (default)nothing, or reasoning_effort: "high"careful mode, longer reasoning
lowreasoning_effort: "low"short reasoning
offenable_thinking: falseno reasoning

Quality of this quantization

Measured against the model's own BF16 weights on held-out data that was never used in calibration:

  • Osaurus agent and workflow tasks: first turn, in low, high and off. The workflow tasks cover orchestration, configuration, import and repair.
  • Held-out Osaurus agent and workflow trajectories.
  • Reasoning, coding, agentic tool use, finance, document and terminal prompts.

KL divergence is in nats per position. It is scored only on the assistant tokens (the model's own sampled replies, reasoning included), with a full-sequence forward pass, over 90,309 scored tokens.

mean KLtop-1 agreement
this bundle (GPTQ + imatrix), all held-out0.0062298.36%
same, reasoning high0.0011898.58%
same, reasoning low0.0010598.79%
same, reasoning off0.0013999.00%
GPTQ + imatrix + AWQ fold, all held-out0.0065498.45%

The "all" rows include held-out terminal sessions and raw text scored as plain continuations, which carry most of the divergence. On the Osaurus agent and workflow rows alone this bundle measures 0.00107 / 98.85%. The two calibration variants are within noise of each other. This bundle has lower KL in every reasoning mode, and that is the criterion it was chosen on.

Behaviour gates pass 8/8, the same as BF16. They check:

  • stopping on EOS
  • thinking on and off
  • tool-call shape and parsing
  • multi-turn conversations and mid-conversation tool changes
this bundleBF16 source
Size3.41 GiB (7.126 bits/weight)7.66 GiB
decode148 tok/s93 tok/s
prefill (512-token prompt)8,850 tok/s10,479 tok/s

Measured on a Mac Studio (M5 Ultra) with a 512-token prompt and 128 generated tokens.

Calibration

Calibration is one capture of 7.60M tokens through the model's own chat template. Every domain is covered in both reasoning efforts (low and high) plus reasoning-off:

  • Osaurus agent trajectories.
  • Osaurus workflow trajectories: orchestrator, architect, configurator, import reader and step runner.
  • The model's own sampled reasoning and tool-call replies (1.44M tokens).
  • Finance: annual-report tables and 10-K filings.
  • Document editing, and long documents / PDF text.
  • Terminal sessions and tasks.
  • Coding across 11 languages.
  • Math and science.
  • Multilingual chat and encyclopedic text.

GPTQ runs on the full input covariance of every quantized linear, and the importance matrix is its diagonal. An AWQ-folded variant was built and measured too. It was within noise, with higher KL, so it was not used.

Serving contract

  • Sampling: temperature=1.0, top_p=0.95, top_k=-1, no repetition penalty. These are carried in both generation_config.json and jang_config.json.
  • Reasoning is on by default (effort high). The generation prompt ends with <|Bot|><think>. With enable_thinking=false it ends with <|Bot|></think>.
  • Tools render into the first system block (## Tools plus a <tools> JSON list). Changing the tool set therefore means a full re-prefill, not a suffix append.
  • Tool calls use this shape, with no newlines: <tool_call>NAME<arg_key>k</arg_key><arg_value>v</arg_value></tool_call>. Tool results go in a <|Tool|> block, and consecutive tool messages are merged.
  • generation_config.json carries the base model's nonstandard max_tokens key. Pass your own cap.

Known limits

This is a 4B agent model and it still makes mistakes:

  • wrong tool names
  • schema and JSON slips
  • claims of success it has not earned
  • invented identifiers
  • arithmetic and recall errors

Keep your harness's approval step for destructive actions. Known gaps of the model itself (error recovery, designing a complete workflow from scratch) are listed on the BF16 source card.

Provenance

Quantized by Jinho Jang (eric@osaurus.ai) from OsaurusAI/Raptor-0.7-4B-BF16 (rev 2323fe1, checkpoint R14-u8). osaurus.json records the bundle iteration (model_version) and the minimum runtime (required_osaurus_version).

License

Raptor 0.7 is a derivative of XHToken/Spark-X2.6-4B by the SparkLLM Team, released under the Apache License, Version 2.0. The full license text is in the LICENSE file, carried over unchanged from the base model.

This model is distributed under the same Apache License, Version 2.0. In accordance with Section 4 of that license, the changes made to the original work are:

  1. A supervised fine-tune of the attention and MLP projections: rank-16 LoRA on q_k_v_proj, out_proj, gate_proj, up_proj and down_proj, merged into the weights.
  2. Quantization of the merged weights to the JANG_6M format (affine 6-bit MLP, 8-bit attention and embedding, group size 64) with GPTQ and importance-matrix calibration.

Osaurus, Raptor and the Osaurus banner are trademarks of Osaurus and are not covered by the Apache license.

If you use this model, please also credit the base model:

@misc{sparkx2.6,
    title  = {Spark-X2.6-4B&1.7B: Advancing the Frontier of On-Device Agents for Real-World Tasks},
    author = {SparkLLM Team},
    year   = {2026}
}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · mlx

Нельзя запустить

MLX-модели работают только на Apple Silicon, на GPU NVIDIA они не запускаются.

Класс архитектуры
Spark2_5ForCausalLM
Ревизия весов
1890963

0 моделей