/ Модель

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

Лицензия
Своя лицензия
Архитектура
lfm2_vl · dense
Базовая модель
LFM2.5-VL-450M
Библиотека
transformers
Опубликована
26 окт 2026

LFM2.5-VL-450M-heretic

Изображение и текст → текст4 профессии
1 474скачиваний за 30 дней0лайковвеса обновлены1 ноя 2026

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

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

Компактная мультимодальная модель на базе LiquidAI/LFM2.5-VL-450M для локального анализа изображений и ответов на визуальные вопросы с подавленным поведением отказа.

LFM2.5-VL-450M-heretic — компактная мультимодальная модель RACER IS OP (saidutta69), созданная на основе LiquidAI/LFM2.5-VL-450M с помощью Heretic 1.4.0. Это вариант с подавленным поведением отказа: автор применил направленное редактирование весов языковой части, не выполняя дообучение и не меняя башню зрения. Архитектура включает гибридный текстовый backbone с блоками свёртки и внимания и визуальный энкодер SigLIP2; всего модель содержит около 450 млн параметров.

Модель принимает текст и изображения и подходит для визуальных вопросов и ответов, описания изображений, OCR небольших скриншотов, поиска объектов с привязкой к координатам и локальных визуальных агентов. В README указана поддержка девяти языков: английского, арабского, китайского, французского, немецкого, японского, корейского, испанского и португальского. Для обработки изображений в GGUF требуется отдельно загрузить файл проектора; доступны варианты GGUF-квантизации для локального запуска на устройствах с ограниченными ресурсами.

README сообщает о снижении отказов с 93 до 5 из 100 в тесте автора, но отдельного повторного тестирования базовых бенчмарков для этой версии не проводилось. Поэтому приведённые оценки базовой модели не следует считать результатами испытаний данного чекпойнта. Лицензия в метаданных обозначена как other; конкретные условия использования следует проверять в карточке модели.

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

  • ответы на вопросы по изображениям
  • создание кратких описаний изображений
  • распознавание текста на небольших скриншотах
  • поиск объектов и указание их расположения
  • локальный визуальный помощник на мобильном или маломощном устройстве

Ограничения

Отдельные бенчмарки для этой версии не проводились, поэтому показатели базовой модели не подтверждают качество данного чекпойнта. Для обработки изображений в GGUF необходим отдельный файл проектора.

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

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

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

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

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

Бенчмарки пользователейпока нет

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

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

    Вместе с другими моделями категории «Изображение → текст» — сравнение идёт внутри одной категории.

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

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

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

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

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

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

Открыть на Hugging Face

LFM2.5-VL-450M-heretic

A decensored variant of LiquidAI/LFM2.5-VL-450M, produced with Heretic v1.4.0 (directional ablation / "abliteration"). Liquid's hybrid conv+attention text backbone keeps its native tool-call format and multilingual coverage, and the vision tower is untouched - refusal behaviour is suppressed via targeted weight edits to the attention output and MLP down-projections of the language model rather than fine-tuning.

[!IMPORTANT] The GGUF here is fully multimodal - text and vision. The vision tower and projector ship separately as LFM2.5-VL-450M-heretic-mmproj-F16.gguf (0.19 GB), and the two files together are the model. For image input you must load both - see Quickstart. Text-only use needs only the main GGUF. Nothing is lost in the conversion: the projector GGUF holds 94,234,880 tensor elements (the SigLIP2 tower plus the merger), and it carries the tiling metadata llama.cpp needs to match the original image preprocessing.

Who this is for: developers who want a genuinely tiny multimodal model that answers instead of declining. At 450M total parameters (0.35B text tower, 0.09B SigLIP2 vision tower) this is the smallest model in the collection that still sees images, and it speaks nine languages. Refusals drop from 93/100 to 5/100. Best for on-device image Q&A, captioning, bounding-box grounding, OCR on small screenshots, and local vision agents on a phone, a Pi, or a browser tab. If you need text-only at this size, SmolLM2-360M-Instruct-heretic is the sibling to reach for.

Runs anywhere

At 450M there is no VRAM ladder - pick a quant by how much RAM and bandwidth your device has:

