/ Модель

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

Контекст
128 000 токенов
Параметры
1,6 млрд
Лицензия
Apache 2.0
Архитектура
lfm2_moe · MoE
Библиотека
transformers
Опубликована
23 июн 2026

Fabliq-8B-Agent

Генерация текстаТекст → текст9 профессий

Компактная MoE-модель для агентной работы с терминалом, вызова инструментов и решения задач программирования.

26скачиваний за 30 дней8лайковвеса обновлены23 июн 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

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

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

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

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

Fabliq-8B-Agent — компактная агентная языковая модель LLM-OS-Models для работы с терминалом и задач программирования. Это дообученная и объединённая модель семейства Liquid AI LFM2.5 с MoE-архитектурой Lfm2MoeForCausalLM: в карточке указано 1,6 млрд параметров, а README описывает базовую конфигурацию как примерно 8 млрд параметров всего и около 1 млрд активных на токен. Модель принимает текст, использует контекст до 128 000 токенов и обучена на английских многоходовых траекториях взаимодействия с инструментами.

Модель предназначена для сценария «прочитать — рассуждать — выполнить действие — проверить результат»: она может выдавать текстовые ответы и вызовы инструментов в формате Liquid, например Bash, Read, Edit, Write, Glob и Grep. Обучение проведено на 4 047 терминальных сессиях из набора Fable-5-traces, поверх модели ToolBench; README указывает три эпохи дополнительного обучения. Для выполнения действий требуется внешняя среда, которая разбирает и исполняет вызовы инструментов. Доступна по лицензии Apache-2.0.

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

  • выполнение команд Bash через агентную оболочку
  • чтение и редактирование файлов в репозитории
  • поиск файлов и фрагментов кода в проекте
  • многошаговое решение задач программирования с проверкой результата

Ограничения

Вызовы инструментов требуют внешней оболочки, которая умеет разбирать и исполнять их. README указывает 8 192 токена обученного контекста, хотя нативный контекст составляет 128 000 токенов.

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

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

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

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

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

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

Открыть на Hugging Face

Fabliq-8B-Agent 🌊

Fab·liq = Fable + Liquid. A compact, fast agentic terminal coding model fine-tuned from LLM-OS-Models/LFM2.5-8B-A1B-Terminal-ToolBench-Full-SFT-1Epoch on real Claude Code sessions from the Fable-5-traces dataset. The base LiquidAI LFM2.5-8B-A1B is an 8B MoE (~1B active), so Fabliq inherits the speed and low VRAM of MoE inference plus the agentic distillation.

Fabliq thinks before it acts: it reads the conversation, reasons inside <think>...</think>, then either calls a tool with LFM's native tool-call format or replies with text. Trained on 4,047 real multi-turn terminal trajectories (Bash, Edit, Read, Write, Glob, Grep, WebSearch) — the kind of read → reason → act → verify loop a real coding agent runs.

✨ Why Fabliq?

  • 🐠 Tiny footprint, agent-class behavior. LFM2.5-8B-A1B is a Mixture-of-Experts model — only ~1B parameters activate per token. That means fast inference, low VRAM, and the agentic distillation still takes.
  • 🛠 Native tool calling. No wrapper needed — Fabliq emits <|tool_call_start|>[ToolName(arg=value)]<|tool_call_end|> per LFM's official format. Plug it into a harness that parses and executes those calls and you have a working terminal agent.
  • 🧠 Reasoning-first. Every assistant turn opens with a <think> block — the chain-of-thought from the original Claude traces, preserved verbatim. The model self-explains before each action.
  • 🔗 Clean lineage. This is a direct fine-tune of LLM-OS-Models/LFM2.5-8B-A1B-Terminal-ToolBench-Full-SFT-1Epoch, which is itself a fine-tune of LiquidAI/LFM2.5-8B-A1B. Fabliq adds 3 epochs of Fable-5 agentic distillation on top of the ToolBench foundation.

Sibling models:

🧪 Model details

ArchitectureLfm2MoeForCausalLM (24 layers, 32 experts, 4 experts/token)
Parameters~8B total / ~1B active (MoE)
Context8,192 trained · 128K native (rope_theta=5e6)
Precisionbfloat16
Fine-tune typeFull-parameter SFT (FSDP full_shard + activation checkpointing)
LicenseApache 2.0

📚 Training data

SourceRowsDescription
Glint-Research/Fable-5-traces4,047Real Claude Code terminal sessions — multi-turn tool-use trajectories

