NORIKA ODA

06RESEARCH PAPERPreprint

Bragi-LLM: An 805 MB Hybrid Code-Generation System Reaches 92% MBPP via LLM-Symbolic Engine Routing

Chen, Ho Yiing

發表日期

DOI 10.5281/zenodo.20557449 Zenodo 紀錄頁 PDF(72 KB)

01

摘要

ABSTRACTZenodo 原文

Bragi-LLM is a sub-gigabyte (805 MB total) Python code-generation system that reaches 92% pass rate on the MBPP test split under 100-problem sustained evaluation (single-shot, greedy decoding, no retry).

It places within 2 absolute points of Qwen2.5-Coder-7B fp16 (94%, 14 GB, 17x the footprint), and 27 absolute points above the same 1.5B-Q3 backbone evaluated standalone (65%).

The system combines (i) a 786 MB Q3_K_M quantised Qwen2.5-Coder-1.5B-Instruct backbone with imatrix calibration, (ii) a 15 KB hand-engineered symbolic engine library of 50 unit-tested helpers covering rare formulas, and (iii) a 6 KB keyword-based intercept router that detects formula-class problems and routes them directly to the engine library, bypassing the LLM.

The dominant failure mode of the small backbone is rare-formula recall under quantisation noise, not reasoning capacity. Externalising this knowledge into a static library, then routing matched problems around the LLM, recovers the capability gap at near-zero deployment cost. The full stack runs on commodity CPU hardware with no API dependency and no recurring fees.

All artefacts under MIT License: Bragi-LLM (backbone + library + router + harness), Demeter-CodeBuilder (integration with the Code Tree IDE).

02

全文 PDF

FULL TEXT1 個檔

PDF 與 Zenodo 上的檔案相同(大小與 md5 已核對)。

03

論文資料

DETAILSZenodo 紀錄 20557449
作者
Chen, Ho Yiing
發表日期
資源類型
Preprint
DOI
10.5281/zenodo.20557449
Zenodo
zenodo.org/records/20557449
授權
Creative Commons Attribution 4.0 International

作者 Chen, Ho Yiing 是織田紀香的本名(陳禾穎)英文拼寫。標題、摘要、關鍵字與授權照 Zenodo 原文。

04

關鍵字

KEYWORDS13 個
  • small language models
  • code generation
  • MBPP
  • LLM quantisation
  • GGUF
  • llama.cpp
  • symbolic AI
  • hybrid systems
  • on-device inference
  • frugal LLM
  • intercept router
  • engine library
  • Qwen2.5-Coder
05

其他研究論文

MORE