/ Модель

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

Контекст
262 144 токена
Размер весов
55,6 ГБ
Лицензия
Apache 2.0
Архитектура
qwen3_5 · dense
Базовая модель
Qwen3.8-27B
Библиотека
transformers
Опубликована
29 сен 2026

Qwen3.8-27B-pi

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

Дообученная на задачах Pi модель Qwen для агентного программирования, которая читает и изменяет репозитории, использует инструменты и проверяет результат.

2 099скачиваний за 30 дней73лайкавеса обновлены30 сен 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Qwen3.8-27B-pi — дообученная компанией Bytkim плотная модель семейства Qwen3.8 на базе Qwen/Qwen3.8-27B. Она предназначена для программирования в агентской среде Pi: модель читает репозиторий, изменяет файлы, вызывает инструменты и учитывает их результаты, чтобы доводить задачи до проверенного решения. README описывает обучение на отобранных успешных сессиях Pi с этапами supervised fine-tuning и reinforcement learning на основе GRPO. Модель принимает текстовые запросы и инструкции к инструментам и генерирует текст, код и вызовы инструментов; в метаданных основная задача указана как text-generation.

Доступны веса BF16 и форматы FP8 и GGUF; карточка приводит примеры запуска с контекстом 262 144 токена в vLLM и SGLang. Регулируемый уровень рассуждений позволяет выбирать баланс скорости и глубины решения. Разработчик сообщает об улучшении доли завершённых задач и экономии генерируемых токенов на отдельных тестах, но эти результаты относятся к выбранным ими оценкам. Модель распространяется по лицензии Apache-2.0.

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

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

Ограничения

Оптимизирована под цикл работы в Pi, поэтому её результаты в других агентских средах могут отличаться. Сведения об оценках производительности в README приведены разработчиком для выбранных тестов; независимое подтверждение не указано.

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

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

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

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

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

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

Открыть на Hugging Face

Built for pi

Qwen3.8-27B-pi builds on Qwen3.8-27B for coding work in the Pi agent harness. It is tailored to the loop of reading a repository, editing files, running tools, and responding to their feedback. The aim is more completed work with less generated text, while retaining the base model's familiar interface.

Fine-tuned for the Pi agent harness, the model is designed to work through coding tasks as an iterative process: inspect the code, make a change, check the result, and use tool feedback to guide the next step. Adjustable reasoning effort lets you balance responsiveness with deeper problem-solving, from focused edits to more involved debugging and implementation work.

Qwen3.8-27B-pi Highlights

  • Built for Pi: Fine-tuned for the everyday coding loop—reading repositories, editing files, running tools, and working through feedback in the Pi harness—with an emphasis on turning plans into working, checked implementations.
  • Curated coding experience: Supervised fine-tuning on filtered, successful Pi sessions helps the model learn complete coding workflows, rather than isolated answers or code snippets, including how to adapt to existing environments and check results against task requirements.
  • Task quality matters: Development also included reviewing, repairing, and exploring more demanding coding tasks—with a focus on clear requirements and checks that distinguish working solutions from incorrect ones.
  • Refined through reinforcement learning: A second training stage pairs verified task outcomes with a custom reasoning-efficiency reward built on GRPO, encouraging successful low- and medium-effort solutions to reason more economically while leaving xhigh focused on correctness.
  • Available in practical formats: Choose a deployment format that fits your hardware, including GGUF quantizations calibrated using complete Pi coding sessions.

Pi’s development followed a staged process, from trajectory curation and supervised fine-tuning to reinforcement learning and checkpoint evaluation. Each stage was assessed against the same practical goal: helping the model complete useful work in Pi while managing the resources it spends. Checkpoints were compared using actual agent outcomes alongside generated tokens, tool calls, and completion time—not training loss alone.

Performance by reasoning level

Curated Pi sessions and reinforcement learning emphasized completed, checked coding work. Pi shows a steadier rise in completion from low to xhigh than Base, with fewer output tokens at every matched effort level. In these selected results, Pi’s medium setting matches Base’s xhigh completion rate with about 41% fewer output tokens.

Pi’s RL stage encouraged economical low/medium reasoning while keeping xhigh focused on correctness. The graph shows a smoother rise in Pi’s attempt success as effort increases, while Base peaks at medium. Pi achieves the highest xhigh score, but Base retains the medium-effort edge.

Pi’s development prioritized successful solutions alongside resource use—not shorter responses alone. Both models improve with higher effort, but Pi solves more subproblems at every level. At xhigh, Pi scores higher with about 23% fewer output tokens; at medium, its higher score requires more tokens.

