/ Модель

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

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

Ki-Complete-1.5B

Генерация текстаТекст → текст3 профессии
365скачиваний за 30 дней1лайквеса обновлены25 ноя 2026

Описание модели

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

Ki Complete 1.5B — локальная модель автодополнения кода, которая продолжает текущую строку или дописывает короткие блоки в редакторе.

Ki Complete 1.5B — модель автодополнения кода, разработанная KvcHub на базе Qwen2.5-Coder-1.5B. Она предлагает продолжение прямо во время набора текста в редакторе: завершает строку, дописывает короткий блок кода или оставляет подсказку пустой, если продолжение не требуется. Модель рассчитана на локальную работу через расширение Ki Complete для VS Code и совместимых редакторов, а также через llama.cpp; для интеграции с Hugging Face PEFT доступен LoRA-адаптер.

Модель дообучена методом LoRA на 120 тысячах примеров ситуаций автодополнения кода. В репозитории есть варианты GGUF Q8_0 и Q4_K_M, а также safetensors; для Q4_K_M в README указано потребление около 1,3 ГБ памяти. В описанных тестах модель улучшила результаты базовой версии на заполнении одной или нескольких пропущенных строк, но уступила ей на пробелах, начинающихся и заканчивающихся посреди строки. Обучение охватывало код на 15 языках программирования, а комментарии и код преимущественно англоязычные. Лицензия — Apache-2.0.

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

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

Ограничения

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

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus

Бенчмарки пользователейпока нет

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

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

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

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

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

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

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

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

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

Открыть на Hugging Face

Ki Complete 1.5B

KvcHub's code autocomplete model: it writes the grey suggestion as you type in your editor, running on your own computer. It powers the Ki Complete extension for VS Code and editors built on it (such as Antigravity).

A larger, more accurate but slower sibling is Ki Complete 7B.

Ki Complete 1.5B is Qwen2.5-Coder-1.5B fine-tuned by KvcHub for editor moments: finish the line you're typing and stop, write the block when a line opens one, write the next line on a fresh line, and write nothing when nothing is missing.

