/ Модель

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

Контекст
32 768 токенов
Параметры
3,1 млрд
Размер весов
6,2 ГБ
Архитектура
smollm3 · dense
Библиотека
transformers
Опубликована
26 ноя 2026

zagreus-3B-sft-v3.2

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

Экспериментальная двуязычная модель на базе SmolLM3 для диалогов и вызова инструментов на итальянском и английском языках.

130скачиваний за 30 дней0лайковвеса обновлены27 ноя 2026

Бенчмарки

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

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

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

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

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

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

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

zagreus-3B-sft-v3.2 — двуязычная языковая модель giux78 с 3,1 млрд параметров на архитектуре SmolLM3. Это версия SFT v3.2, дообученная для диалогов и вызова инструментов; базовая модель, по README, обучалась с нуля. Модель принимает текст и выдаёт текст, поддерживает итальянский и английский. В метаданных указан нативный контекст 32 768 токенов; README описывает расширение до 64 тыс. токенов с помощью YaRN без дополнительного обучения, при этом для контекстов свыше 32 тыс. требуется соответствующая настройка.

Модель предназначена для диалоговых сценариев с инструментами в формате OpenAI/JSON Schema: она может запрашивать недостающие аргументы, сообщать, когда подходящего инструмента нет, и отвечать напрямую, если вызов не требуется. Есть режимы с рассуждением и без него; для обычного использования README рекомендует режим без рассуждений. Автор сообщает о внутренних оценках, но они не являются официальными результатами бенчмарков.

Это частная тестовая предварительная версия, предназначенная для проверки, а не готовый выпуск. Лицензия и финальный рецепт обучения ещё не определены. Среди ограничений — частые пропуски последующих параллельных вызовов, слабые результаты в многоходовых сценариях с инструментами, возможные ошибки в вычислениях и уверенные фактические ошибки. Режим рассуждений может зацикливаться и создавать длинные трассы. Модель не проходила дополнительную настройку безопасности сверх SFT; автор не рекомендует использовать её для медицинских, юридических или финансовых решений.

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

  • диалог с вызовом функций по схеме JSON
  • уточнение недостающих аргументов перед вызовом инструмента
  • выбор между ответом напрямую и использованием инструмента
  • проверка поведения агента в сценариях с инструментами
  • тестирование двуязычного чат-бота на итальянском и английском

Ограничения

Модель часто выдаёт только первый вызов, когда требуются несколько параллельных инструментов; возможны ошибки в арифметике и уверенные фактические ошибки. Режим рассуждений может зацикливаться, модель не прошла дополнительную настройку безопасности, а её лицензия ещё не определена.

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

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

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

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

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

Открыть на Hugging Face

zagreus-3B-sft-v3.2 (private preview)

zagreus-3B is a 3B-parameter bilingual (Italian / English) language model trained from scratch. This repository holds SFT v3.2: the instruction-tuned, tool-calling, hybrid-thinking version. Its sister checkpoint is giux78/zagreus-3B-sft-v3.

Status: private test preview, shared for testing only. This is not a release: the license and final recipe are not decided yet, and a newer SFT (math + parallel-call repair) is planned. Feedback on failures is the most useful thing you can send back.

v3 vs v3.2 in one line

v3v3.2 (this model)
PersonalityEager tool callerCalibrated tool caller
Strong atParallel / multiple calls in one turn, BFCL call accuracyKnowing when not to call: asks for missing arguments, says when no tool fits, answers directly when no tool is needed
Weak atCalls a tool even when it should ask or refuseOften emits only the first of several parallel calls

If you test both, run the same prompts through each. The interesting differences show up in edge cases: missing argument, no suitable tool, and several calls needed at once.

Model details

Parameters~3B
Context64k tokens with YaRN rope scaling (native 32,768; see "Long context" below)
TokenizerLlama-3.2 (vocab 128,256)
LanguagesItalian, English (pretraining also saw ES / FR / PT and code)
PretrainingMore than 3 trillion tokens from scratch with nanotron on Seeweb. Stages: base, continued pretraining with more Italian, code and math, a 50B-token anneal, then a 10B-token extension to 32k context
SFT~13.6B tokens, 8.77M rows, 6,573 steps; LR 5e-5 cosine (min 0.1), warmup 3%, 32k packed sequences, ~2.1M tokens/step, 8 Seeweb nodes
SFT dataItalian/English chat (omnia), reasoning traces (think mode), math and code, instruction following, agentic/tool-calling data (Agentic-v2/v4, Italian tool data, When2Call, xLAM, Glaive), and a 20–25% "no-call" block (ask for missing info, decline unavailable tools, answer without tools)

