/ Модель

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

Контекст
40 960 токенов
Параметры
7,6 млрд
Размер весов
16,4 ГБ
Лицензия
Apache 2.0
Архитектура
qwen3 · dense
Базовая модель
Qwen3-8B
Библиотека
transformers
Опубликована
26 ноя 2026

Kanata-S2-8B

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

Дообученная на базе Qwen3-8B модель для многоязычного вызова инструментов, агентных задач и программирования на индонезийском, японском и английском языках.

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

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Kanata S2-8B — модель K-Ai (Kortex AI), дообученная на базе Qwen3-8B для вызова инструментов, многошагового решения задач и программирования на индонезийском, японском и английском языках. Это плотная причинно-языковая модель с 7,6 млрд параметров и контекстом до 40 960 токенов; опубликованные веса объединены из QLoRA-адаптера в формат 16-бит safetensors. Для диалогов используется шаблон Qwen3 с форматом вызовов инструментов Qwen3/Hermes.

Модель генерирует вызовы инструментов, но не исполняет их: выполнение и возврат результата должны обеспечиваться внешней агентной средой. Также она предназначена для ответов с использованием инструментов, интерпретации их результатов, уточнения недостающих аргументов и задач по коду. Обучение шло на последовательностях длиной 1024 токена, поэтому поведение на длинном контексте не настраивалось и не оценивалось. Улучшение относительно базовой Qwen3-8B не доказано; данные на японском и индонезийском в значительной степени синтетические, а вызовы инструментов могут содержать неверные аргументы. Лицензия модели — Apache-2.0; лицензии обучающих наборов различаются.

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

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

Ограничения

Улучшение относительно Qwen3-8B не подтверждено, а небольшая просадка на GSM8K и MBPP не исключена; оценки выполнены на небольших выборках. Японские и индонезийские агентные данные преимущественно синтетические, длинный контекст не оценивался, а аргументы вызовов инструментов требуют проверки.

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

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

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

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

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

Открыть на Hugging Face

Kanata S2-8B — Agentic & Coding Intelligence

Kanata S2-8B is K-Ai's second approach to the Kanata agentic model family. It targets tool calling, multi-step problem solving, and coding in Indonesian, Japanese, and English.

"We Build Because We Believe We Can." — K-Ai (Kortex AI)

K-Ai's second approach to Agentic Kanata

Kanata S1-3B (first approach)Kanata S2-8B (second approach)
BaseIBM Granite 4.1 3B BaseQwen3-8B
GoalFirst agentic experimentMultilingual agent + coding (design goal)
Tool-call formatCustom experimentNative Qwen3/Hermes <tool_call> format (unchanged chat template)
Data~2.5k samples, mostly synthetic2,400 training samples, curated, audited, deduplicated, leak-checked
EvaluationSmall preliminary checkPublic-benchmark regression check + in-house tool-calling suite

S1 showed that a small model with a narrow dataset struggles with tool-call format validity, especially in Japanese (0% in our preliminary check). S2 is designed to address this with a stronger base, native tool-call serialization, per-language data coverage, and an explicit dataset audit. Whether fine-tuning improves on the base model is discussed honestly in Benchmarks. S1 remains available as an experimental baseline: K-Ai-Official/Kanata-S1-3B.

Kanata S2 is not a general-purpose model. For general assistance see K-Oss-9-Mini. Both may share a Qwen3-8B foundation but have different data and objectives.

Model details

  • Base model: Qwen/Qwen3-8B
  • Why the post-trained checkpoint: we first tried Qwen3-8B-Base, but its chat and tool-call special tokens were untrained, so LoRA on attention/MLP could not make it emit tool calls reliably. Kanata S2 therefore starts from the post-trained Qwen3-8B (same license).
  • Method: QLoRA (4-bit NF4), LoRA r=16, alpha=32, all attention + MLP projections; merged to 16-bit for this release
  • Context during training: 1024 tokens (the base model supports longer context; long-context behavior was not tuned or evaluated here)
  • Hardware: single NVIDIA T4 (16 GB), Google Colab
  • Training time: 71.1 min, 150 optimizer steps, one pass over the curated subset
  • Adapter only: Keanualfahd/Kanata-S2-8B-LoRA

How tool calling works

Kanata S2 only generates tool calls; your agent runtime must execute the tool and return the result in a tool message. The model never executes tools itself. It uses the standard Qwen3 chat template.