Preprocessing pipeline (build_fable5_to_lfm_sft.py):

  1. Parse context → multi-turn USER / ASSISTANT (message) messages
  2. Strip slash-command metadata blocks (<local-command-caveat>, <command-*>)
  3. Convert {tool, input} structured output → LFM native tool-call syntax <|tool_call_start|>[ToolName(arg='value')]<|tool_call_end|>
  4. Wrap chain-of-thought in <think>...</think> for assistant reasoning training
  5. Drop 618 rows with <3 messages after parsing
  6. Max sequence length 8,192 tokens (98.6% coverage without truncation)

Full lineage, data composition, and per-dataset metadata: see the Fable Distillation docs.

🔧 Training procedure

HyperparameterValue
Schedule3 epochs, constant LR
Max sequence length8,192
Per-device batch size2
Gradient accumulation4
GPUs8× H200 (effective batch 64)
Learning rate5e-7 (AdamW)
Precisionbf16
FSDPfull_shard, activation checkpointing, Lfm2MoeDecoderLayer auto-wrap
LossNLL, chat-template masked (assistant-only effective)
Final train_loss1.277
Train runtime831 seconds (~14 min)
Global steps192

💬 System prompt

You are an agentic coding assistant. Read the conversation history and tool results,
think step by step inside <think>...</think>, then either call a tool using
<|tool_call_start|>[ToolName(arg=value)]<|tool_call_end|> or respond with text.
Use available tools (Bash, Edit, Read, Write, Glob, Grep, WebSearch, WebFetch, etc.)
to accomplish the user's task. Be concise but thorough.

🚀 How to use

transformers

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "LLM-OS-Models/Fabliq-8B-Agent"
tok = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id, dtype=torch.bfloat16, device_map="auto"
)

SYSTEM = (
    "You are an agentic coding assistant. Read the conversation history and tool results, "
    "think step by step inside <think>...</think>, then either call a tool using "
    "<|tool_call_start|>[ToolName(arg=value)]<|tool_call_end|> or respond with text. "
    "Use available tools (Bash, Edit, Read, Write, Glob, Grep, WebSearch, WebFetch, etc.) "
    "to accomplish the user's task. Be concise but thorough."
)

messages = [
    {"role": "system", "content": SYSTEM},
    {"role": "user", "content": "List the Python files in /tmp and report the line count of the largest one."},
]
text = tok.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tok(text, return_tensors="pt").to(model.device)

out = model.generate(
    **inputs,
    max_new_tokens=1024,
    do_sample=False,
    repetition_penalty=1.05,
)
print(tok.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=False))

Expected output — the model reasons, then emits a tool call:

<think>
I need to find Python files in /tmp. I'll use Bash with ls piped into wc -l.
</think>

<|tool_call_start|>[Bash(command='ls -1 /tmp/*.py 2>/dev/null | xargs wc -l 2>/dev/null | sort -n | tail -1')]<|tool_call_end|>

vLLM

vllm serve LLM-OS-Models/Fabliq-8B-Agent \
  --max-model-len 8192 --dtype bfloat16 --gpu-memory-utilization 0.9

🎯 Intended use

  • Local coding agent on top of an MoE-efficient backbone (~1B active params — runs comfortably on a single consumer GPU)
  • Terminal / file-system agentic loops (read, edit, run, verify)
  • Research on distillation from frontier closed models into open-weight MoE backbones

⚠️ Limitations

  • Agentic specialization. Focused fine-tune for terminal/coding work. General-knowledge benchmarks may sit slightly below the LFM2.5-8B-A1B base — that's the expected trade-off for a focused agentic distill.
  • No safety alignment. Trained on raw tool-use traces; add your own guardrails for production.
  • Tool-format lock-in. Emits LFM-native tool-call syntax. A harness that parses <|tool_call_start|>...<|tool_call_end|> and actually executes the call is required for the agentic loop to work.
  • Max seq 8,192 at training. Behavior beyond 8K context is unverified for this checkpoint.
  • English-centric.

📜 License

Apache 2.0, inherited from the LiquidAI LFM2.5-8B-A1B base.

🌳 Model tree

This is a fine-tune (not a merge or adapter). Direct parent: LLM-OS-Models/LFM2.5-8B-A1B-Terminal-ToolBench-Full-SFT-1Epoch.

LiquidAI/LFM2.5-8B-A1B                                          (LiquidAI base)
  └─ LLM-OS-Models/LFM2.5-8B-A1B-Terminal-ToolBench-Full-SFT-1Epoch  (ToolBench foundation)
      └─ LLM-OS-Models/Fabliq-8B-Agent                           ← this model (Fable-5 agentic SFT, 3 epochs)
          └─ LLM-OS-Models/Fabliq-8B-Agent-Reasoning             ← sibling (+ WithinUs + Helio reasoning)

🙏 Acknowledgements

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Lfm2MoeForCausalLM
Ревизия весов
23e36a6

0 моделей