What changed from v3 to v3.2

  • v3.1 added a balanced no-call block, because v3 almost always called a tool. In v3, a missing argument or an unavailable tool was handled correctly 0% of the time on our robot test.
  • v3.2 = v3.1 + restored When2Call / xLAM / Glaive rows, with argument types coerced to the schema (numbers and booleans as JSON values, not strings).

How to use

Prompt format

  • Llama-3 headers (<|start_header_id|>…<|end_header_id|>), turns end with <|eot_id|>.
  • Thinking switch: the system message ends with /think or /no_think.
    • The default is /no_think: the template inserts it when you give no flag.
    • Pass enable_thinking=True to apply_chat_template, or end your system message with /think, to get reasoning in <think>…</think> before the answer.
  • Tools: pass tools=[...] (OpenAI/JSON-schema function format) to apply_chat_template. The template writes the Hermes-style system prompt the model was trained on, with the tool list inside <tools></tools>.
    • The model answers with one or more blocks of this form:
      <tool_call>
      {"name": "get_weather", "arguments": {"city": "Roma"}}
      </tool_call>
      
    • Send results back as messages with role: "tool", one per call, in call order.
    • Assistant turns with tool_calls are rendered back into <tool_call> text by the template.
  • BOS: the template does not emit <|begin_of_text|>, because the tokenizer adds it. Render with tokenize=False, then call tokenizer(text), to get exactly one BOS (this is how we evaluate).

transformers

import json, re, torch
from transformers import AutoTokenizer, AutoModelForCausalLM

repo = "giux78/zagreus-3B-sft-v3.2"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, torch_dtype=torch.bfloat16, device_map="auto")

