Downloads · 30 days
135
35% of all-time downloads
LLM-OS-Models/Fabliq-8B-Agent-Reasoning
Fabliq-8B-Agent-Reasoning is a text generation model from LLM-OS-Models. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
The reasoning-expanded sibling of Fabliq-8B-Agent. Adds general + deep reasoning on top of the agentic foundation — broadens the model beyond pure terminal tool-use into multi-domain expert Q&A, mathematical reasoning…
Downloads · 30 days
135
35% of all-time downloads
All-time downloads
390
Public
Parameters
8.5B
17 GB on disk
Likes
11
Trending 3
Click a slice to open those files.
.safetensors16.9 GB · 100%
How the weights are stored.
BF168.5B · 100%
From the Hugging Face model README
The reasoning-expanded sibling of Fabliq-8B-Agent. Adds general + deep reasoning on top of the agentic foundation — broadens the model beyond pure terminal tool-use into multi-domain expert Q&A, mathematical reasoning, scientific analysis, and cybersecurity. Two-phase curriculum inspired by Qwythos-9B.
<think> and emits native LFM tool calls when needed.| Architecture | Lfm2MoeForCausalLM (24 layers, 32 experts, 4 experts/token) |
| Parameters | ~8B total / ~1B active (MoE) |
| Context | 8,192 trained · 128K native (rope_theta=5e6) |
| Precision | bfloat16 |
| Fine-tune type | Full-parameter SFT, continuation from Fabliq-8B-Agent |
| License | Apache 2.0 |
| Source | Rows | Description |
|---|---|---|
WithinUs (from claude_mythos_distilled_25k) | 135 | 6-category expert Q&A — coding, planning, math, science, cybersecurity. SHA-256 dedup (25k → 135 unique). |
Helio (Fable-5-Distill-Reasoning-462x) | 146 | Opus 4.8 deep-reasoning traces. Russian-language filter (Cyrillic <30%). |
| Total Phase-2 | 281 |
Preprocessing:
build_withinus_lfm_sft.py<think> wrapping for reasoning, line 192 corruption skip → build_helio_lfm_sft.pybuild_phase2_reasoning (concat)| Hyperparameter | Value |
|---|---|
| Base | LLM-OS-Models/Fabliq-8B-Agent (Phase-1 final) |
| Schedule | 4 epochs, constant LR |
| Max sequence length | 8,192 |
| Per-device batch size | 2 |
| Gradient accumulation | 4 |
| GPUs | 8× H200 (effective batch 64) |
| Learning rate | 3e-7 (lower than Phase-1 — model already agentic-tuned, avoid forgetting) |
| Precision | bf16 |
| FSDP | full_shard, activation checkpointing, Lfm2MoeDecoderLayer auto-wrap |
| Final train_loss | ~1.6 |
| Train runtime | ~6 minutes (281 rows × 4 epochs) |
| Global steps | 20 |
WithinUs (broad reasoning):
You are a knowledgeable assistant. Provide rigorous, well-structured answers
across coding, cybersecurity, mathematics, scientific analysis, agentic planning,
and general expert topics. Be precise and thorough.
Helio (deep reasoning):
You are a deep-reasoning assistant. Think step by step inside <think>...</think>,
then provide a clear, structured answer.
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "LLM-OS-Models/Fabliq-8B-Agent-Reasoning"
tok = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id, dtype=torch.bfloat16, device_map="auto"
)
SYSTEM = (
"You are a deep-reasoning assistant. Think step by step inside <think>...</think>, "
"then provide a clear, structured answer."
)
messages = [
{"role": "system", "content": SYSTEM},
{"role": "user", "content": "Derive the time complexity of merge sort and explain when it beats quicksort."},
]
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=2048,
do_sample=False,
repetition_penalty=1.05,
)
print(tok.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=False))
| Use case | Model |
|---|---|
| Pure terminal / coding agent (read, edit, run, verify) | Fabliq-8B-Agent |
| Multi-domain expert Q&A + reasoning + still agentic | Fabliq-8B-Agent-Reasoning (this model) |
| Local 16GB VRAM deployment with tool-use | Either — both fit comfortably |
Apache 2.0, inherited from the LiquidAI LFM2.5-8B-A1B base.
This is a fine-tune (continuation SFT). Direct parent: LLM-OS-Models/Fabliq-8B-Agent.
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 (Phase-1: Fable-5 agentic SFT)
└─ LLM-OS-Models/Fabliq-8B-Agent-Reasoning ← this model (Phase-2: + WithinUs + Helio)