/ Модель

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

Лицензия
Своя лицензия
Базовая модель
gemma-4-E2B-it
Библиотека
llama.cpp
Опубликована
30 сен 2026

Baihu-V1-GGUF

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

Компактная текстовая GGUF-модель для кратких ответов и многоходовых диалогов на китайском и английском языках.

203скачиваний за 30 дней1лайквеса обновлены30 сен 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Baihu-V1-GGUF — это текстовая GGUF-сборка модели ZichenAI, полученная дообучением google/gemma-4-E2B-it на двуязычных китайско-английских диалогах. Дообучение меняет стиль ответов: модель отвечает кратко и прямо, обычным текстом, и рассчитана на перенос правил, аналогий и форматов на новые случаи в ходе нескольких реплик. Это компактная модель примерно 2B-класса для диалогов и генерации текста; опубликованы варианты GGUF Q4_K_M и Q8_0 для запуска через llama.cpp. В этой сборке используются только текстовые возможности базовой модели, без её аудио- и визуальных компонентов.

Модель подходит для коротких ответов на вопросы на китайском и английском, а также для многошаговых объяснительных диалогов, где предпочтительны лаконичные ответы без разметки. В описанной авторами оценке на отложенных диалогах выросла близость ответов к эталонному стилю, при этом тест MMLU не показал заметного изменения общих знаний. Модель может галлюцинировать, унаследовать предвзятости базовой модели и не предназначена для надёжного поиска фактов, сложной математики, длинных текстов, вызова инструментов или задач с изображениями и аудио. Лицензия указана как other; конкретные условия следует проверять в репозитории модели и базовой модели.

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

  • краткие ответы на вопросы на китайском языке
  • краткие ответы на вопросы на английском языке
  • перенос заданного правила на новые примеры в диалоге
  • объяснение аналогии в нескольких репликах
  • ответы в заданном текстовом формате без Markdown
  • развёртывание текстового чат-бота на устройстве с ограниченными ресурсами

Ограничения

Модель может галлюцинировать; авторы не рекомендуют полагаться на неё для фактических справок, сложной математики, длинных текстов или вызова инструментов. Эта GGUF-сборка не включает визуальные и аудиокомпоненты базовой Gemma.

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

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

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

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

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

Открыть на Hugging Face

Baihu-V1 (GGUF)

Baihu-V1 is a LoRA fine-tune of google/gemma-4-E2B-it on a curated bilingual (Chinese + English) corpus of multi-turn transfer-dialogue data: conversations where a rule, analogy or format is introduced once and then carried to new cases across several turns.

The fine-tune changes the model's answering behaviour rather than its knowledge. It replies in short, plain prose, states the result directly, and stops, instead of producing long markdown lecture-style answers. Held-out evaluation shows this costs essentially nothing on general knowledge (MMLU 5-shot 53.4% → 52.6%) while roughly doubling reply quality against the reference style (ROUGE-L 0.236 → 0.432).


Files

FileFormatSizeNotes
Baihu-V1-Q4_K_M.ggufGGUF Q4_K_M3.42 GBRecommended
Baihu-V1-Q8_0.ggufGGUF Q8_04.95 GBNear-lossless

Both files are text-only conversions of the merged checkpoint. The vision and audio towers of Gemma 4 E2B are not used for text generation and were not fine-tuned, so they are not included.

Quick start

# llama.cpp CLI
llama-cli -hf ZichenAI/Baihu-V1-GGUF:Q4_K_M \
  -p "<bos><|turn>user\nIn one sentence: why does metal feel colder than wood?<turn|>\n<|turn>model\n" \
  -ngl 99 -st

# llama-server (OpenAI-compatible)
llama-server -hf ZichenAI/Baihu-V1-GGUF:Q4_K_M -c 8192 -ngl 99

The model uses the standard Gemma 4 chat template, so any client that speaks the Gemma 4 format works (llama.cpp, LM Studio, Ollama, transformers).


Benchmarks: base vs Baihu-V1

Every number below comes from the same scripts, the same held-out split and the same hardware (1× RTX 4090 D), so the delta is what matters, not the absolute values. The raw result files are in benchmarks/ and a consolidated copy is in benchmarks/summary.json.

1. Held-out transfer-dialogue benchmark — 321 conversations, 12 topic groups never seen in training

Each conversation is truncated before its final assistant turn; the model must produce that turn. ROUGE-L is character-level LCS F1 against the reference reply. "Plain text" means the reply contains no markdown markup at all. Len ratio is reply length ÷ reference length (1.00 = matching the reference style).

Metricgemma-4-E2B-it (base)Baihu-V1Δ
ROUGE-L ↑0.2360.432+0.196
Plain-text rate ↑1.6 %100 %+98.4 pp
Reply length ratio (target 1.00)3.860.97−2.89
Mean reply length (chars)432.3113.7−318.6
Key-number recall ↑0.5800.528−0.052

On the key-number recall row: the metric asks what fraction of the reference's numbers appear in the reply, which rewards saying more. The base model emits ~4× more text and therefore gets more chances to hit a number; the fine-tune trades a little of that for conciseness, while ROUGE-L — which also penalises the extra text — nearly doubles. No individual subject or pattern loses more than 6 pp.

2. Same benchmark, measured on the shipped GGUF (Q4_K_M) via llama-server

This row set is the end-to-end check of the published artefacts themselves.