Quickstart

vllm serve bytkim/Qwen3.8-27B-pi \
  --host 127.0.0.1 \
  --max-model-len 262144 \
  --max-num-seqs 1 \
  --reasoning-parser qwen3 \
  --enable-auto-tool-choice \
  --tool-call-parser qwen3_xml \
  --speculative-config '{"method":"mtp","num_speculative_tokens":3}'

By default, vLLM loads this repository’s generation_config.json, which sets thinking-mode sampling to temperature=1.0, top_p=0.95, and top_k=20. No additional sampling flags are needed; client-provided values override these defaults, and --generation-config vllm uses vLLM’s built-in defaults instead.

Non-thinking mode

To serve with non-thinking mode and its recommended sampling settings as defaults, use this command instead of the one above:

vllm serve bytkim/Qwen3.8-27B-pi \
  --host 127.0.0.1 \
  --max-model-len 262144 \
  --max-num-seqs 1 \
  --reasoning-parser qwen3 \
  --enable-auto-tool-choice \
  --tool-call-parser qwen3_xml \
  --speculative-config '{"method":"mtp","num_speculative_tokens":3}' \
  --default-chat-template-kwargs '{"enable_thinking":false}' \
  --override-generation-config '{"temperature":0.7,"top_p":0.8,"presence_penalty":1.5}'

Alternatively, keep the thinking-mode server above and override individual API requests:

{
  "temperature": 0.7,
  "top_p": 0.8,
  "presence_penalty": 1.5,
  "chat_template_kwargs": {
    "enable_thinking": false
  }
}

These overrides follow Qwen’s recommended non-thinking settings. The remaining sampling settings are inherited from the model and vLLM defaults; turning thinking off alone does not change sampling.

Advanced

SGLang serving is also supported, including DFlash2 speculative decoding and FP8 KV cache.

DFlash2 companion weights are mirrored unchanged from Inco AI, with attribution and license included in dflash2/.

The examples below use DFlash2 instead of the Quickstart's MTP configuration, with FP8 KV cache and a 256K context limit. Use a runtime build with DFlash2 support and sufficient GPU memory; these are documentation-based examples.

Download the DFlash2 companion

Download the mirrored DFlash2 companion once before starting either server. The ~3.85 GB BF16 draft works as the companion for either target format.

hf download bytkim/Qwen3.8-27B-pi \
  --include "dflash2/*" \
  --local-dir models/pi-bf16

SGLang: DFlash2 + FP8 KV cache

python -m sglang.launch_server \
  --model-path bytkim/Qwen3.8-27B-pi \
  --host 127.0.0.1 \
  --port 8000 \
  --context-length 262144 \
  --max-running-requests 1 \
  --reasoning-parser qwen3 \
  --tool-call-parser qwen3_coder \
  --kv-cache-dtype fp8_e4m3 \
  --speculative-algorithm DFLASH \
  --speculative-draft-model-path models/pi-bf16/dflash2 \
  --speculative-num-draft-tokens 8

vLLM: DFlash2 + FP8 KV cache

vllm serve bytkim/Qwen3.8-27B-pi \
  --host 127.0.0.1 \
  --port 8000 \
  --max-model-len 262144 \
  --max-num-seqs 1 \
  --reasoning-parser qwen3 \
  --enable-auto-tool-choice \
  --tool-call-parser qwen3_xml \
  --kv-cache-dtype fp8_e4m3 \
  --speculative-config '{"method":"dflash","model":"models/pi-bf16/dflash2","num_speculative_tokens":7}'

Run one server at a time. SGLang's eight-token verification block corresponds to seven draft tokens in the DFlash2 example; vLLM specifies the seven draft tokens directly. FP8 KV cache is independent of weight precision. For default-precision KV cache, change --kv-cache-dtype fp8_e4m3 to --kv-cache-dtype auto.

References: DFlash2 model and launch examples, SGLang speculative decoding, SGLang server arguments, and vLLM FP8 KV cache.

License

Qwen3.8-27B-pi is fine-tuned from Qwen3.8-27B, whose base-model weights are licensed under the Apache License 2.0. See LICENSE for the full terms and NOTICE for upstream attribution and Pi modification details. Mirrored DFlash2 companions retain their license and provenance in dflash2/.

Acknowledgements

Built on Qwen3.8-27B from the Qwen team and adapted for the Pi agent harness. Thanks to the open-source training, inference, quantization, and evaluation projects—and dataset contributors—that supported its development.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Qwen3_5ForConditionalGeneration
Ревизия весов
34d3f21

0 моделей