DeviceRecommended quantText weightsText + vision
Phone / browser (4 GB RAM)Q4_K_M0.23 GB0.42 GB
Raspberry Pi 5 (4 GB)Q4_K_M0.23 GB0.42 GB
Laptop (8 GB, Apple Silicon)Q8_00.38 GB0.57 GB
Server / multi-tenantQ6_K0.29 GB0.48 GB

The right-hand column is what you actually need on disk for image input: the text GGUF plus the 0.19 GB projector, which is fixed-size because vision weights are not quantized. Because the backbone is mostly cheap convolution blocks, this model is far more decode-bandwidth-sensitive than its parameter count suggests - fast RAM matters more than a fast GPU.

Abliteration parameters

Trial of a 200-trial Heretic run (seed 836943652), direction_index selected per layer.

ParameterValue
direction_index10.51
attn.o_proj.max_weight1.00
attn.o_proj.max_weight_position12.14
attn.o_proj.min_weight0.86
attn.o_proj.min_weight_distance8.89
mlp.down_proj.max_weight0.98
mlp.down_proj.max_weight_position10.58
mlp.down_proj.min_weight0.75
mlp.down_proj.min_weight_distance1.36

Performance

MetricThis modelOriginal model (LiquidAI/LFM2.5-VL-450M)
KL divergence0.01870 (by definition)
Refusals5/10093/100

Read those two numbers together, they are only meaningful as a pair. KL 0.0187 is one of the tightest edits in this collection, and it lands refusals at 5/100 - so the edit did real work without meaningfully moving the model's behaviour. That combination matters more than the raw KL.

The base started at 93/100 refusals, which is heavy alignment for a model this small; 88 of the 93 are cleared. The base model's own published scores - which the abliteration does not change, since it only removes refusal directions - are MMStar 43.00, RealWorldQA 58.43, MMBench 60.91, MMVet 41.10, InfoVQA 43.02, OCRBench 684, and on the language side GPQA 25.66, MMLU-Pro 19.32, IFEval 61.16, Multi-IF 34.63, BFCLv4 21.08. Those are the base model's numbers, reproduced from the upstream card; no separate benchmark sweep was run on this abliterated checkpoint.

Why abliteration instead of fine-tuning

Fine-tuning a "helpful" persona on top of RLHF'd refusals fights the base model's training and tends to degrade coherence. Abliteration instead finds and edits the specific weight directions responsible for refusal, leaving the rest of the network (and its capabilities) untouched. See the Heretic repo and the original abliteration writeup for the mechanism.

Made with ❤️ by RACER IS OP (saidutta69) - follow for more uncensored models

Files

Safetensors

FileSize
model.safetensors0.90 GB

BF16, 0.45B total (0.35B text tower + 0.09B vision tower + 0.01B projector). The reproduce/ directory carries the full Heretic recipe - config.toml, requirements.txt, the Optuna study journal, and SHA-256 sums - so this exact model can be regenerated bit-for-bit with heretic --reproduce reproduce/reproduce.json.

GGUF quantizations

Full quantization set (14 quants + F16) produced with llama.cpp, plus the vision projector.

FileFormatSize
LFM2.5-VL-450M-heretic-F16.ggufGGUF F160.71 GB
LFM2.5-VL-450M-heretic-Q2_K.ggufGGUF Q2_K0.16 GB
LFM2.5-VL-450M-heretic-IQ3_S.ggufGGUF IQ3_S0.18 GB
LFM2.5-VL-450M-heretic-Q3_K_S.ggufGGUF Q3_K_S0.18 GB
LFM2.5-VL-450M-heretic-Q3_K_M.ggufGGUF Q3_K_M0.19 GB
LFM2.5-VL-450M-heretic-Q3_K_L.ggufGGUF Q3_K_L0.20 GB
LFM2.5-VL-450M-heretic-IQ4_XS.ggufGGUF IQ4_XS0.21 GB
LFM2.5-VL-450M-heretic-Q4_K_S.ggufGGUF Q4_K_S0.22 GB
LFM2.5-VL-450M-heretic-Q4_0.ggufGGUF Q4_00.22 GB
LFM2.5-VL-450M-heretic-Q4_1.ggufGGUF Q4_10.24 GB
LFM2.5-VL-450M-heretic-Q4_K_M.ggufGGUF Q4_K_M0.23 GB
LFM2.5-VL-450M-heretic-Q5_K_S.ggufGGUF Q5_K_S0.26 GB
LFM2.5-VL-450M-heretic-Q5_K_M.ggufGGUF Q5_K_M0.26 GB
LFM2.5-VL-450M-heretic-Q6_K.ggufGGUF Q6_K0.29 GB
LFM2.5-VL-450M-heretic-Q8_0.ggufGGUF Q8_00.38 GB
FileFormatSize
LFM2.5-VL-450M-heretic-mmproj-F16.ggufvision projector (F16)0.19 GB