from transformers import AutoTokenizer, AutoModelForCausalLM
repo = "K-Ai-Official/Kanata-S2-8B"
tok = AutoTokenizer.from_pretrained(repo); model = AutoModelForCausalLM.from_pretrained(repo, torch_dtype="auto", device_map="auto")
tools = [{"type":"function","function":{"name":"get_weather","description":"Get weather","parameters":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"]}}}]
msgs = [{"role":"user","content":"Cuaca di Bandung sekarang gimana?"}]
ids = tok.apply_chat_template(msgs, tools=tools, add_generation_prompt=True, enable_thinking=False, return_tensors="pt").to(model.device)
print(tok.decode(model.generate(ids, max_new_tokens=128)[0][ids.shape[1]:]))
# -> <tool_call>\n{"name": "get_weather", "arguments": {"city": "Bandung"}}\n</tool_call>

Behaviors trained: tool selection among distractors, valid JSON arguments, asking for missing required arguments, answering directly when no tool is needed, interpreting tool results, and recovering from tool errors.

Training data

All sources were schema-validated. Tool calls were parsed and re-serialized into canonical JSON, exact and near-duplicate prompts were removed, and splits are assigned by hash of the first user prompt so that no prompt appears in more than one split (leakage check: 0 overlaps). The candidate pool was quality-scored per module, then a token-budgeted subset of 2,400 training samples was selected, with Indonesian and Japanese deliberately up-weighted. Full per-source statistics are in dataset_audit.json.

ModuleDatasetLangLicensePlanned shareConverted / source size
Agentic tool callingNousResearch/hermes-function-calling-v1 (4 configs)enapache-2.0~26%8,403 / 10,337
Agentic (synthetic)K-Ai generated (see below)idK-Ai~12%n/a
Agentic (synthetic)K-Ai generated (see below)jaK-Ai~12%n/a
Agentic (synthetic)K-Ai generated (see below)enK-Ai~5%n/a
Codingm-a-p/CodeFeedback-Filtered-Instructionenapache-2.0~15%12,000 / 156,526
Codingise-uiuc/Magicoder-OSS-Instruct-75Kenmit~7%8,000 / 75,197
General (Japanese)kunishou/databricks-dolly-15k-jajacc-by-sa-3.0~11.5%6,000 / 15,015
General (Indonesian)FreedomIntelligence/alpaca-gpt4-indonesianidsee dataset card~11.5%6,000 / 49,969
IdentityK-Ai generated (3 samples)en/id/jaK-Ai<1%n/a

Training samples by language: English 1,272, Japanese 564, Indonesian 564. Shares are the planned composition. Large sources were randomly subsampled before conversion, and a module with too few usable samples would have been topped up from the agentic modules. Per-module token counts are in dataset_audit.json.

Synthetic agentic data (K-Ai). Template-based generation, validated against tool schemas and deduplicated: tool calls, tool-result interpretation, clarification when required arguments are missing, direct answers when no tool is needed, and error recovery. It was capped, and its phrasing variety in Indonesian and Japanese is limited.

Licensing and contamination notes. Dataset licenses differ (including a share-alike source); verify them before commercial redistribution of data derived from this model's training set. CodeFeedback and Magicoder may overlap with public coding benchmarks.

Benchmarks

1. Regression check against the base model (public benchmarks)

Kanata S2-8B was compared with its base, Qwen3-8B, using lm-evaluation-harness under identical settings. The purpose is to check that tool-calling fine-tuning did not substantially degrade general ability.

Benchmark (metric)Qwen3-8BKanata S2-8BΔ (pts)n
Belebele Japanese (acc_norm)80.0 ±4.081.0 ±3.9+1.0100
Belebele Indonesian (acc_norm)87.0 ±3.488.0 ±3.3+1.0100
MGSM Japanese, direct (exact_match)26.0 ±4.427.0 ±4.5+1.0100
GSM8K (exact_match)90.0 ±4.882.5 ±6.1-7.540
MBPP (pass@1)75.0 ±6.965.0 ±7.6-10.040

All differences are within statistical noise (±2 standard errors) at these sample sizes. We do not claim improvement over Qwen3-8B on these benchmarks. The lower GSM8K and MBPP point estimates cannot be ruled out as a small regression; larger samples are needed.

Setup: 4-bit (bitsandbytes), fp16 compute, greedy decoding, no chat template, subsets of each test set (n shown). Because no chat template is used, this check does not exercise tool calling. Numbers are not comparable to officially reported scores.

2. In-house tool-calling suite (saturated)

Small in-house evaluation on held-out prompts. Format valid / correct tool name / required arguments complete.

LanguageS1-3B (preliminary, n=4/lang)Qwen3-8B before fine-tuning (held-out)Kanata S2-8B (held-out)Kanata S2-8B (unseen tools)
Indonesian25% / 25% / 25%100% / 100% / 100%100% / 100% / 100% (n=12)100% / 100% / 100% (n=3)
Japanese0% / 0% / 0%100% / 100% / 100%100% / 100% / 100% (n=12)100% / 100% / 100% (n=3)
English25% / 25% / 25%100% / 100% / 100%100% / 100% / 100% (n=12)100% / 100% / 100% (n=3)

Coding (mini, executed unit tests, Python, 6 problems incl. one debugging task): 6/6 before → 6/6 after fine-tuning.

Both the base and the fine-tuned model score 100%, so this suite is saturated and does not show an improvement from fine-tuning. Held-out = test prompts never seen in training (hash-split), same tool-schema family. Unseen tools = convert_currency, get_stock_price, never used in training. S1 numbers come from a separate small evaluation and are not directly comparable. A harder suite (multiple tools, ambiguous requests, multi-turn, natural Indonesian/Japanese phrasing) is planned.

Not yet evaluated: HumanEval, IFEval, MMLU-style benchmarks, BFCL, long-context tasks, multi-turn agent loops with a real runtime.

Limitations

  • Improvement over the base Qwen3-8B has not been demonstrated; the in-house suite is saturated and the public regression check shows no significant difference.
  • GSM8K and MBPP point estimates are lower than the base; a small regression is not ruled out.
  • Evaluations are small, so confidence intervals are wide.
  • Japanese and Indonesian agentic data is largely synthetic and template-based; behavior on unusual phrasing may be weaker than in English.
  • Trained at 1024-token sequences; very long tool outputs may degrade quality.
  • May produce invalid or wrong arguments; always validate tool calls and sandbox execution (never run model-written code or commands unreviewed with real credentials).
  • Not safety-tuned beyond the base model.

License

Released under Apache-2.0, following the license of the base model (Qwen3-8B). Training data licenses vary (see table).

Citation

@misc{kanata_s2_8b_2026,
  title  = {Kanata S2-8B: Agentic & Coding Intelligence},
  author = {K-Ai (Kortex AI)},
  year   = {2026},
  url    = {https://huggingface.co/K-Ai-Official/Kanata-S2-8B}
}

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Qwen3ForCausalLM
Ревизия весов
4ae3274

0 моделей