/ Модель

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

Лицензия
Apache 2.0
Базовая модель
gemma-4-31b-it-heretic-ara
Опубликована
8 ноя 2026

Gemma-4-Vain-31B-GGUF

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

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

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

Плотная текстовая Gemma 4 Vain 31B в формате GGUF для ролевых диалогов, творческого письма и перевода с японского на английский.

Gemma-4 Vain 31B GGUF — плотная текстовая модель объёмом 31 млрд параметров, разработанная автором репозитория на основе trohrbaugh/gemma-4-31b-it-heretic-ara и Gemma 4 31B. Модель ориентирована на ролевые диалоги, творческое письмо и перевод с японского на английский; автор стремился добиться естественного стиля прозы и последовательного поведения персонажей. Выпуск содержит выбранный чекпойнт s996 в формате GGUF с несколькими вариантами квантования. Веса текстовые: визуальный проектор не включён.

Модель создана с помощью rank-64 LoRA, обученной 996 шагов и объединённой с базовой моделью. В карточке приведены сравнительные оценки на наборах сцен для ролевого общения и отрывков для перевода, однако это результаты сохранённых оценок чекпойнта, а не независимые тесты каждого GGUF-варианта. Для запуска требуется среда с поддержкой Gemma 4; потребление памяти зависит от квантования, длины контекста и настроек runtime. Лицензия — Apache 2.0.

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

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

Ограничения

Согласованность персонажей, следование инструкциям, точность перевода и стиль могут меняться в зависимости от запроса и запуска; результаты оценки не гарантируют качество каждого варианта квантования. Это плотная модель на 31 млрд параметров, поэтому для запуска может потребоваться значительный объём памяти или частичная выгрузка на CPU.

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

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

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

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

Источники: 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 31B (GGUF)

Vain 31B 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 release packages the selected final checkpoint, s996.

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

Files

FileSizeBest for
Gemma-4-Vain-31B-Q8_0.gguf30.39 GiBHighest precision in this release; the quantization comparison baseline.
Gemma-4-Vain-31B-Q6_K.gguf23.47 GiBThe closest measured match to Q8 among the smaller files.
Gemma-4-Vain-31B-Q5_K_M.gguf20.35 GiBA middle option for file size and measured fidelity.
Gemma-4-Vain-31B-Q4_K_M.gguf17.40 GiBLower memory use, with a larger measured change from Q8.
Gemma-4-Vain-31B-IQ4_XS.gguf15.59 GiBThe smallest file in this release.
Gemma-4-Vain-31B.imatrix.gguf26.25 MiBImportance matrix for making additional quants.

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

Recommended settings

Start with the sampler used in the saved 31B 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 breakers"\n", ":", "\"", "*"

The saved runs used an 800-token reply cap. 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: trohrbaugh/gemma-4-31b-it-heretic-ara, derived from Gemma 4 31B.
  • Method: the author's vain31-style rank-64 LoRA, trained for 996 steps and merged at scale 1.0. The approach was inspired by Sprinkle. Training details are supplied by the model author.
  • Packaging: all five quants were generated directly from one F16 master using llama.cpp b11706 (f74e2fa6a). Q8_0 uses no importance matrix; the four smaller quants use the same Q8-collected matrix.
  • Calibration: all 225 available full chunks at context 512. Calibration and evaluation text are not included in the release.

Evaluation

The selected checkpoint was evaluated in 8 roleplay scenes and 12 translation passages per round, using six anonymized judges with rotated candidate labels. These are saved checkpoint evaluations, not new blind tests of every GGUF quantization.

  • Against MeroMero v2 and StyleTune 31B: Vain placed first in both the roleplay round (62 points) and the translation round (93 points). Roleplay head-to-head results were 27-21 and 35-13; translation results were 39-33 and 54-18.
  • Against Sprinkle 31B: Vain won the seed-1 roleplay comparison 35-13. In seed 2 it scored 43 points to Sprinkle's 40, with a 24-24 head-to-head tie.
  • Mechanical checks: Vain's seed-2 robustness score was 99.5/100, computed as the mean of category scores. It is not an overall individual-check pass rate.

Known limitations: Vain does not win every comparison. The heretic-ara base won the seed-2 roleplay and translation head-to-head comparisons against Vain. Seed-1 Vain robustness was 92.7/100, so the seed-2 score should not be read as a guarantee across prompts or seeds. Continuity, instruction following, translation accuracy, and output style can still vary. Multiple judgments of the same scene are not independent samples.

These are historical evaluations of the selected checkpoint and competitors, not fresh evaluations of every quantization in this repository. Six anonymized judges used rotated candidate labels. Each roleplay round has 8 scenes x 6 judges = 48 rankings; each translation round has 12 passages x 6 judges = 72 rankings. Points award 2 for first place, 1 for second, and 0 for third. Multiple judgments of the same scene are not independent samples.

The tables are derived from the saved aggregate evaluation results; means are metric sums divided by their observation counts.

Roleplay against 31B rivals

ModelPointsFirst placesLogicWritingIdeasSlips per judgment
Vain 31B6224/48 (50.0%)8.988.678.400.19
MeroMero v2 31B5421/48 (43.8%)8.698.588.540.35
StyleTune 31B283/48 (6.2%)8.178.318.040.69

Vain wins the pairwise comparisons 27-21 against MeroMero v2 and 35-13 against StyleTune in this round.

Japanese-to-English translation against 31B rivals

ModelPointsFirst placesAccuracyNaturalnessVoiceErrors per judgment
Vain 31B9339/72 (54.2%)8.968.728.570.24
MeroMero v2 31B8525/72 (34.7%)9.008.888.740.17
StyleTune 31B388/72 (11.1%)8.718.408.390.38

Vain wins the pairwise comparisons 39-33 against MeroMero v2 and 54-18 against StyleTune in this round.

Roleplay against the base and Sprinkle: seed 1

ModelPointsFirst placesLogicWritingSlips per judgment
heretic-ara 31B6017/48 (35.4%)9.128.500.06
Vain 31B5924/48 (50.0%)8.968.650.23
Sprinkle 31B257/48 (14.6%)8.358.250.52

Vain ties the base 24-24 head-to-head and beats Sprinkle 35-13. The base has 60 points versus Vain's 59; Vain has more first-place rankings.

Roleplay against the base and Sprinkle: seed 2

ModelPointsFirst placesLogicWritingSlips per judgment
heretic-ara 31B6125/48 (52.1%)9.278.710.08
Vain 31B4311/48 (22.9%)8.758.540.29
Sprinkle 31B4012/48 (25.0%)8.798.520.23

This uses the matched seed-2 round . Vain has 43 points versus Sprinkle's 40 but ties Sprinkle 24-24 head-to-head; the base beats Vain 29-19.

Translation against the base and Sprinkle

ModelPointsFirst placesAccuracyNaturalnessVoice
heretic-ara 31B8429/72 (40.3%)9.198.758.82
Vain 31B6626/72 (36.1%)9.038.798.58
Sprinkle 31B6617/72 (23.6%)9.108.688.64

Vain does not win every comparison: the base beats Vain 40-32 and Sprinkle beats Vain 38-34 head-to-head in this translation round.

Mechanical roleplay robustness

The saved evaluator defines robustness as the arithmetic mean of available category scores, multiplied by 100. It is not the overall fraction of individual trap checks passed. Fidelity, continuity, spatial, and instruction scores measure scripted checks; agency and hygiene measure fractions of replies without the corresponding violations.

modelrobustnessfidelitycontinuityspatialinstructionagencyhygienemedian words
Vain 31B (seed 2)99.5100%100%100%97%100%100%86
MeroMero v2 31B98.9100%93%100%100%100%100%90
heretic-ara 31B (seed 1)95.9100%93%83%100%99%100%78
StyleTune 31B94.1100%100%67%100%100%98%69
heretic-ara 31B (seed 2)92.9100%93%67%97%100%100%74
Vain 31B (seed 1)92.7100%93%67%97%99%100%83
Sprinkle 31B (seed 2)89.9100%93%50%97%99%100%78
Sprinkle 31B (seed 1)89.275%93%67%100%100%100%77

The seed-2 Vain score is 99.5/100. Its category scores are 100% fidelity, 100% continuity, 100% spatial, 97% instruction, 100% agency, and 100% hygiene.

Quantization quality

All quantizations were evaluated on the same held-out text at context 2048: 27 full windows and 27,621 scored next-token predictions. The reference is Q8_0, not F16. The unused trailing partial window is excluded by llama.cpp.

QuantSize (GiB)PPLDelta PPL vs Q8Mean KLDp99 KLD
Q8_030.399.214255baseline0.0000000.000040
Q6_K23.479.274941+0.0606860.0723041.204175
Q5_K_M20.359.424176+0.2099210.1198362.370006
Q4_K_M17.408.925522-0.2887330.1769563.374020
IQ4_XS15.598.971741-0.2425140.2305724.311135

PPL measures prediction of this test text; KLD measures distribution changes from Q8. Lower KLD means a closer match to Q8 on this test. Q4 and IQ4 have lower PPL here but higher KLD; this does not establish broader superiority over Q8 or full precision.

Q8's self-comparison reproduced PPL 9.214255, mean KLD 0.000000, p99 KLD 0.000040, and 99.996% matching top tokens. llama.cpp's stored reference clips low logits before 16-bit encoding, so its reconstructed reference PPL is 8.627890. Delta PPL above uses the direct Q8 result, not that reconstructed 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 nonfunctional GGUF metadata; all tensor data and layout remain byte-identical to the evaluated files.

FileSHA-256
Gemma-4-Vain-31B-Q8_0.gguf9056bf4fdce2cee973278812bf1e42a35fc8b26a82fb74739b7e16c2e8d0a9d0
Gemma-4-Vain-31B-Q6_K.gguf90e1006a0cff2753aba9ac8a11ddd7f10dcfe09803d1a35cc997066bb60560bc
Gemma-4-Vain-31B-Q5_K_M.gguf14f4cdadacc6e309f9cbf7510b0f94ddf2c54d7dff24132557876c998d929585
Gemma-4-Vain-31B-Q4_K_M.gguf33a436367fce247979c20846ec17ff9cd3fe05f2a4374640c6ad751ceb04e612
Gemma-4-Vain-31B-IQ4_XS.gguf421fcbd572fded372d0dad2141494ae29d7c0c02e27a6e1241b7a6eb8f556b68
Gemma-4-Vain-31B.imatrix.ggufb7a7b1a71a37e995d5622c279e9d854159d0b8dc2c25510b1e5a0ea3f7142f74

License

Apache 2.0, as declared by the upstream Gemma 4 and heretic-ara repositories.

Credits

  • Google DeepMind for Gemma 4.
  • trohrbaugh for the heretic-ara base, and Heretic for the uncensoring method.
  • Peregrine, whose Sprinkle finetunes inspired the approach.
  • llama.cpp for GGUF conversion and quantization.

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

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

GPU в ailist

llama.cpp

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

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

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

0 моделей