Total GGUF payload: 4.13 GB across 16 files.

The text tower is GGUF architecture lfm2 (148 tensors, 16 blocks - 12 convolution blocks and 4 full-attention blocks). The projector is GGUF architecture clip with projector type lfm2 (201 tensors, 12 vision blocks). Both load natively in llama.cpp, LM Studio, Jan and Ollama.

Quickstart

Text only

# pulls the default quant for you
llama-cli -hf saidutta69/LFM2.5-VL-450M-heretic:Q4_K_M -ngl 99

Text and images

Use a multimodal entry point. llama-cli is the text-only binary and will not fetch the projector; llama-mtmd-cli will, because llama.cpp looks for a sibling GGUF whose name contains mmproj:

llama-mtmd-cli \
  -hf saidutta69/LFM2.5-VL-450M-heretic:Q4_K_M \
  --image path/to/photo.png \
  -p "Describe this image in one sentence." \
  -ngl 99
# or from a local checkout, passing the projector explicitly
llama-mtmd-cli \
  -m LFM2.5-VL-450M-heretic-Q4_K_M.gguf \
  --mmproj LFM2.5-VL-450M-heretic-mmproj-F16.gguf \
  --image photo.png \
  -p "Describe this image in one sentence."
# transformers (vision-language)
from transformers import AutoProcessor, AutoModelForImageTextToText
from transformers.image_utils import load_image

model_name = "saidutta69/LFM2.5-VL-450M-heretic"
model = AutoModelForImageTextToText.from_pretrained(model_name, dtype="auto", device_map="auto")
processor = AutoProcessor.from_pretrained(model_name)

image = load_image("https://example.com/photo.jpg")
conversation = [
    {"role": "user", "content": [
        {"type": "image", "image": image},
        {"type": "text", "text": "What is in this image?"},
    ]},
]
inputs = processor.apply_chat_template(
    conversation, add_generation_prompt=True, return_tensors="pt",
    return_dict=True, tokenize=True,
).to(model.device)
outputs = model.generate(**inputs, max_new_tokens=64)
print(processor.batch_decode(outputs, skip_special_tokens=True)[0])

Requires transformers>=5.20.0 - config.json uses dtype: rather than torch_dtype: and the tokenizer is a TokenizersBackend, so older transformers will not load it. Use dtype="auto".

Visual grounding

LFM2.5-VL supports bounding-box prediction. Ask for it in words and it answers in JSON:

prompt = ('Detect all instances of: status. Response must be a JSON array '
          '[{"label": ..., "bbox": [x1, y1, x2, y2]}, ...]. '
          'Coordinates are normalized to [0,1].')

Sampling

The base model documents temperature=0.1, min_p=0.15, repetition_penalty=1.05 for text. Those are the values to start from - this is a small model and the defaults in most runners (temperature=0.7, top_p=0.95) make it noticeably less coherent.

Image preprocessing knobs

From processor_config.json: min_image_tokens 64, max_image_tokens 256, do_image_splitting true, min_tiles 2, max_tiles 10, tile_size 512, max_pixels_tolerance 2.0. Images up to 512x512 are handled without upscaling and non-standard aspect ratios are preserved without distortion. Larger images are split into non-overlapping 512x512 tiles with a thumbnail for global context. Lower max_image_tokens and max_tiles to trade image quality for speed; these are the knobs the model was tuned to expose.