Metricgemma-4-E2B-it-Q4_K_MBaihu-V1-Q4_K_MΔ
ROUGE-L ↑0.2350.419+0.184
Plain-text rate ↑1.3 %100 %+98.7 pp
Reply length ratio (target 1.00)3.850.96−2.89
Mean reply length (chars)432.2113.9−318.3
Wall-clock for 321 replies ↓192.1 s62.1 s−67.7 %

The GGUF reproduces the merged HF checkpoint closely (ROUGE-L 0.419 vs 0.432), which confirms that the merge-and-convert pipeline and the Q4_K_M quantisation introduce no meaningful degradation.

3. General capability — MMLU, 5-shot, option log-likelihood

500 test questions from 10 subjects (cais/mmlu, 50 per subject, 5-shot dev prompts). Scored by the log-likelihood of the option letter, the same protocol llama.cpp uses.

Subjectgemma-4-E2B-itBaihu-V1Δ
astronomy0.5400.520−0.020
computer_security0.4400.500+0.060
elementary_mathematics0.4800.4800.000
formal_logic0.5800.600+0.020
high_school_biology0.5400.5400.000
high_school_mathematics0.4400.400−0.040
high_school_physics0.3800.480+0.100
high_school_world_history0.6400.6400.000
logical_fallacies0.6400.540−0.100
world_religions0.6600.560−0.100
Overall0.5340.526−0.008

The −0.8 pp shift is inside the sampling noise of a 500-question suite (≈ ±2.2 pp at 95 % confidence), so the fine-tune did not cause measurable forgetting. This is not a general-purpose knowledge upgrade — it is a behaviour and style tune on top of the same base.

4. Held-out perplexity (llama-perplexity, Q4_K_M, 60 × 2048-token chunks)

ModelPerplexity ↓
gemma-4-E2B-it-Q4_K_M13.74
Baihu-V1-Q4_K_M5.28

5. Inference speed (llama-bench, RTX 4090 D, Q4_K_M, -ngl 99)

ModelPrefill (t/s)Decode (t/s)
gemma-4-E2B-it-Q4_K_M15 095307.8
Baihu-V1-Q4_K_M15 643307.1

Fine-tuning a subset of the attention and MLP projections does not change the architecture, so throughput matches the base model within run-to-run noise.


Training details

Base modelgoogle/gemma-4-E2B-it (5.13 B total params)
MethodLoRA, rank 16, alpha 32, dropout 0.05, bias none
Target modulesq_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj inside model.language_model (205 modules)
Trainable params24,158,208 / 5,128,455,712 (0.47 %)
Train / val973 / 321 conversations, split by topic group so validation topics are unseen
Lossassistant turns only (user turns masked with −100)
Epochs / steps3 / 183 optimiser steps
Batch4 × gradient accumulation 4 (effective 16)
LR2e-4, cosine, 5 warm-up steps, max grad norm 1.0
Precision / contextbf16 / 768 tokens (train lengths: min 155 · p50 290 · p90 385 · max 545)
OptimiserAdamW (PyTorch)
Hardware / time1× RTX 4090 D (24 GB) / 6.2 minutes
Final losstrain 1.165 · held-out eval 1.536
Frameworktransformers 5.17.0, peft 0.21.1, torch 2.14.0+cu130

Data

973 training / 321 validation multi-turn conversations (6–10 messages each), synthesised around six transfer patterns — rule_induction, analogy_transfer, format_transfer, counterfactual, cross_domain, teaching_loop — in both Chinese and English. The validation split holds out whole topic groups, so every validation conversation is about a topic the model never saw during training.

Export pipeline

  1. Merge the LoRA adapter into the base weights in bf16 (peft.merge_and_unload).
  2. convert_hf_to_gguf.py --outtype bf16 (llama.cpp).
  3. llama-quantize … Q4_K_M / Q8_0.
  4. Re-measure everything on the resulting GGUF with llama-server and llama-perplexity.

Intended use and limitations

Use it for: concise, direct question answering in Chinese or English; multi-turn explanatory dialogues where a short answer is preferred over a formatted essay; on-device or edge deployment where a ~3.4 GB 2B-class model is the budget.

Do not rely on it for: factual lookups, mathematics beyond short arithmetic, long-form writing, tool calling, or anything needing the vision/audio capabilities of the base Gemma 4 E2B — those towers are not part of this GGUF.

The model was fine-tuned on synthetic dialogue data. It can still hallucinate, it inherits the biases of its base model, and its output should be reviewed before being used in any consequential setting. It ships at Q4_K_M by default — use the Q8_0 file when near-lossless output matters.


License

Custom license — personal use free, commercial use requires a paid licence.

UseCost
Personal, research, academic, non-profit, open-source non-commercialFree
Any commercial or revenue-generating usePaid licence required

Commercial licensing contact:

novaweb6868@outlook.com Suggested subject: Baihu-V1 Commercial License

See LICENSE for the full text. This model is a derivative of google/gemma-4-E2B-it and remains subject to the Gemma 4 license terms. Where the two conflict, the Gemma 4 terms prevail.

Citation

@misc{baihu-v1,
  title  = {Baihu-V1: a transfer-dialogue LoRA fine-tune of Gemma 4 E2B, exported to GGUF},
  author = {ZichenAI},
  year   = {2026},
  url    = {https://huggingface.co/ZichenAI/Baihu-V1-GGUF}
}

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

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

GPU в ailist

llama.cpp

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

Подбираем GPU…

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

0 моделей