/ Модель

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

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

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

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

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

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

Компактная квантизированная GGUF-сборка инструкционной модели Liquid AI для локального диалога и генерации текста через Ollama или llama.cpp.

Это квантизированная сборка GGUF модели LFM2.5-1.2B-Instruct от Liquid AI, подготовленная roman220220 для запуска через Ollama и llama.cpp. Модель предназначена для локального диалога и генерации текста; её гибридная архитектура сочетает gated short convolutions в 10 из 16 слоёв и GQA-внимание с QK-нормализацией в остальных шести слоях.

Сборка использует матрицу важности, рассчитанную на смешанном корпусе текстов, и распределяет точность квантования по слоям: полное внимание и связанные эмбеддинги сохранены в Q8_0, проекции свёрточных слоёв — в Q6_K, а полносвязные слои — в Q4_K_M. Размер файла составляет около 0,84 ГБ; в измерении на wikitext-2 указана перплексия 18,07 против 17,87 у F16 версии. Это сторонняя квантизация базовой модели, а не новая обученная модель. Репозиторий не указывает лицензию в доступных сведениях; README требует соблюдать лицензию и условия базовой модели и предоставляет сборку без гарантий.

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

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

Ограничения

Качество слегка уступает варианту 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.

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

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

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

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

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

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

Открыть на Hugging Face

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

Download LLMTray GitHub stars

A GGUF quantization of LiquidAI/LFM2.5-1.2B-Instruct — Liquid AI's 1.2B on-device chat model (hybrid: gated short convolutions in 10 of 16 layers, full GQA attention with QK-layernorm in the other 6) — 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 GB17.87 ± 0.55
this model, Q4_K_M jang0.84 GB18.07 ± 0.55 (+1.1%)

Usage

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

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

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

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

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 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-1.2B-Instruct-gptq-mlx-jang.

Method and code

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

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

0 моделей