/ Модель

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

Лицензия
Своя лицензия
Базовая модель
LFM2.5-1.2B-Thinking
Опубликована
17 окт 2026

LFM2.5-1.2B-Thinking-GGUF-jang-imatrix

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

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

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

Квантованная GGUF-сборка LFM2.5-1.2B-Thinking для локальной генерации текста и выполнения задач рассуждения через Ollama или llama.cpp.

Это квантованная сборка модели рассуждений Liquid AI LFM2.5-1.2B-Thinking, подготовленная пользователем roman220220 в формате GGUF для запуска через Ollama и llama.cpp. Модель содержит около 1,2 млрд параметров и использует гибридную архитектуру: короткие свёртки с гейтингом в 10 из 16 слоёв и GQA-внимание в остальных шести. В этой сборке применены матрица важности imatrix и смешанное распределение точности JANG: слои внимания и эмбеддинги хранятся в Q8_0, проекции свёрточных слоёв — в Q6_K, а остальные веса — преимущественно в Q4_K_M. Размер сборки составляет около 0,84 ГБ.

Модель предназначена для генерации текста в диалоге и локального выполнения задач рассуждения. В README приведено сравнение на WikiText-2: perplexity квантованной версии составляет 27,95 против 26,79 у F16, то есть ухудшается примерно на 4,3%. Карточка описывает только англоязычный и многоязычный калибровочный корпус, поэтому конкретный набор поддерживаемых языков не установлен. Указана лицензия other; README предписывает учитывать лицензию и условия базовой модели. Автор сборки не обучал исходную модель и предоставляет конверсию без гарантий.

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

  • локальный диалог с языковой моделью
  • генерация и продолжение текста
  • выполнение задач рассуждения на устройстве
  • запуск компактной модели через Ollama
  • инференс текстовой модели через llama.cpp

Ограничения

В тесте WikiText-2 perplexity квантованной сборки примерно на 4,3% выше, чем у версии F16. Для корректного отображения токенов рассуждения в Ollama может потребоваться настройка шаблона чата или запуск через llama.cpp с параметром --jinja.

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

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

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

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

Источники: 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-1.2B-Thinking — GGUF, imatrix + JANG-mixed

▶ GGUF build for ollama / llama.cpp

This is the GGUF build (ollama / llama.cpp, Arc, CPU). If you use LLMTray — IPSupport's local AI app for Apple Silicon, which runs MLX — use the MLX sibling roman220220/LFM2.5-1.2B-Thinking-gptq-mlx-jang instead.

Download LLMTray GitHub stars

A GGUF quantization of LiquidAI/LFM2.5-1.2B-Thinking — Liquid AI's 1.2B on-device reasoning model (hybrid: gated short convolutions in 10 of 16 layers, full GQA attention with QK-layernorm in the other 6; same decoder as the Instruct variant, trained to reason in a <think> block first) — with two deliberate improvements over a stock Q4_K_M:

  1. imatrix computed on a broad real corpus (bartowski's calibration_datav3 — code + prose + facts + multilingual).
  2. JANG-mixed precision: the 6 full-attention layers and the tied embeddings kept at Q8_0, the 10 gated-short-convolution layers' in/out projections at Q6_K, the feed-forward at the Q4_K_M base preset. Same "spend bits where they matter" principle as this account's MLX GPTQ release of the same model.

Result: 0.84 GB instead of 2.34 GB F16 (the bf16 original is 2.34 GB).

The recipe

ComponentTensorsType
Full attention (q, k, v, out; 6 of 16 layers)attn_q/k/v/outputQ8_0
Token embeddings (tied with the output head)token_embdQ8_0
Gated short convolution in/out projections (10 layers)shortconv.in_proj/out_projQ6_K
Feed-forward (16 layers)ffn_gate/up/downQ4_K_M base preset
Conv kernels (3 taps), normsshortconv.conv, *_normF32 (untouched)

Importance matrix: llama-imatrix, 200 chunks on bartowski's calibration_datav3.txt, on one RTX 4090.

Measurements

Perplexity on wikitext-2 test (40 x 512-token chunks, llama-perplexity), F16 vs this quant, same GGUF toolchain both sides:

SizePPL (wikitext)
F162.34 GB26.79 ± 0.88
this model, Q4_K_M jang0.84 GB27.95 ± 0.92 (+4.3%)

Usage

Ollama — the included Modelfile sets Liquid AI's recommended sampling (temperature 0.05, top_k 50, repetition penalty 1.05) and pulls the weights from this repo:

curl -L -o Modelfile https://huggingface.co/roman220220/LFM2.5-1.2B-Thinking-GGUF-jang-imatrix/resolve/main/Modelfile
ollama create lfm2.5-1.2b-thinking-jang -f Modelfile
ollama run lfm2.5-1.2b-thinking-jang

llama.cpp — launch with --jinja so the model's own chat template applies (it opens the <think> tag for you):

llama-server -m lfm2.5-1.2b-thinking-jang.gguf -ngl 99 --jinja --port 8080

It always reasons before answering; leave room in max_tokens for the <think>…</think> block plus the actual answer, or the reply can come back empty. Read the base model card for the model's scope and limitations, which apply here unchanged.

Honest notes

  • No dedicated LFM2 RENDERER/PARSER is known to ship in Ollama (unlike this account's gemma4 GGUF releases). The GGUF carries LFM2's jinja chat template via convert_hf_to_gguf.py, which recent Ollama applies directly; if reasoning tokens ever leak as raw text, fall back to llama.cpp --jinja.
  • This is imatrix + JANG bit-allocation, not this account's GPTQ: GPTQ's Hessian correction is calibrated against a specific quant grid that doesn't transfer to llama.cpp's k-quant grid. The GPTQ/MLX version of this model is at roman220220/LFM2.5-1.2B-Thinking-gptq-mlx-jang.

Method and code

Pipeline: rromenskyi/quant-ternary, lfm2-quant/poc/lfm2_gguf_pipeline.sh (VARIANT=lfm2-1.2b-thinking), docs/FINDINGS.md.

The IPSupport local-AI stack

Local-first AI tools for macOS by IPSupport — nothing leaves your Mac.

  • LLMTray — your local AI workstation for macOS: chat with local LLMs, generate and edit images, make music, run agents, and serve an OpenAI-compatible API. Downloads models from Hugging Face in-app, with per-model profiles.
  • IPSupport Code — your AI coding agent for real repositories: analyze, fix, test, report.

This is the GGUF build (ollama / llama.cpp). For the MLX build LLMTray runs, see roman220220/LFM2.5-1.2B-Thinking-gptq-mlx-jang.

Disclaimer

This repository contains a quantized conversion of a third-party model, provided "as is", without warranty of any kind, express or implied. IPSupport LLC did not train the model and is not responsible for its content, outputs or behavior, or for any damage, loss or liability arising from its use. You are responsible for evaluating the model and for how you use it, including compliance with applicable laws and with the base model's license and terms.

License

Licensed under the LFM Open License v1.0, the same license as the base model — see LICENSE.

Modified from LiquidAI/LFM2.5-1.2B-Thinking: converted to GGUF and quantized with an importance matrix and per-tensor types (full attention and embeddings Q8_0, gated short convolutions Q6_K, feed-forward Q4_K_M). The weights and configuration files in this repo are therefore modified versions of the original, not the original files.

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

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

GPU в ailist

llama.cpp

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

Подбираем GPU…

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

0 моделей