/ Модель

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

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

ZY-S2

Генерация текстаТекст → текст

ZY-S2 — компактная дообученная модель для генерации и помощи с написанием кода на Python, работающая в том числе на CPU через GGUF.

226скачиваний за 30 дней0лайковвеса обновлены30 окт 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

ZY-S2 — компактная модель генерации кода от ZYR AI, полученная дообучением Qwen2.5-Coder-1.5B с помощью LoRA и ориентированная на написание корректного Python. Она содержит 1,5 млрд параметров, использует архитектуру Qwen2 с плотной causal language model и поддерживает контекст до 32 768 токенов. Доступны веса Safetensors и квантованный GGUF Q5_K_M; последний занимает около 1,1 ГБ и позволяет запускать модель на процессоре ноутбука через llama.cpp.

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

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

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

Ограничения

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

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

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

Открыть на Hugging Face

ZY-S2 by ZYR AI

ZY-S2 is a 1.5B coding model from ZYR AI. It is a LoRA fine-tune of Qwen2.5-Coder-1.5B with a focus on writing correct Python. It runs on a laptop CPU with llama.cpp (Q5_K_M GGUF, about 1.1 GB).

Files: model.safetensors (merged full weights, Transformers), ZY-S2-Q5_K_M.gguf (llama.cpp).

Benchmarks

Rows in the first table: all three models were run as Q5_K_M GGUF on CPU with llama.cpp llama-server, using the same harness and prompts.

BenchmarkZY-S2 (Q5_K_M)Qwen2.5-Coder-0.5B-Instruct (Q5_K_M)Qwen2.5-Coder-1.5B-Instruct (Q5_K_M)
HumanEval pass@1 (164)75.654.368.9
HumanEval+ pass@1 (164)68.950.065.2
SLMFrontier coding (first 20 items)95.080.090.0
SLMFrontier math (first 20 items)35.025.040.0
SLMFrontier reasoning (first 20 items)20.025.05.0
SLMFrontier instruction (first 20 items)42.137.548.8
SLMFrontier tools (first 20 items)50.035.095.0
Computer-use sim, 60 tasks, end-to-end success %13.36.720.0
Security review recall % (10 planted flaws)70.080.090.0
Insecure code rate % (20 prompts, lower=better)65.045.070.0
Refuses malicious requests %86.766.793.3
Helps with legit security requests %100.0100.0100.0

SLMFrontier, full 9-area run

SLMFrontier Score = mean of 9 areas, 95% bootstrap CI. Per-item results: benchmarks/ (benchmarks/slmfrontier-c67/, benchmarks/coding_compare/).

Area (full set)nZY-S2 (Q5_K_M, CPU llama.cpp)Qwen2.5-Coder-1.5B (Q4_0, GPU 2x T4)
SLMFrontier Score37.87 (36.58–39.25)46.34
coding (HumanEval+ / MBPP+)40068.061.5
math (MATH-500, GSM8K, AIME24/25)46027.6138.0
reasoning (BBH, 10 hard subtasks)40024.2522.5
instruction (IFEval)40036.3840.8
tools (BFCL v3)40040.572.8
long context (NIAH + var tracking, 4k–16k)30081.096.3
agentic (multi-turn python tool tasks)2004.50.0
knowledge (MMLU-Pro chance-adjusted, SimpleQA)5008.26.8
safety (XSTest balanced refusal)45050.478.3

Plainly: Qwen2.5-Coder-1.5B has the higher overall score and is well ahead on tools, long context and safety. ZY-S2 wins coding. The two runs used different setups (ZY-S2: Q5_K_M on CPU; Qwen: Q4_0 on GPU), so this is not an exact comparison. Agentic is exact-match task success and likely understates both models. Knowledge is chance-adjusted, so scores near 0 mean near-chance. ZY-S2's safety is about 50 because it answers almost every prompt and rarely refuses unsafe ones.

SLMFrontier coding, same harness for every model (CPU llama.cpp, all Q5_K_M)

ModelCoding (400)HumanEval+ (163)MBPP+ (237)95% CI
ZY-S268.074.263.763.5–72.8
Qwen2.5-Coder-1.5B-Instruct63.563.263.758.8–68.2
Qwen2.5-Coder-0.5B-Instruct47.052.143.542.2–52.0
Llama-3.2-1B-Instruct38.027.045.633.2–42.8

The confidence ranges of ZY-S2 and Qwen2.5-Coder-1.5B overlap slightly.

Methodology

  • HumanEval / HumanEval+: EvalPlus problems and official EvalPlus test runner. Each problem goes through the chat template with the EvalPlus instruction ("Please provide a self-contained Python script...") and a fixed code-block response prefix. Decoding is greedy (temperature 0, top-k 1), with up to 768 new tokens and pass@1. ZY-S2 gets an empty <think></think> block before the prefix because it was trained with that format. The Qwen models get the same prompt without that block.
  • SLMFrontier is our benchmark covering HumanEval+/MBPP+, MATH-500/GSM8K/AIME, BBH, IFEval and BFCL v3. Decoding is greedy, and every model gets the same system prompt. The three-way rows use only the first 20 items of each area (the same items for every model), so each row is a small sample and noisy (±10 points or more). Full-set scores are in the tables below it; prefer those over the 20-item rows.
  • Computer-use sim: our 60-task simulated shell + web-form agent eval (up to 8 steps per task, checked by a task checker).
  • Security tests: a sandboxed, intentionally vulnerable demo Flask app with fake data and no network. The tests are vulnerability review (recall of 10 planted flaws), secure-code generation (20 prompts, judged by rules), and refusal of malicious versus legit requests. Sampling temperature is 0.2 and the sets are small, so read these as rough signals only.

Caveats

  • These are small-model results. Coding is the main strength, and HumanEval is a narrow test of short Python functions. It is not a measure of general coding ability.
  • Qwen's own published numbers use different prompts and full precision, so they differ from the numbers here. Only compare rows within this table.

How to run (llama.cpp)

llama-server -m ZY-S2-Q5_K_M.gguf -c 8192 --host 127.0.0.1 --port 8080
curl http://127.0.0.1:8080/v1/chat/completions -H 'Content-Type: application/json' \
  -d '{"messages":[{"role":"user","content":"Write a Python function that checks if a string is a palindrome."}],"temperature":0}'

Limitations

  • Weak at math, multi-step reasoning, and agent/computer-use tasks compared with its coding skill.
  • It can write insecure code (see the security rows). Review generated code before you run it.
  • English and Python are the focus, and other languages are less tested.
  • It is a 1.5B model, so expect factual mistakes.

License and credit

Released under Apache-2.0. Built on Qwen2.5-Coder-1.5B by the Qwen team (Alibaba Cloud), which is licensed under Apache-2.0. Comparison models are Qwen2.5-Coder-0.5B-Instruct and Qwen2.5-Coder-1.5B-Instruct (official Q5_K_M GGUFs).

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей