/ Модель

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

Лицензия
Своя лицензия
Базовая модель
GigaChat4-37B-A4B
Библиотека
peft
Опубликована
29 ноя 2026

GigaChat-4-37B-Lucid-LoRA-GGUF

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

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

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

Экспериментальный GGUF LoRA-адаптер для GigaChat4-37B-A4B, снижающий вероятность отказов при локальной генерации текста.

Это экспериментальный LoRA-адаптер kabachuha для GigaChat4-37B-A4B, созданный с помощью инструментария Lucid. Он меняет поведение базовой модели, снижая вероятность отказов и перенаправлений, и предназначен для локального запуска вместе с совместимой GGUF-квантизацией через llama.cpp. Адаптер распространяется в формате GGUF и рассчитан на подключение с масштабом 1.0; автор создавал его на квантовании Q4, поэтому совместимость с другими вариантами квантования не гарантируется.

В карточке приведены результаты проверки на 150 отложенных запросах: доля помеченных отказов снизилась, однако автор не проводил серьёзного бенчмаркинга и подчёркивает экспериментальный характер работы. Адаптер не устраняет все отказы и не меняет политические или культурные установки базовой модели; возможны унаследованные от неё смещения. Требуется соблюдать лицензию базовой модели, которая, согласно README, запрещает коммерческое применение и ограничивает некоторые некоммерческие случаи.

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

  • Снижение частоты отказов в локальном чат-боте на базе GigaChat4
  • Эксперименты с изменением поведения языковой модели через LoRA
  • Локальная генерация текста с адаптером в llama.cpp

Ограничения

Автор не проводил масштабных бенчмарков; отказы и перенаправления сохраняются, а совместимость адаптера с квантованиями, отличными от Q4, не гарантируется. Модель наследует смещения базовой модели, а лицензия базы ограничивает коммерческое и некоторые некоммерческие применения.

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

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

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

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

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

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

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

Открыть на Hugging Face

GigaChat4-37B-A4B (Realigned with Lucid)

x27 fewer refusals (10/300 This vs 267/300 Original) while preserving model quality (0.11 KL divergence).

Realignment summary


THIS IS A TEST OF LUCID, KEEP IT IN MIND.

Today, @mrfakename, having previously mysteriously realigned multiple very large 100B+ models, decided to open his own previously closed abliteration toolkit. And, well, it's amazing!

The toolkit named Lucid, unlike many other repositories, builts on top of llama.cpp, and this changes everything. It allows you to launch the process as a tiny LoRA adapter on top of quantized GGUFs, even on heavy quants, this means ANYONE who can launch the model can modify it. It supports MoE offload and llama.cpp's native experts caching. The modification type is MPOA, meaning it employs techniques such as biprojection and magnitude preservation. Also, just like in the case of @sanasol2008's work, Lucid captures the activations in two places: the first token in non-thinking mode and the first token after the reasoning. This is because the chat-mode and think-mode directions frequently diverge and peak in different layers. More information described here https://lucid-toolkit.org/docs/how-it-works.

As for the performance of this toolkit, GigaChat4 37B has been abliterated AND refusal-optimized literally in less than 30 minutes end to end!

If needed, it makes multiple SVD top K directions abliteration, if needed, determined automatically, but only 1 was sufficient in this case.

This is my first time using this toolkit and I didn't do serious benchmarks on this model because I don't have time, but the KL/refusal balance is satisfactory, also hedging removed thanks to the expanded vocabulary.

The next step is probably to make multilingual creative writing control vectors like I did for DeepSeek.

The modification is placed as a small size GGUF LoRA adapter because I don't want to use too much HF space, so bear with it. It was also created on the Q4 quantization and other quantizations are not guaranteed to work with it as much as they do with Q4.

⚠️ WARNING: The model with the modification adapter is very fun, creative and hilarious, and low KL shows that it's still not stupid, but you need to adhere to the base LICENSE. This is an individual use license that basically prohibits any commercial use and some non-commercial use. Please, remember not to deploy the model accidentally and don't do any real world harm.

The refusals and redirections are still not zero and you may encounter that!

This adapter only lowers the probability of the model to say "No". It doesn't change the base model's political or cultural alignment. It still reflects the biases of the training and of the post-training data. The modified model has not been evaluated on any political benchmarks. The project is aware of previous work by @skyzer4ever and @sanasol2008 that made me aware of other techniques. They also may have cleaner and less refusing models. My adapter is only a test usage of the Lucid toolkit.

Attach it to any stock quant at scale 1.0:

/PATH/llama.cpp/build/bin/llama-server \
  -m /PATH/GigaChat4-37B-A4B-Q4_K_M.gguf \
  --lora /PATH/gc4_runs/gigachat4-lucid-lora.gguf \
  -ngl 999 \ 
  -fa on -c 8192 --host 127.0.0.1 --port 8080 \
  -cmoe --moe-cache-mib 4096 \ # MoE offload, if weak PC

Developing the tools to research and modify models paves us a way towards a truly sovereign local AI.

Info

Base model: GigaChat4-37B-A4B (gigachat4, 32 layers, n_embd=2560).

Method

  • Subspace: rank-1 orthonormal basis from local:2:1:chat,think,ru_chat,ru_think (families: chat, think, ru_chat, ru_think).
  • Edit: W' = W - s * Q Q^T W with triangular depth kernels (post-norm gain-corrected via orth(g ⊙ Q)).
  • Search: Trial 21, first-token KL on benign prompts = 0.1105 (measured KL noise floor: 0.0118).
  • Rounding: diffuse (λ=100) into native checkpoint precision.
  • Provenance fingerprint: 60f8aabf82092cf7 (full edit saved in realignment-edit.npz).

Per-component edit schedule

ComponentActive layersStrength range
attn8–31 (24 layers)0.813–6.877
mlp8–31 (24 layers)0.555–0.919
exp8–31 (24 layers)3.409–3.698

Verification Results

Evaluated greedily on 150 held-out prompts (n_predict=None, think_predict=None).

RunChat flaggedThink flaggedThink unfinishedHarmless 6-gram rep
Base149/150118/1501500.0000
Trial 21 (LoRA)3/1507/15000.0000

Abliterated with Lucid.

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

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

GPU в ailist

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

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

Репозиторий содержит только адаптер (LoRA/PEFT) без базовой модели.

Ревизия весов
6c520ac

0 моделей