/ Модель

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

Лицензия
Gemma
Базовая модель
gemma-4-12B-it-heretic-v1
Опубликована
9 ноя 2026

Gemma-4-Vain-12B-GGUF

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

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

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

Квантованная GGUF-модель Gemma 4 12B для ролевых диалогов, творческого письма и перевода с японского на английский.

Gemma-4 Vain 12B — плотная текстовая модель на базе Gemma 4, подготовленная Ozili для ролевых диалогов, творческого письма и перевода с японского на английский. Она предназначена для генерации естественной прозы и поддержания последовательного поведения персонажей. Модель имеет 12 млрд параметров; это GGUF-сборка без визуального проектора, поэтому мультимодальные возможности исходной Gemma 4 здесь недоступны. В репозитории представлены варианты квантования от IQ4_XS до Q8_0; размер файла Q8_0 — 11,80 GiB. В README описаны настройки запуска, включая контекст 16 384 токена для сохранённых ролевых прогонов, но это не подтверждённый предел контекста для всех вариантов квантования.

Модель создана с помощью LoRA ранга 32, обученной на предварительно обученной модели Gemma 4 12B, а затем объединённой с instruct/heretic-базой igorls/gemma-4-12B-it-heretic-v1 с коэффициентом 0,7. Карточка приводит механические эвристические проверки, но не независимую человеческую оценку качества; качество ролевых ответов, следование инструкциям и перевода может меняться. Лицензия — Gemma.

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

  • ведение ролевого диалога с последовательным персонажем
  • написание художественной прозы с естественным стилем
  • перевод текста с японского на английский
  • локальный запуск текстовой чат-модели в совместимом GGUF-рантайме

Ограничения

Качество проверялось эвристическими тестами без слепой оценки людьми; результаты не подтверждают превосходство в ролевых задачах или точность перевода. Качество и следование инструкциям могут зависеть от сида и промпта, а фактический расход памяти превышает размер файла из-за контекста и KV-кэша.

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

Gemma-4 Vain 12B (GGUF)

Vain 12B is a dense Gemma 4 finetune for roleplay, creative writing, and Japanese-to-English translation. It aims for a natural prose voice and consistent character behavior. This package uses the selected final checkpoint, s996, merged at scale 0.7.

Built on the heretic 12B base. These are text-model GGUF files; no vision projector is included.

Files

FileSizeBest for
Gemma-4-Vain-12B-Q8_0.gguf11.80 GiBHighest stored precision; the quantization comparison reference.
Gemma-4-Vain-12B-Q6_K.gguf9.11 GiBClosest measured match to Q8 among the smaller files.
Gemma-4-Vain-12B-Q5_K_M.gguf7.96 GiBA middle option for file size and measured fidelity.
Gemma-4-Vain-12B-Q4_K_M.gguf6.87 GiBLower storage and weight-memory use, with a larger measured change from Q8.
Gemma-4-Vain-12B-IQ4_XS.gguf6.18 GiBThe smallest file in this suite; greatest measured divergence from Q8.
Gemma-4-Vain-12B.imatrix.gguf14.28 MiBImportance matrix used for the smaller quants.

Model file size is not total VRAM use. Context, KV cache, runtime buffers, and other applications require additional memory. Partial CPU offloading may be necessary. This is a dense model; the active-parameter and expert-offloading behavior of Vain 26B-A4B does not apply.

Recommended settings

Start with the sampler used in the saved DRY evaluation runs. Use a runtime with Gemma 4 support and the model's embedded chat template.

SettingValue
Temperature0.7
Min P0.05
Top P0.95
Top K0 (disabled)
Repetition penalty1.05
DRY multiplier / base / allowed length0.8 / 1.75 / 2
DRY sequence breakersnewline, colon, double quote, asterisk

Saved roleplay runs used an 800-token reply cap, 16,384 context, thinking disabled, the embedded KoboldCpp chat template, and Q8_0/F16 KV. Adjust reply length to your use case. These settings are a starting point, not a demonstrated optimum for every quantization or prompt.

How it was made

  • Base: igorls/gemma-4-12B-it-heretic-v1, derived from the Gemma 4 12B family.
  • Method: the completed Vain12 style LoRA, final checkpoint at 996 steps, merged into the clean instruct/heretic F16 base at scale 0.7. The verified adapter rank is 32, with alpha 32; training was performed on the pretrained 12B base. No new training was performed for this packaging run.
  • Packaging: all five quants were generated directly from one verified F16 master using llama.cpp b11706 (f74e2fa6a). Q8_0 uses no importance matrix; the four smaller quants use the same Q8-collected matrix. The merge checked 328 adapter tensor pairs and all 667 output tensors.
  • Calibration: all 225 available full chunks at context 512. Calibration and evaluation text are not included.

Evaluation

No blind judging was performed. The table below contains saved mechanical checks of the selected checkpoint and competitors on two seeds. Vain's evaluated configuration used the Q8 base plus its runtime LoRA at scale 0.7; these are not new roleplay evaluations of each merged GGUF.

Vain scored 99.5/100 on seed 1234 and 94.0/100 on seed 2234. StyleTune scored 97.1 and 95.9 respectively, so these results do not establish a universal winner. Robustness is the arithmetic mean of category scores, not the overall fraction of individual trap checks passed.

Known limitations: these are heuristic measurements, not independent human quality judgments. Seed sensitivity, continuity, instruction following, translation accuracy, and style can vary. Twelve translation passages per candidate were generated, but translation quality was not blind-judged and no translation ranking is claimed.

Heuristic scores are not blind quality judgments. Higher is better. Each row has 98 replies.

ModelSeedRobustnessFidelityContinuitySpatialInstructionAgencyHygieneMedian words
heretic12 base123493.6100%100%67%97%98%100%144
heretic12 base223493.6100%100%67%97%98%100%141
Vain 12B123499.5100%100%100%97%100%100%145
Vain 12B223494.0100%100%67%97%100%100%156
Erebus 12B123487.675%93%67%94%96%100%119
Erebus 12B223485.875%87%67%92%96%99%130
StyleTune 12B123497.1100%100%83%100%99%100%94
StyleTune 12B223495.9100%93%83%100%99%100%99
Mag-Mell R1123491.775%100%83%97%96%99%86
Mag-Mell R1223493.3100%93%83%86%98%99%108
Rocinante-X123486.7100%87%67%83%95%89%127
Rocinante-X223483.9100%87%67%89%74%87%122

Validated RP replies: 1176. Completed MT passages: 72.

Quantization quality

All five files were measured on the same fixed evaluation input at context 2048: 27 full windows and 27,621 scored next-token predictions. The reference is Q8_0, not F16. The trailing partial window is excluded. Independence of this input from training data was not established, so this is a quantization comparison, not a claim of held-out benchmark performance.

QuantSize (GiB)PPLDelta PPL vs Q8Mean KLDp99 KLDSame top token
Q8_011.8010.854505+0.0000000.0000000.000039100.000%
Q6_K9.1110.951045+0.0965400.1817933.89801389.367%
Q5_K_M7.9610.712026-0.1424790.2760715.40635185.964%
Q4_K_M6.8712.156125+1.3016200.4029126.22232381.340%
IQ4_XS6.1812.088600+1.2340950.4835057.30338179.425%

PPL measures prediction of this input; KLD measures distribution changes from Q8. Lower KLD means a closer match on this test. Q6_K has the lowest KLD and highest top-token agreement among the smaller files. Q5_K_M has slightly lower PPL than Q8 but higher divergence than Q6_K; this does not establish better roleplay quality. The two 4-bit files show larger measured changes.

Q8's self-comparison reproduced PPL 10.854505, mean KLD 0.000000, p99 KLD 0.000039, and 100.000% matching top tokens. llama.cpp's stored reference clips low logits before 16-bit encoding; its reconstructed reference PPL is 10.594802. Delta PPL above uses the directly evaluated Q8 value. See the pinned implementation.

Evaluation used batch 2048, microbatch 256, and Flash Attention. The metadata context limit is not a tested maximum context for these quants. Local provenance paths were removed from descriptive GGUF metadata; tensor data, tokenizer data, and layout remain byte-identical to the evaluated files.

FileSHA-256
Gemma-4-Vain-12B-Q8_0.gguf281468adc0ad12b51cf43d4453add2cd6fe0a7001c960d5fabecd9c11c4d35ff
Gemma-4-Vain-12B-Q6_K.ggufafeed1b64b223f2d56dce1e60fdb86c943349041a3d9232a7bda84738a9ebec3
Gemma-4-Vain-12B-Q5_K_M.gguf22026d84da9a185523d2bfddcb35793ecaf5de9eab43b85069a83c65de8349bd
Gemma-4-Vain-12B-Q4_K_M.gguf2a8d27a64da546daddc9735dfffaf60fe06ffdfd6083096fedbea212c2bfa46e
Gemma-4-Vain-12B-IQ4_XS.gguf4330e67cd18c26969fd9fa8a662fbb0c41afbf12e47b1cba05ae64bfe0c576b8
Gemma-4-Vain-12B.imatrix.gguf059e3be83affecb6888b3bf97586a2ec2925fdb49355a8871edb48dbae016e5a

License

The immediate heretic-base card declares the Gemma license and links to the Gemma terms. This card's metadata follows that declaration. The underlying Google Gemma 4 12B card separately declares Apache 2.0 and links to its license. These upstream declarations differ; this package does not replace or reconcile them. Refer to the applicable upstream terms before redistribution.

Credits

  • Google DeepMind for Gemma 4.
  • igorls for the heretic 12B base, and Heretic for the ablation method.
  • llama.cpp for GGUF conversion, quantization, and numerical comparisons.

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

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

GPU в ailist

llama.cpp

Нельзя запустить

GGUF-модель ждёт проверки: нужно выбрать файл кванта под доступные GPU.

Ревизия весов
08a26d5

0 моделей