Model details

ArchitectureLfm2VlForConditionalGeneration
Text backboneLFM2.5-350M hybrid - convolution blocks + full attention (every 4th layer)
Vision backboneSigLIP2 shape-optimized encoder, 12 layers, hidden 768, patch 16
Parameters0.45B total - 0.35B text, 0.09B vision, 0.01B projector
Text layers16 - 12 convolution, 4 full attention (every 4th)
Attention16 attention heads, 8 KV heads, head dim 64
Hidden / intermediate1024 / 6656 (auto-adjusted to 4608 in GGUF)
Position embeddingRoPE theta = 1,000,000, plus learned positional encoding
Context length128,000 (the upstream card advertises 32,768 as the usable window)
Vocab65,536 (embeddings tied)
Vision tower12 layers, hidden 768, patch 16, image size 256 for the encoder
GGUFarch lfm2, 148 tensors, 16 blocks; projector arch clip, type lfm2, 201 tensors
Precisionbfloat16
ModalitiesText and image in; text out
LanguagesEnglish, Arabic, Chinese, French, German, Japanese, Korean, Portuguese, Spanish
Base modelLiquidAI/LFM2.5-VL-450M

The 450M in the name counts the whole model, not just the language tower: 0.35B of text plus 0.09B of SigLIP2 vision. The text backbone is the same LFM2.5-350M that Liquid ships as a standalone edge model.

About LFM2.5-VL

LFM2.5-VL is Liquid AI's refreshed version of the first vision-language model, LFM2-VL-450M, built on an updated LFM2.5-350M backbone. It handles native-resolution images without upscaling, splits large images into non-overlapping tiles with a thumbnail for global context, exposes the image-token budget as a runtime knob, and supports function calling on text-only input. Beyond llama.cpp and Ollama it is integrated with vLLM and SGLang, and it can be fine-tuned with SFT via Unslame and TRL.

FAQ

What is LFM2.5-VL-450M-heretic?

LFM2.5-VL-450M-heretic is a decensored build of LiquidAI/LFM2.5-VL-450M produced with Heretic 1.4.0 (directional ablation). It is the same weights with the refusal direction removed, not a new fine-tune, so its capabilities track the base model.

Is LFM2.5-VL-450M-heretic actually uncensored?

Yes. On Heretic's 100-prompt refusal harness it drops from 93/100 to 5/100 at KL divergence 0.0187 from the base model. These are measured values, not a claim; reproduction data is in reproduce/.

How do I run LFM2.5-VL-450M-heretic locally?

Text: llama serve -hf saidutta69/LFM2.5-VL-450M-heretic:Q4_K_M. Images: llama-mtmd-cli -hf saidutta69/LFM2.5-VL-450M-heretic:Q4_K_M --mmproj LFM2.5-VL-450M-heretic-mmproj-F16.gguf. The repo ships 15 GGUF quants plus the projector, so vision survives quantization.

Responsible use

Refusal suppression is deliberate and works as intended: this model will comply with requests the base model would refuse, including some it shouldn't. There is no safety filtering layered on top. You are responsible for how you deploy it - don't put this behind an unmoderated public-facing endpoint serving third parties. It inherits LFM2.5-VL's factual limitations and biases; abliteration removes refusal directions, it doesn't add capability or judgment.

License

lfm1.0 - the LFM Open License, inherited from the base model. This is not Apache-2.0. The LFM Open License carries its own terms; read it before deploying commercially.

Related

Abliteration hardware

Recorded in reproduce/reproduce.json:

  • GPU: NVIDIA GeForce RTX 3090 (23.56 GB VRAM)
  • CPU: AMD Ryzen 5 3600 6-Core Processor
  • OS: Linux-6.8.0-147-generic-x86_64-with-glibc2.35
  • CUDA / driver: CUDA 12.8, driver 595.91.07
  • Software: PyTorch 2.7.1+cu128, Heretic 1.4.0

Heretic notes that KL-divergence and refusal numbers can vary slightly with hardware and library versions.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Lfm2VlForConditionalGeneration
Ревизия весов
855477a

0 моделей