/ Модель

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

Лицензия
MIT
Базовая модель
Qwen2.5-Coder-1.5B-Instruct
Библиотека
gguf
Опубликована
5 июн 2026

Bragi-LLM-GGUF

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

Компактная GGUF-модель на базе Qwen2.5-Coder для локальной генерации Python-кода.

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

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Bragi-LLM-GGUF — компактная локальная модель для генерации кода на Python, созданная независимым исследователем Chen, Ho Yiing. Это GGUF-квантование Qwen/Qwen2.5-Coder-1.5B-Instruct с размером около 1,5 млрд параметров и файлом весов 786 МБ; используется формат Q3_K_M с калибровкой imatrix на обучающей части MBPP. Модель принимает текстовые инструкции и генерирует текстовый код; в карточке указана поддержка английского языка.

Модель предназначена для локальной и офлайн-генерации небольших Python-решений. В тесте MBPP базовая GGUF-модель показала 65% pass@1 при однократной генерации. Заявленные 92% относятся к полной системе Bragi с отдельными символьной библиотекой и маршрутизатором, а не к этому файлу весов отдельно.

К ограничениям относятся невысокая надёжность при редких формулах, отсутствие измерений для рефакторинга нескольких файлов и работы с существующими кодовыми базами, а также узкая специализация на Python. Лицензия — MIT; модель запускается с llama.cpp и ориентирована на локальное использование.

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

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

Ограничения

Отдельная GGUF-модель показала 65% pass@1 на MBPP; результат 92% относится к полной системе с дополнительными маршрутизатором и символьной библиотекой. Модель не рассчитана на сложный многофайловый рефакторинг и не измерена на реальных кодовых базах.

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

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

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

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

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

Открыть на Hugging Face

Bragi-LLM-GGUF

An 805 MB local Python coding assistant. 92% MBPP single-shot, 2 points behind Qwen2.5-Coder-7B (14 GB, 17x larger). Zero API cost.

DOI GitHub License

What is this

c15v-q3km-imat.gguf is the backbone GGUF for the Bragi-LLM system, a 786 MB Q3_K_M quantised Qwen2.5-Coder-1.5B-Instruct with imatrix calibration on MBPP-train Python code. It is the small LLM half of a hybrid design: combined with a 15 KB hand-engineered symbolic engine library and a 6 KB keyword intercept router, the full system reaches 92% pass@1 on the MBPP test split, single-shot greedy decoding, no retry. See the paper for the failure-mode analysis and ablations: doi:10.5281/zenodo.20557449.

The triptych

RoleRepoWhat it is
Brain (this file)Bragi-LLMThe 805 MB local Python coder.
EyesCode TreeThe visual IDE.
HandsDemeter-CodeBuilderOpenAI-compatible proxy wiring Bragi as Code Tree's default local backend.

Together: about 1 GB on disk. Fully offline. Zero recurring fees. MIT.

Results

SystemFootprintMBPP test 0-99 single-shot
Vanilla 1.5B Q3_K_M (this backbone alone)786 MB65%
With intercept router + engine_lib (full Bragi system)805 MB92%
Reference Qwen2.5-Coder-7B fp1614 GB94%

The GGUF alone (this file) is the 65% column. The 92% number requires the router and engine library which are open-sourced in the Bragi-LLM GitHub repo.

Quick start

Download

huggingface-cli download norika1207-lab/Bragi-LLM-GGUF c15v-q3km-imat.gguf --local-dir .

Run with llama.cpp

# build llama.cpp once
git clone https://github.com/ggerganov/llama.cpp
cd llama.cpp && cmake -B build && cmake --build build --config Release

# serve
./build/bin/llama-server -m c15v-q3km-imat.gguf -ngl 99 -c 16384 --parallel 4 --port 8080
# CPU only
./build/bin/llama-server -m c15v-q3km-imat.gguf -ngl 0  -c 16384 --parallel 4 --port 8080

Use full Bragi system (recommended, gets 92%)

Combine with router and engine library from the GitHub repo:

git clone https://github.com/norika1207-lab/Bragi-LLM
cd Bragi-LLM
python3 solve_intercept2.py 1 1 100 http://localhost:8080/v1/chat/completions

Or use the OpenAI-compatible proxy from Demeter-CodeBuilder, which wraps everything and exposes Bragi as a drop-in OpenAI endpoint.

How it works

The 1.5B Q3 backbone alone fails MBPP problems primarily by mis-recalling rare formulas: octagonal number written as 3n^2 - 2n instead of n(3n - 2), divisibility-by-11 implemented as digit-sum-mod-11 (correct rule is alternating digit sum). These formulas are 50-byte Python expressions; storing them in 3-bit quantised weights is wasteful and error-prone.

The full Bragi system externalises rare formulas into a 15 KB symbolic library (engine_lib.py) and routes matched problems entirely around the LLM via a regex keyword router. The backbone runs only when no route matches.

Quantisation details

  • Base model: Qwen/Qwen2.5-Coder-1.5B-Instruct
  • Quantisation: Q3_K_M with imatrix calibration
  • Imatrix corpus: MBPP-train Python code split (374 verified solutions, 67 KB; no test data)
  • Tool: llama.cpp llama-imatrix + llama-quantize build b4c0549
  • File size: 786 MB

Limitations

  • Hand-engineered engine_lib covers the MBPP test distribution but not arbitrary code tasks.
  • Regex router will not match prompts in other languages or with unusual phrasing.
  • Real-world coding (multi-file refactoring, integration with existing codebases) is not measured by MBPP and not the design target.

See paper section 5.3 for full limitations.

Citation

@misc{chen2026bragillm,
  author = {Chen, Ho Yiing},
  title  = {Bragi-LLM: An 805 MB Hybrid Code-Generation System Reaches 92\% MBPP via LLM-Symbolic Engine Routing},
  year   = {2026},
  doi    = {10.5281/zenodo.20557449},
  url    = {https://doi.org/10.5281/zenodo.20557449},
  note   = {Independent Researcher, Taiwan. ORCID 0009-0006-6816-9891.}
}

Author

Chen, Ho Yiing (norika), Independent Researcher, Taiwan. ORCID: 0009-0006-6816-9891

Correspondence: norika at charenix.com

License

MIT. See the Bragi-LLM repo for the full LICENSE file.

Acknowledgements

Developed using donated off-hours access to NVIDIA DGX Spark hardware. Implementation and draft writing assisted by Claude (Anthropic). The architectural direction (refuse to ship sub-target results, diagnose before optimising, externalise rather than memorise) is the author's.

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

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

GPU в ailist

llama.cpp

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

Подбираем GPU…

Ревизия весов
4b95b4e

0 моделей