/ Модель

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

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

LFM2.5-2.6B-GGUF-jang-imatrix

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

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

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

Квантизированная GGUF-версия многоязычной чат-модели LiquidAI/LFM2.5-2.6B для локальной генерации текста через Ollama и llama.cpp.

Это GGUF-квантизация модели LiquidAI/LFM2.5-2.6B, подготовленная автором репозитория roman220220 для запуска через Ollama и llama.cpp на локальном устройстве. В основе — гибридная архитектура: 22 из 30 слоёв используют gated short convolutions, а остальные 8 — GQA-внимание с нормализацией QK. Для квантизации применены матрица важности, рассчитанная на смешанном корпусе текстов и кода, и распределение точности JANG-mixed: отдельные слои внимания и эмбеддинги оставлены в Q8_0, проекции свёрточных слоёв — в Q6_K, остальные веса — в Q4_K_M. Размер файла составляет около 1,87 ГБ.

Модель предназначена для локального диалога и генерации текста. Автор приводит измерения perplexity на wikitext-2, но отмечает, что этот тест не отражает полностью качество чат-модели и разница с F16 находится в пределах погрешности. В README нет сведений о длине контекста или перечне поддерживаемых языков; базовая модель описана в метаданных как многоязычная. Лицензия указана как other, поэтому при использовании следует соблюдать лицензию и условия базовой модели. Репозиторий не предоставляет гарантий качества и ответственности за результаты.

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

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

Ограничения

README приводит только измерение perplexity на wikitext-2 и предупреждает, что этот тест слабо отражает чат-сценарии. При использовании через 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.

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

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

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

Также подходит для

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

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

Открыть на Hugging Face

LFM2.5-2.6B — 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-2.6B-gptq-mlx-jang instead.

Download LLMTray GitHub stars

A GGUF quantization of LiquidAI/LFM2.5-2.6B — Liquid AI's 2.6B on-device reasoning model (hybrid: gated short convolutions in 22 of 30 layers, full GQA attention with QK-layernorm in the other 8) — 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 8 full-attention layers and the tied embeddings kept at Q8_0, the 22 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, expressed via llama-quantize --tensor-type instead of GPTQ codes.

Result: 1.87 GB instead of 5.40 GB F16 (the bf16 original is 5.39 GB).

The recipe

ComponentTensorsType
Full attention (q, k, v, out; 8 of 30 layers)attn_q/k/v/outputQ8_0
Token embeddings (tied with the output head)token_embdQ8_0
Gated short convolution in/out projections (22 layers)shortconv.in_proj/out_projQ6_K
Feed-forward (30 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)
F165.40 GB41.72 ± 1.65
this model, Q4_K_M jang1.87 GB37.65 ± 1.46

The quant scores lower than F16 here, not higher — within the combined margins it's close to a wash, and this project has seen the same pattern before on this model family: its MLX GPTQ sibling scored 0.5% below bf16 on the same text. LFM2.5-2.6B is a chat model; raw wikitext isn't its training domain, so small, noisy differences either way are expected. It was not chosen as a target to hit — it's reported as measured.

Usage

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

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

llama.cpp — launch with --jinja so the model's own chat template applies:

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

It always reasons before answering (<think>…</think>; the chat template opens the tag). 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 thinking or tool-call 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-2.6B-gptq-mlx-jang.

Method and code

Pipeline: rromenskyi/quant-ternary, lfm2-quant/poc/lfm2_gguf_pipeline.sh (VARIANT=lfm2-2.6b), 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-2.6B-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-2.6B: 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…

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

0 моделей