def chat(messages, tools=None, think=False, max_new_tokens=1024):
    text = tok.apply_chat_template(messages, tools=tools, add_generation_prompt=True,
                                   enable_thinking=think, tokenize=False)
    inputs = tok(text, return_tensors="pt").to(model.device)        # adds the single BOS
    out = model.generate(**inputs, max_new_tokens=max_new_tokens, do_sample=False)
    return tok.decode(out[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True)

# plain chat
print(chat([{"role": "user", "content": "Spiegami in tre frasi cos'è la fotosintesi."}]))

# tool calling
tools = [{"type": "function", "function": {
    "name": "get_weather", "description": "Meteo attuale di una città",
    "parameters": {"type": "object", "properties": {"city": {"type": "string"}}, "required": ["city"]}}}]
msgs = [{"role": "user", "content": "Che tempo fa a Bologna?"}]
reply = chat(msgs, tools=tools)
calls = [json.loads(m) for m in re.findall(r"<tool_call>\s*(\{.*?\})\s*</tool_call>", reply, re.S)]
print(calls)   # [{'name': 'get_weather', 'arguments': {'city': 'Bologna'}}]

# send the result back and get the final answer
msgs += [{"role": "assistant", "content": reply},
         {"role": "tool", "content": json.dumps({"temp_c": 14, "sky": "sereno"})}]
print(chat(msgs, tools=tools))

vLLM

vllm serve giux78/zagreus-3B-sft-v3.2 --max-model-len 32768
  • With the OpenAI chat endpoint, add "add_special_tokens": true to the request body, so the BOS is added.
  • Pass "chat_template_kwargs": {"enable_thinking": true} for think mode.
  • Tool calls arrive as <tool_call> text in content. Parse them client-side with the regex above. We have not validated vLLM's built-in tool parsers with this tokenizer: <tool_call> is plain text, not a special token.

Long context (64k)

The model was trained at 32k context and extends to 64k with YaRN rope scaling, with no extra training. On RULER (13 long-context tasks), YaRN ×4 at 64k scores 0.548, close to the native 32k score of 0.578. Single-needle retrieval at 64k is 0.88–1.0.

RULER (mean of 13 tasks)4k8k16k32k64k (YaRN ×4)
zagreus-3B0.8060.7450.7100.5780.548

(Measured on the pretrained base after the 32k extension. The SFT models share the same weights lineage.)

To enable 64k, set this in config.json, or pass the same values when loading:

"rope_parameters": {"rope_type": "yarn", "factor": 4.0, "original_max_position_embeddings": 32768, "rope_theta": 1000000.0},
"max_position_embeddings": 65536

With vLLM:

vllm serve giux78/zagreus-3B-sft-v3.2 --max-model-len 65536 \
  --hf-overrides '{"rope_parameters": {"rope_type": "yarn", "factor": 4.0, "original_max_position_embeddings": 32768, "rope_theta": 1000000.0}, "max_position_embeddings": 65536}'

Keep the default config for prompts under 32k: YaRN is only needed beyond that.

Decoding

  • We evaluate with greedy decoding. For tool use, keep temperature=0.
  • For chat, light sampling works (for example temperature 0.6–0.7, top_p 0.9–0.95).
  • In think mode, prefer sampling (temperature ~0.6) and a generous max_new_tokens (4–8k). Greedy thinking can loop (see Limitations).

Evaluation (internal harness)

All numbers are %. Greedy decoding. These are our own harness and formulas, not official leaderboard submissions.

v3.2v3Villanova2-2BDomyn-Edge-SFT 4B
BFCL overall (our formula¹)37.638.040.3n/a
BFCL non-live / live56.4 / 61.566.2 / 67.778.1 / 62.0n/a
BFCL irrelevance (should NOT call)82.568.381.9n/a
BFCL parallel / parallel-multiple45.0 / 34.065.5 / 49.0–n/a
Robot assistant, bilingual function calling80.571.0–82.7
Agentic-100 (IT/EN tool battery, no-think)9595–89
WorkBench (multi-step tasks)18.516.120.2n/a
Agentic dev sets en / it / v461.5 / 66.0 / 63.661.0 / 64.1 / 63.243.9 / 38.9 / 52.2n/a
IFEval (inst-level loose)77.079.083.184.8
MMLU / MMLU-it54.8 / 51.454.4 / 51.153.3 / 50.959.9 / 49.9
HellaSwag / HellaSwag-it²66.2 / 60.266.1 / 60.269.0 / 62.163.7 / 47.4
ARC-Challenge / ARC-it²45.9 / 45.046.8 / 44.947.5 / 47.137.5 / 32.6
HumanEval (pass@1)46.345.143.338.4
MBPP (3-shot, pass@1)36.036.241.641.8

¹ BFCL overall = (non-live + live + irrelevance + 3 × multi-turn) / 6, on the same prompt format as training. ² Academic rows use lm-eval-harness, bf16, without the chat template: MMLU / MMLU-it 5-shot accuracy, HellaSwag and ARC 0-shot acc_norm, HumanEval 0-shot, MBPP 3-shot. Domyn-Edge-SFT is run with its BOS token added (its tokenizer does not prepend it, and without it the model collapses on these tests).

Robot benchmark, v3 → v3.2: function calling IT 63.4 → 73.8, EN 69.6 → 84.0; conversation IT 77.1 → 81.2, EN 89.6 → 87.5. Most of the gain comes from cases where the right move is to ask or decline: v3 scored 0/6 on both "missing argument" and "unavailable tool". Correct abstention is what v3.2 was built for.

Known limitations

  • Parallel calls: when a request needs several calls at once, v3.2 often emits only the first call and stops. v3 is better here.
  • Multi-turn BFCL is low (5–12%) for every version so far.
  • Math / arithmetic over tool results: the model can mis-total numbers it got from tools (prices, currencies, scaling a recipe). Double-check computed numbers. A dedicated math evaluation is running now.
  • Think mode can produce very long traces, loop ("Wait…"), and drift into English while reasoning, even on Italian prompts. Use no-think mode for everyday use.
  • Knowledge is bounded by a 3B model (MMLU ~55). It can state wrong facts confidently. Instruction following (IFEval) is behind some 2–4B peers.
  • Not safety-tuned beyond the SFT data (no RLHF/DPO yet). Do not use for medical, legal or financial decisions.
  • Not yet evaluated on v3.2: chat LLM judge, healthcare battery, ARC / HumanEval / MBPP. v3's numbers for these are in its model card.

Contact

Private preview by the zagreus project. Please report bad outputs together with the exact messages, tools and settings you used.

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

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

GPU в ailist

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

Можно запустить

Подбираем GPU…

Класс архитектуры
SmolLM3ForCausalLM
Ревизия весов
1133e73

0 моделей