Get the extension: in VS Code, install Ki Complete from the Visual Studio Marketplace. Elsewhere, download the .vsix (v0.3.0, 41 KB; in the editor's Extensions panel choose Install from VSIX), or install Ki Complete from Open VSX (kvchub.ki-complete, published by KvcHub) from the Extensions panel in Antigravity or any editor that uses Open VSX. More at kvchub.com.

FileWhat it is
ki-complete-1.5b-q8_0.ggufThe model for llama.cpp (Q8_0, 1.65 GB, about 2 GB of memory)
ki-complete-1.5b-q4_k_m.ggufKi Complete Small: the same model packed to 4 bits (Q4_K_M, 986 MB, about 1.3 GB of memory) for computers with 8 GB of memory. In the same tests: HumanEval one line 88.8%, several lines 51.3%, real code exactly right 34.0% / 42.6% (Q8_0: 89.4%, 53.4%, 36.0% / 44.0%)
adapter/The LoRA (rank 64) for use with Hugging Face PEFT on top of Qwen/Qwen2.5-Coder-1.5B
LICENSEApache-2.0

Use

In the Ki Complete extension it's the default model. With llama.cpp directly:

llama-server -hf KvcHub/Ki-Complete-1.5B:Q8_0 --port 8012 -b 1024 -ub 1024 --cache-reuse 256
curl http://127.0.0.1:8012/infill -d '{"input_prefix": "def add(a, b):\n", "prompt": "    ", "input_suffix": "\n", "n_predict": 64}'

The prompt format is Qwen2.5-Coder's fill-in-the-middle, exactly as llama.cpp's /infill builds it: <|repo_name|>myproject\n<|file_sep|>filename\n<|fim_prefix|>{code before the cursor}<|fim_suffix|>{code after}<|fim_middle|>; pieces of other files can go before the last <|file_sep|> as <|file_sep|>{name}\n{code}. The model ends its answer with <|endoftext|> or <|fim_pad|>.

With PEFT:

from transformers import AutoModelForCausalLM
from peft import PeftModel
base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-Coder-1.5B")
model = PeftModel.from_pretrained(base, "KvcHub/Ki-Complete-1.5B", subfolder="adapter")

Results

On tasks it never trained on, through Ki Complete's own suggestion logic, on llama.cpp:

Qwen2.5-Coder-1.5BKi Complete 1.5B
HumanEval-Infilling, one missing line (1,033): tests pass88.4%89.4%
HumanEval-Infilling, several missing lines (1,000): tests pass50.8%53.4%
HumanEval-Infilling, gap starting mid-line (164): tests pass42.7%40.9%
Real code (700 spots): rest of the line exactly right30.9% / 39.7%36.0% / 44.0%
Same, with pieces of related files as context33.7% / 41.1%38.6% / 45.1%
Answers padded with extra lines nobody asked for65%3%
Tokens written per suggestion6512
Typical wait for a suggestion (Apple M5 Pro)586 ms228 ms

The real-code spots come from KvcHub's own projects (Python, JavaScript, HTML, shell), split into two halves. While typing on the same line, the server reuses its work and suggestions typically take about 0.1 seconds.

Training

  • Examples: 120,000 editor moments, in exactly the format llama.cpp sends: 41% part-way through a line, 35% on a fresh line, 9% a gap of up to three lines, 15% where nothing is missing. A quarter include pieces of other files from the same project.
  • Code: permissively licensed files (MIT, Apache-2.0, BSD, ISC and similar) in 15 languages from codeparrot/github-code-clean, plus about 10% from KvcHub's own projects (only files that parse; the test files and near-copies of them excluded).
  • Method: LoRA rank 64 on every attention and MLP layer (74M trainable parameters), loss only on the missing code, 989 steps over 10 hours on an Apple M5 Pro (about 40,000 examples seen). Validation loss on projects never trained on: 0.681 before, 0.578 after.
  • Credentials: the training files were scanned for keys and tokens; the model doesn't reproduce them (it is no more likely to write any of them than the base model, which never saw them). The Ki Complete extension also never suggests a key-shaped string that isn't already in your file.

Limits

  • It's a 1.5B model: strong at finishing lines and short blocks, weaker than large cloud models at long multi-line code.
  • Trained to finish lines and stop, so it does slightly worse than the base model when asked to fill gaps that start and end at random points mid-line.
  • Mostly English code and comments.

License and credits

Apache-2.0. Ki Complete 1.5B is a modified version of Qwen2.5-Coder-1.5B by the Qwen team (Apache-2.0): KvcHub fine-tuned it with a LoRA, merged into the GGUF weights. Training data from codeparrot/github-code-clean (permissively licensed files only); evaluation with HumanEval-Infilling (OpenAI, MIT); runs with llama.cpp (MIT).

Security & KvcHub Model Comparison

See SECURITY.md for the full threat model, deployment checklist, and vulnerability reporting policy.

KvcHub Model Security Comparison

ModelTaskParamsWeight Format (Pickle-Free)Runtime IsolationTraining ProvenanceData / Secret HygieneSupply-Chain & ChecksumsLicense
Kava-Privacy-30MPII Redaction (36 langs, 30 entities)30.46Msafetensors (Yes)100% local / offline (Transformers, CPU/MPS/CUDA)100% from scratchSynthetic 36-lang + CC-BY-4.0/Apache-2.0 synthetic PII; no real user PII; zero-hallucination span taggingHF LFS SHA-256 + eval_results.jsonApache-2.0
Kava-Privacy-2.01M-mlxPII Redaction (EN, 16 entities)2.01Msafetensors (Yes)100% local / offline (Apple MLX)100% from scratchFully synthetic training data; zero cloud callsHF LFS SHA-256 (kava_privacy.py custom loader)MIT
Kava-Privacy-636k-mlxPII Redaction (EN, 9 entities)636Ksafetensors (Yes)100% local / offline (Apple MLX)100% from scratchFully synthetic training data; zero cloud callsHF LFS SHA-256 (kava_privacy.py custom loader)MIT
KaiLu-3-ProConversational LM1.03Bsafetensors + GGUF (Yes)100% local / offline (llama.cpp, Ollama, Transformers)100% from scratchPublic open corpora + DPO (UltraFeedback, HelpSteer2, HH-RLHF); no formal red-team auditExplicit SHA256SUMS + HF LFS SHA-256Apache-2.0
KaiLu-3-MiniConversational LM329Msafetensors + GGUF (Yes)100% local / offline (Transformers, llama.cpp)100% from scratchPublic open corpora + DPO (UltraFeedback, HelpSteer2, HH-RLHF); no formal red-team auditHF LFS SHA-256KaiLu-3 License (Non-commercial)
KaiLu-WebIn-Browser Chat LM329M / 1.03BSplit GGUF (Yes)Browser WebAssembly sandbox (wllama); zero server callsPackaged from KaiLu-3 / 3-ProSame as KaiLu-3 / 3-Pro; browser COOP/COEP isolationHF LFS SHA-256Per-file (Apache-2.0 / KaiLu-3)
KaiLu-2-2B-GGUFReasoning & Chat LM1.90BGGUF F16–Q2_K (Yes)100% local / offline (llama.cpp)100% from scratch (distilled text mix)Public open datasets + synthetic reasoning; no formal safety red-teamingHF LFS SHA-256 + stats.jsonApache-2.0
KaiLu-1-933MMobile / Desktop Chat LM933Msafetensors + GGUF (Yes)100% local / offline (Apple MLX / mobile GGUF)100% from scratchOffline on-device execution; legacy v1 releaseHF LFS SHA-256Apache-2.0
Ki-Complete-7BCode Autocomplete (FIM)7B (LoRA r=64)GGUF + PEFT safetensors (Yes)100% local / offline (llama-server on 127.0.0.1)Fine-tuned on Qwen2.5-Coder-7BPermissive-license code only; pre-training secret/key scan + extension blocks novel key-shaped stringsHF LFS SHA-256Apache-2.0
Ki-Complete-1.5BCode Autocomplete (FIM)1.5B (LoRA r=64)GGUF + PEFT safetensors (Yes)100% local / offline (llama-server on 127.0.0.1)Fine-tuned on Qwen2.5-Coder-1.5BPermissive-license code only; pre-training secret/key scan + extension blocks novel key-shaped stringsHF LFS SHA-256Apache-2.0

KvcHub Model Benchmark Comparison

1. PII Redaction Family (Kava-Privacy)

ModelParamsLanguagesEntitiesArchitecturePrimary Benchmark ResultFalse-Positive / Hard-Neg CheckSpeed (Apple Silicon)
Kava-Privacy-30M30.46M3630 (61 BIO)ModernBERT (from scratch)Held-out test Exact Span F1 0.9146 (P 0.8952 / R 0.9348)Hard-Neg FPR: 0.033.3 docs/sec (MPS)
Kava-Privacy-2.01M-mlx2.01M1 (EN)16MLX Encoder (from scratch)Adversarial 100% (12/12) · Zero-shot OOD 87.5%0% on physics/subnet/legal/ticker suite2.2 ms / doc (MLX)
Kava-Privacy-636k-mlx636K1 (EN)94L MLX Encoder (from scratch)Synthetic val token acc 99.6%–100.0% across 9 tagsSynthetic val O-tag acc 100.0%Sub-ms (2.4 MB weights)

2. Conversational & Reasoning LM Family (KaiLu)

ModelParamsArchitectureContext (Trained)Footprint (Recommended)Speed (Apple Silicon)Reported Benchmarks
KaiLu-3-Pro1.03BLFM2 Hybrid (36L)1,024 (51K cfg)1.09 GB (Q8_0 GGUF) / 2.07 GB (bf16)Local CPU/Metal/OllamaBenchmarks intentionally omitted (MMLU/ARC/HumanEval/GSM8K included in SFT; evaluate on unseen data)
KaiLu-3-Mini329MLFM2 Hybrid (24L)1,024model.safetensors + kailu-3.ggufLocal CPU/MetalPretrained on 6.6B tokens + 460K SFT + 60K DPO pairs (no formal eval table published)
KaiLu-Web329M / 1.03BLFM2 Hybrid (wllama WASM)1,024351 MB (3-Q8_0) / 623 MB (3-Pro-Q4_K_M)In-browser WASMBrowser-packaged builds of KaiLu-3-Mini & KaiLu-3-Pro
KaiLu-2-2B-GGUF1.90BLFM2 Hybrid (104L)1,024 (4K GGUF)1.17 GB (Q4_K_M, 1.51 GB RAM)107 tok/s GPU / 64 tok/s CPU (Q4_K_M)Held-out PPL 11.003 (F16) / 11.077 (Q4_K_M); 8th-grade math 75.0%; Random math 43.3%; Unseen-vocab IQ 72.5%
KaiLu-1-933M933MMLX Transformer—546 MB mobile GGUF (1.15 GB RAM)260+ tok/s (Apple Silicon)Legacy v1 baseline (no formal benchmark suite published)

3. Code Autocomplete Family (Ki-Complete) — Measured on Apple M5 Pro (llama.cpp, Q8_0)

ModelParamsBase ModelHumanEval-Infill (1-line)HumanEval-Infill (multi-line)HumanEval-Infill (mid-line)Real Code Exact Line (no ctx / w/ ctx)Unwanted Extra LinesLatency (no ctx / w/ ctx)
Ki-Complete-7B7BQwen2.5-Coder-7B95.0%53.5%46.3%49.7% / 37.7% · 52.9% / 41.7%4% (vs 42% base)1.00 s / 4.5 s
Ki-Complete-1.5B1.5BQwen2.5-Coder-1.5B89.4%53.4%40.9%44.0% / 36.0% · 45.1% / 38.6%3% (vs 65% base)0.23 s / 1.1 s

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

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

GPU в ailist

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

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

Подбираем GPU…

Ревизия весов
b43d9ff

0 моделей