How to use from
llama.cpp
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf GermannM/Kenga-Coder-7B:
# Run inference directly in the terminal:
llama cli -hf GermannM/Kenga-Coder-7B:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf GermannM/Kenga-Coder-7B:
# Run inference directly in the terminal:
llama cli -hf GermannM/Kenga-Coder-7B:
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-app
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama serve -hf GermannM/Kenga-Coder-7B:
# Run inference directly in the terminal:
./build/bin/llama cli -hf GermannM/Kenga-Coder-7B:
Use Docker
docker model run hf.co/GermannM/Kenga-Coder-7B:
Quick Links

Kenga-Coder-7B

Кодер-модель Кенги на базе Qwen2.5-Coder-7B-Instruct, дообученная на верифицированном датасете (язык Kenga + Python-ката + Z-система + идентичность).

Что внутри

  • ~640 программ на языке Kenga, проверенных компилятором (kenga-lite): каждая реально скомпилирована и запущена (compiler-in-the-loop).
  • 700 Python-задач, сгенерированных и проверенных исполнением.
  • Документация языка Kenga (struct, enum, map, events, stdlib math/list/agent, tensor).
  • Z-система и материалы kenga-lang, идентичность Кенги, Россия/культура, математика.
  • Принцип M5.3: правильность — не мнение, а факт (программа запускается, ответ проверен).

Обучение

  • База: Qwen/Qwen2.5-Coder-7B-Instruct
  • Метод: QLoRA (r=32, alpha=64, NF4 double-quant), bf16, grad-checkpointing
  • Железо: RTX 4070 SUPER 12GB, локально
  • Датасет: 6394 диалога, 3 эпохи, seq 2048
  • Квантизация: imatrix (Q4_K_M / Q5_K_M)

Файлы

  • kenga-coder-7b-q4_k_m.gguf — ~4.4GB, для 6GB GPU
  • kenga-coder-7b-q5_k_m.gguf — выше качество, ~5.3GB
  • adapter/ — LoRA-адаптер

Запуск

ollama run hf.co/GermannM/Kenga-Coder-7B:Q4_K_M
from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("GermannM/Kenga-Coder-7B")
model = AutoModelForCausalLM.from_pretrained("GermannM/Kenga-Coder-7B")

Создатель проекта: Герман Янтарас (GermannM)

Downloads last month
161
GGUF
Model size
8B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

4-bit

5-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for GermannM/Kenga-Coder-7B

Base model

Qwen/Qwen2.5-7B
Adapter
(838)
this model