Text Generation
Transformers
Safetensors
English
lfm2_moe
lfm
liquid-ai
Mixture of Experts
agentic
terminal
reasoning
fable-5
withinus
helio
distillation
sft
ablation
conversational
Instructions to use LLM-OS-Models/Fabliq-8B-Agent-FromBase-Reasoning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LLM-OS-Models/Fabliq-8B-Agent-FromBase-Reasoning with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="LLM-OS-Models/Fabliq-8B-Agent-FromBase-Reasoning") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("LLM-OS-Models/Fabliq-8B-Agent-FromBase-Reasoning") model = AutoModelForCausalLM.from_pretrained("LLM-OS-Models/Fabliq-8B-Agent-FromBase-Reasoning", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use LLM-OS-Models/Fabliq-8B-Agent-FromBase-Reasoning with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "LLM-OS-Models/Fabliq-8B-Agent-FromBase-Reasoning" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "LLM-OS-Models/Fabliq-8B-Agent-FromBase-Reasoning", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/LLM-OS-Models/Fabliq-8B-Agent-FromBase-Reasoning
- SGLang
How to use LLM-OS-Models/Fabliq-8B-Agent-FromBase-Reasoning with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "LLM-OS-Models/Fabliq-8B-Agent-FromBase-Reasoning" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "LLM-OS-Models/Fabliq-8B-Agent-FromBase-Reasoning", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "LLM-OS-Models/Fabliq-8B-Agent-FromBase-Reasoning" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "LLM-OS-Models/Fabliq-8B-Agent-FromBase-Reasoning", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use LLM-OS-Models/Fabliq-8B-Agent-FromBase-Reasoning with Docker Model Runner:
docker model run hf.co/LLM-OS-Models/Fabliq-8B-Agent-FromBase-Reasoning
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
base_model: LLM-OS-Models/Fabliq-8B-Agent-FromBase
|
| 5 |
+
base_model_relation: finetune
|
| 6 |
+
tags:
|
| 7 |
+
- lfm
|
| 8 |
+
- liquid-ai
|
| 9 |
+
- moe
|
| 10 |
+
- agentic
|
| 11 |
+
- terminal
|
| 12 |
+
- reasoning
|
| 13 |
+
- fable-5
|
| 14 |
+
- withinus
|
| 15 |
+
- helio
|
| 16 |
+
- distillation
|
| 17 |
+
- sft
|
| 18 |
+
- ablation
|
| 19 |
+
language:
|
| 20 |
+
- en
|
| 21 |
+
pipeline_tag: text-generation
|
| 22 |
+
---
|
| 23 |
+
|
| 24 |
+
# Fabliq-8B-Agent-FromBase-Reasoning ππ¬π§
|
| 25 |
+
|
| 26 |
+
> **Reasoning-expanded sibling** of [Fabliq-8B-Agent-FromBase](https://huggingface.co/LLM-OS-Models/Fabliq-8B-Agent-FromBase). Adds general + deep reasoning (WithinUs + Helio) on top of the FromBase agentic foundation. Mirrors [Fabliq-8B-Agent-Reasoning](https://huggingface.co/LLM-OS-Models/Fabliq-8B-Agent-Reasoning) but for the FromBase ablation lineage.
|
| 27 |
+
|
| 28 |
+
## π¬ Why this variant?
|
| 29 |
+
|
| 30 |
+
Two parallel lineages, both end with reasoning expansion:
|
| 31 |
+
|
| 32 |
+
| Lineage | Phase-1 | Phase-2 |
|
| 33 |
+
| --- | --- | --- |
|
| 34 |
+
| **ToolBench line** | `Fabliq-8B-Agent` (ToolBench β Fable-5) | `Fabliq-8B-Agent-Reasoning` |
|
| 35 |
+
| **FromBase line (this)** | `Fabliq-8B-Agent-FromBase` (base β Fable-5) | `Fabliq-8B-Agent-FromBase-Reasoning` (this) |
|
| 36 |
+
|
| 37 |
+
Comparing the two Phase-2 endpoints answers: **does ToolBench foundation matter for the final reasoning model, or is Fable-5 + reasoning enough?**
|
| 38 |
+
|
| 39 |
+
## π§ͺ Model details
|
| 40 |
+
|
| 41 |
+
| | |
|
| 42 |
+
| --- | --- |
|
| 43 |
+
| **Architecture** | Lfm2MoeForCausalLM (24 layers, 32 experts, 4 experts/token) |
|
| 44 |
+
| **Parameters** | ~8B total / ~1B active (MoE) |
|
| 45 |
+
| **Context** | 8,192 trained Β· 128K native |
|
| 46 |
+
| **Precision** | bfloat16 |
|
| 47 |
+
| **Fine-tune type** | Full-parameter SFT continuation |
|
| 48 |
+
| **License** | Apache 2.0 |
|
| 49 |
+
|
| 50 |
+
## π Training data (Phase-2B only)
|
| 51 |
+
|
| 52 |
+
Same as Phase-2: WithinUs 135 + Helio 146 = 281 rows Γ 4 epoch.
|
| 53 |
+
|
| 54 |
+
## π§ Training procedure
|
| 55 |
+
|
| 56 |
+
| Hyperparameter | Value |
|
| 57 |
+
| --- | --- |
|
| 58 |
+
| Base | `LLM-OS-Models/Fabliq-8B-Agent-FromBase` |
|
| 59 |
+
| Schedule | 4 epochs, LR 3e-7 |
|
| 60 |
+
| Max sequence length | 8,192 |
|
| 61 |
+
| GPUs | 8Γ H200 (effective batch 64) |
|
| 62 |
+
| Train runtime | ~6 min |
|
| 63 |
+
|
| 64 |
+
## π³ Model tree
|
| 65 |
+
|
| 66 |
+
```
|
| 67 |
+
LiquidAI/LFM2.5-8B-A1B
|
| 68 |
+
ββ ToolBench line:
|
| 69 |
+
β ββ LFM2.5-8B-A1B-Terminal-ToolBench-Full-SFT-1Epoch
|
| 70 |
+
β ββ Fabliq-8B-Agent
|
| 71 |
+
β ββ Fabliq-8B-Agent-Reasoning
|
| 72 |
+
ββ FromBase line (this):
|
| 73 |
+
ββ Fabliq-8B-Agent-FromBase
|
| 74 |
+
ββ Fabliq-8B-Agent-FromBase-Reasoning β this model
|
| 75 |
+
```
|
| 76 |
+
|
| 77 |
+
## π License
|
| 78 |
+
|
| 79 |
+
Apache 2.0.
|