/ Модель

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

Размер весов
51,6 ГБ
Лицензия
Apache 2.0
Архитектура
gemma4 · dense
Базовая модель
gemma-4-26B-A4B-it
Опубликована
7 апр 2026

Frank-26B-A4B

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

Frank 26B-A4B — дообученная текстовая модель для генерации, отладки, проверки и рефакторинга кода, рассчитанная на локальную работу.

90скачиваний за 30 дней11лайковвеса обновлены12 апр 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Frank 26B-A4B — модель TendieLabs, дообученная на базе Google Gemma 4 26B-A4B-it для генерации кода, отладки, проверки и рефакторинга. Модель предназначена для локального использования как помощник программиста через OpenCode или OpenAI-совместимые клиенты, включая закрытые среды с требованиями к происхождению моделей.

Это разреженная архитектура Mixture-of-Experts: 25,2 млрд параметров всего, около 3,8 млрд активных за проход и 128 экспертов. По заявлению автора, Frank быстрее базовой модели на задачах преобразования кода благодаря выборочному использованию рассуждений. Обучение охватывало примерно 33 тысячи примеров, включая C#, Python, отладку и рассуждения; отдельно отмечена конвертация VBA в Python. Поддерживается английский язык. Модель рассчитана на текстовый ввод и выдачу текста, а не на мультимодальные задачи.

Автор рекомендует температуру 1.0: при низкой температуре режим рассуждений может зацикливаться и приводить к пустым ответам. В README приведены результаты собственных оценок на небольшом наборе задач, поэтому заявленные качество и ускорение не следует считать независимым сравнительным бенчмарком. Лицензия — Apache 2.0.

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

  • генерация кода на Python и C#
  • поиск ошибок и исправление кода
  • проверка кода и выявление проблем в реализации
  • рефакторинг существующего кода
  • конвертация VBA-отчётов в Python
  • локальный помощник программиста в OpenCode

Ограничения

Модель ориентирована на английский язык и задачи программирования, а не на общий чат или творческое письмо. При низкой температуре режим рассуждений может зацикливаться; автор рекомендует температуру 1.0.

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

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

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

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

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

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

Открыть на Hugging Face

Frank 26B-A4B

A fine-tuned Gemma 4 26B-A4B-it for code generation, debugging, and code review.

Frank is a TendieLabs fine-tune of Google's Gemma 4 26B-A4B-it, trained on ~33K coding examples spanning C#, Python, multi-turn debugging, and general reasoning. It is designed to serve as a local coding assistant via OpenCode or any OpenAI-compatible client in environments that require US/NATO-aligned model origins and prohibit the use of Chinese-origin models (Qwen, DeepSeek, Yi, etc.).

Key Features

  • Mixture-of-Experts (MoE): 25.2B total parameters, ~3.8B active per forward pass (128 experts). Runs at near-4B speed with 26B knowledge depth.
  • Learned task discrimination: Frank reasons through complex problems (math, debugging, code review) but skips unnecessary thinking on straightforward code generation. This results in 10-12x faster inference on code tasks compared to base Gemma 4 26B-A4B while maintaining full reasoning capability on tasks that need it.
  • NATO-aligned: US-origin base model (Google), Apache 2.0 license. Suitable for deployment in environments with supply chain policies restricting non-NATO AI model origins.
  • Patched chat template: Includes Google's latest chat_template.jinja and tokenizer_config.json for stable thinking mode behavior. Fixes the known ghost thought channel issue on Gemma 4 26B-A4B.

Recommended Inference Parameters

Gemma 4 models require higher temperature than the industry default for code generation. Using low temperature (0.2-0.3) causes reasoning mode to loop indefinitely on complex prompts. Use Google's recommended parameters:

ParameterValue
temperature1.0
top_p0.95
top_k65
max_tokens32768+ (for thinking headroom)
enable_thinkingtrue (default)

Important: Do NOT use temperature below 0.8 with thinking mode enabled. Low temperature causes Gemma 4's chain-of-thought reasoning to enter verification loops that consume the entire token budget without producing output. This is a documented behavior of the Gemma 4 architecture, not a Frank-specific issue.

Benchmarks

VBA-to-Python Conversion Eval

Five realistic VBA report conversions (simple to complex) scored on a 9-point objective rubric (produces output, valid Python, correct imports, single class, single run method, no markdown fences, return statement, no Outlook COM, plus hallucinated API detection).

All runs: temp 1.0, top-p 0.95, top-k 65, max_tokens 65536, thinking enabled. Frank models tested on NVIDIA A100 80GB at FP16.

ModelTest 1 (easy)Test 2 (medium)Test 3 (hard)Test 4 (complex)Test 5 (medium)AvgTotal Time
Base Gemma 4 26B-A4B9/99/99/99/99/99.0/9~430s
Frank (this model)9/99/99/99/99/99.0/9~40s

Frank matches base Gemma 4 on quality while being 10x faster on code conversion tasks due to learned task discrimination (skips reasoning when it is not needed).

Reasoning Verification

To verify that Frank retains full reasoning capability, it was tested on 5 reasoning tasks with thinking enabled:

TaskReasoning UsedCorrectNotes
Math trick ("all but 9 die")999 charsYesIdentified the linguistic trick, explained the common pitfall
Python debugging (fibonacci n-3 bug)1,718 charsYesFound exact bug, showed wrong output, provided corrected code
Widget puzzle (5 machines, 5 min)2,412 charsYesCorrect answer (5 min), called out the common wrong answer (100 min)
C# code review (EF Core filtering)3,301 charsYesIdentified critical in-memory filtering issue, naming conventions, DateTime usage
Bat and ball ($1.10 total)733 charsYesCorrect ($0.05), full algebra with verification

Frank reasons when reasoning is needed and skips it when it is not. This is learned behavior from the training data, not prompt engineering.

Original Eval (Historical Context)

Frank was initially evaluated at incorrect inference parameters (low temperature, low max_tokens) which caused Gemma 4's thinking mode to loop and produce empty responses. The model was shelved based on these results. Retesting with correct parameters (temp 1.0, proper thinking mode handling) revealed the training was successful all along.

ModelOriginal Eval (temp ~0.2)Corrected Eval (temp 1.0)
Base4.14 avg, 1 empty9.0/9 (baseline)
Frank3.53 avg, 5 empties9.0/9, 10x faster

The root cause of the original poor scores: Gemma 4's chain-of-thought reasoning loops at low temperature. Training reinforced reasoning behavior, causing the trained version to loop more frequently than base at low temperature, producing more empty responses. With correct temperature (1.0), the training effect is beneficial (faster, discriminative reasoning).

Training Details

  • Base model: google/gemma-4-26B-A4B-it
  • Method: LoRA 16-bit (QLoRA is not recommended for MoE, breaks routing)
  • Framework: Unsloth + Transformers
  • Dataset: ~33K coding examples
    • ~12.2K C# (tiny-codes-alpaca-csharp, dolphin-coder C# subset, Magicoder C# subset, SecureCode)
    • ~14.5K Python (OpenCodeInstruct top-scored, Code-Feedback, codeforces-cots, rStar-Coder, commitpackft, code-review-python, text-to-sql, LeetCode)
    • ~2.2K mixed reasoning
    • Full thinking traces included (not capped)
  • Hyperparameters: lr 2e-4, alpha 16, dropout 0, cosine schedule
  • Max sequence length: 4096 tokens
  • Special tokens: All Gemma 4 special tokens verified as single tokens

Intended Use

Frank is designed for:

  • Local coding assistant via OpenCode, Continue, or any OpenAI-compatible client
  • On-premises deployment in environments where data cannot leave the facility
  • NATO-aligned environments where corporate policy prohibits Chinese-origin AI models
  • Code generation, debugging, code review, and refactoring in C# and Python
  • VBA-to-Python report conversion (tested extensively, see benchmarks above)

Frank is NOT designed for:

  • General chat or creative writing (use base Gemma 4 for that)
  • Vision/multimodal tasks (text-only fine-tune)
  • Languages other than English

GGUF Quantizations

imatrix-calibrated GGUFs are available at TendieLabs/Frank-26B-A4B-GGUFs:

QuantizationBPWSizeUse Case
Q8_08.5126GBBest quality, needs 32GB+ VRAM or large RAM for CPU
Q4_K_M4.8316GBRecommended. Best quality-to-size ratio for most users
Q4_K_S4.5615GBSlightly smaller, minimal quality loss
Q4_15.0515GBAlternative 4-bit with delta encoding
Q4_04.5514GBSmallest, fastest, slight quality reduction

All quants are imatrix-calibrated using wikitext-2 to protect MoE routing gate weights during quantization. imatrix calibration is especially important for MoE models where naive quantization can damage expert routing.

Running with llama.cpp

llama-server --model Frank-26B-A4B-Q4_K_M.gguf \
  --n-gpu-layers 999 \
  --ctx-size 32768 \
  -fa on

Then use with any OpenAI-compatible client at http://localhost:8080/v1/chat/completions. Remember to set temperature to 1.0.

The Frank Series

Frank is the first model in the TendieLabs Frank series of fine-tuned models for coding and engineering tasks. The series is named with casual first names in the tradition of approachable, no-nonsense tools. Additional Frank-series models for specialized tasks are in development.

Citation

@misc{frank-26b-a4b,
  author = {TendieMuncher},
  title = {Frank 26B-A4B: Fine-tuned Gemma 4 for Code},
  year = {2026},
  publisher = {Hugging Face},
  url = {https://huggingface.co/TendieLabs/Frank-26B-A4B}
}

License

Apache 2.0 (inherited from Gemma 4). See Gemma Terms of Use for additional terms.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Gemma4ForConditionalGeneration
Ревизия весов
68e6ac6

0 моделей