/ Модель

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

Контекст
32 768 токенов
Параметры
1,5 млрд
Лицензия
Apache 2.0
Архитектура
qwen2 · dense
Базовая модель
Qwen2.5-1.5B-Instruct
Библиотека
transformers
Опубликована
30 июл 2026

sakthai-plus-1.5b

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

Компактная дообученная модель Qwen2.5 для выбора инструментов и генерации структурированных вызовов функций в агентных сценариях.

53скачиваний за 30 дней0лайковвеса обновлены2 авг 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

  • lighteval

    winogrande

    Результат

    59,6

    text-generation 50,9text-generation 34
    Hugging Face Eval Results

    Отчёт автораревизия не подтверждена

  • custom

    correct-answer

    Результат

    1

    text-generation 84,8text-generation 33,7text-generation 33,7
    Hugging Face Eval Results

    Отчёт автораревизия не подтверждена

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

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

SakThai Plus 1.5B — созданная Nanthasit модель для вызова инструментов и функций в агентных сценариях. Она дообучена на базе Qwen/Qwen2.5-1.5B-Instruct на примерах структурированных вызовов, а адаптеры rsLoRA объединены в полные веса. Модель использует формат чата Qwen2.5 и может выдавать вызовы функций в JSON, когда системный промпт задаёт доступные инструменты.

Модель содержит 1,5 млрд параметров, построена на архитектуре Qwen2 и имеет контекст до 32 768 токенов. README описывает применение через Transformers и llama.cpp, а также оптимизацию для инференса на CPU и потребительских GPU. Карточка сообщает о хорошем выборе инструментов и формировании JSON-аргументов в проверенных тестах, но результаты могут зависеть от сложности схемы и параметров вызова. Лицензия — Apache-2.0.

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

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

Ограничения

Точность аргументов ниже качества выбора инструмента, особенно для сложных вложенных параметров; очень большие схемы инструментов могут ухудшать результат. Часть результатов бенчмарков основана на одном прогоне, а формат JSON иногда может отклоняться.

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

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

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

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

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

Открыть на Hugging Face

Benchmark Results

Benchmark: sakthai-bench-v2 · 500 samples · run 2026-08-01

Overall (strict): 39.65 · Selection: 39.65 · Arguments: 61.66

CategoryCountSelectionArgumentsStrict
irrelevance_no_tools50100.00100.00100.00
irrelevance_tools15032.67100.0032.67
parallel13743.8043.8043.80
simple12218.8518.8518.85
held_out-16.0716.0716.07

Training Data

DatasetRowsDescription
Nanthasit/sakthai-combined-v112,003Multi-source tool-calling examples
Nanthasit/SimpleToolCalling2,002Structured function-calling examples

Benchmarks

TaskMetricScoreVerified
Tool CallingTool Call Success Rate1.0✅ Yes
Tool CallingValid JSON Arguments1.0✅ Yes
Tool CallingCorrect Answer Rate1.0✅ Yes
Tool Selection (v2)Selection Accuracy84.8%❌ No
Tool Selection (v2)Strict Accuracy33.7%❌ No
CommonsenseWinoGrande59.6%❌ No
CommonsenseHellaSwag34.0%❌ No
MathGSM8K50.9%❌ No

Quick Start

from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "Nanthasit/sakthai-plus-1.5b"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto")

messages = [
    {"role": "system", "content": "You are a helpful assistant with tool-calling capabilities."},
    {"role": "user", "content": "What's the weather in Bangkok?"}
]
inputs = tokenizer.apply_chat_template(messages, tokenize=True, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=256, temperature=0.3, do_sample=True)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

Notes

  • 3/3 verified tool-calling score measured with llama.cpp q4_k_m.
  • Tool selection is strong, but argument accuracy needs refinement.
  • Unverified scores are single-trial; multi-trial replication is planned.
  • Trained on free T4 credits; no paid compute was used.

SakThai Family

This README is part of the SakThai Plus 1.5B model card. The family links table is preserved to keep cross-repo navigation intact.

RepoDownloadsPipeline
sakthai-plus-1.5b-lora306text-generation
sakthai-context-1.5b-tools-v2192text-generation
sakthai-context-1.5b-merged-v2354text-generation

Sibling rows are maintained for reference and kept in sync with live HF download counts during card audits.

Model Description

SakThai Plus 1.5B is built for agentic tool calling rather than open-ended chat. It was trained on structured function-calling examples and merged from rsLoRA adapters into full weights. The model follows the Qwen2.5 chat format and emits function calls in JSON when a system prompt enables tools. It is optimized for small-footprint CPU and GPU inference, and works with both transformers and llama.cpp.

Key traits:

  • Strong tool selection and reliable JSON argument formatting in verified tests.
  • Small 1.5B parameter size enables fast inference on CPUs and consumer GPUs.
  • Trained with zero paid compute on free-tier T4 credits.

How to Use

transformers chat template

from transformers import AutoTokenizer, AutoModelForCausalLM
import torch

model_id = "Nanthasit/sakthai-plus-1.5b"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto", torch_dtype=torch.float16)

messages = [
    {"role": "system", "content": "You are a helpful assistant with tool-calling capabilities. Use the available tools when asked."},
    {"role": "user", "content": "Send an email to Beer with the subject 'Status update' and body 'The model is running well.'"}
]

inputs = tokenizer.apply_chat_template(messages, tokenize=True, add_generation_prompt=True, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=256, temperature=0.3, top_p=0.9)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

llama.cpp CLI

This model also ships as GGUF in the SakThai family. Example inference with the GGUF build:

llama-cli -m sakthai-plus-1.5b.Q4_K_M.gguf \
  -p "[INST] Send an email to Beer with the subject 'Status update' and body 'The model is running well.' [/INST]" \
  --temp 0.3 -n 256 --top-p 0.9

Benchmarks

TaskMetricScoreVerifiedMethod
Tool CallingTool Call Success Rate1.0✅ Yesllama.cpp q4_k_m, 3-trial
Tool CallingValid JSON Arguments1.0✅ Yesllama.cpp q4_k_m, 3-trial
Tool CallingCorrect Answer Rate1.0✅ Yesllama.cpp q4_k_m, 3-trial
Tool Selection (v2)Selection Accuracy84.8%❌ Nosingle-trial
Tool Selection (v2)Arguments Accuracy33.7%❌ Nosingle-trial
CommonsenseWinoGrande59.6%❌ Nosingle-trial
CommonsenseHellaSwag34.0%❌ Nosingle-trial
MathGSM8K50.9%❌ Nosingle-trial

Verified scores are reproducible across runs. Unverified rows should be treated as indicative until multi-trial replication is completed.

Limitations

  • Argument accuracy lags behind tool selection; complex nested parameters can still fail.
  • Unverified benchmarks are single-trial and may not reflect steady-state performance.
  • Strongest with short- to medium-length tool definitions; very large schemas may degrade accuracy.
  • Outputs should be parsed with a JSON-tolerant decoder because formatting can drift on low temperatures.

Citation

@misc{sakthai-plus-1.5b,
  title  = {SakThai Plus 1.5B},
  author = {Nanthasit},
  year   = {2026},
  url    = {https://huggingface.co/Nanthasit/sakthai-plus-1.5b}
}

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей