Hugging Face、LFM2.5-2.6B でローカルエージェントをどこでも展開可能に
本文の状態
日本語全文を表示中
詳細モードで約7分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
Hugging Face Blog
Liquid AI は Hugging Face Blog で、ローカル環境でどこでも動作可能なエージェントを実現する軽量モデル「LFM2.5-2.6B」の公開を発表した。
AI深層分析を開く2026年8月4日 23:38
AI深層分析
キーポイント
LFM2.5-2.6B の発表
Liquid AI が開発した、ローカル環境でのエージェント動作を目的とした軽量モデル「LFM2.5-2.6B」が Hugging Face Blog で紹介された。
ローカル展開の強調
同発表は、クラウド依存ではなく、あらゆる場所でローカルにエージェントをデプロイする可能性を前面に出している。
Liquid AI の技術的アプローチ
Liquid AI はこのモデルを通じて、リソース制約のある環境でも効率的に動作するエージェントの実現を目指している。
オンデバイスでの高性能エージェント実行
LFM2.5-2.6Bはツール呼び出しと多段ワークフローをサポートし、ラップトップやスマートフォンなどの一般的なハードウェア上で動作可能である。
小規模モデルにおける競合性能
このモデルはツール使用、指示の追従、多段エージェントタスクにおいて4倍サイズのモデルと同等かそれ以上の競争力を持つ。
重要な引用
Deploy local agents everywhere with LFM2.5-2.6B
LFM2.5-2.6B is built to power capable agents entirely on-device.
Competitive with models 4x larger on tool use, instruction following, and multi-step agentic tasks.
The Agentic RL pipeline separates model optimization, inference, and environment execution into distinct components.
編集コメントを表示
編集コメント
軽量モデルによるローカルエージェントの実現は、プライバシーやレイテンシの観点から重要な進展である。Liquid AI の技術が実際にどのような性能を発揮するかは、実環境での検証が必要となる。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
LFM2.5-2.6B は、端末だけで動作する高性能エージェントを実現するために設計されました。このモデルはツール呼び出しや多段階のワークフローをサポートしながらも、ラップトップからスマートフォンまで一般的なハードウェアで動作できるほど小さく高速です。これにより、開発者はどこでもエージェントをデプロイでき、データを端末内で完結させながらクラウド推論コストをかけずに利用規模を拡大できます。
- 最高クラスのエージェント: ツール使用、指示の遵守、多段階のアジェンシータスクにおいて、4 倍サイズのモデルと競合する性能を発揮します。
- アジェンティック強化学習: 最も人気のあるアジェンティックハーンネス内でトレーニングを行い、互換性を高めています。
- 効率的な推論: メモリ使用量は 2.5 GB を超えず、Apple M5 Max では 1 秒間に 220 トーク、AMD Ryzen CPU では 113 トークを生成します。
エッジデバイス向けに信頼性の高いアジェンティックモデルを構築した方法
LFM2.5-2.6B は約 34T トークンのデータで事前学習され、中間トレーニング段階でコンテキストウィンドウを 128K に拡張しています。その後、ポストトレーニングを通じてベースモデルをエージェントへと変換するプロセスが 4 つの段階で行われます。
- 教師あり微調整 (SFT): ツール使用、ウェブ検索、ハーンネス軌跡などアジェンティックデータに重点を置いた SFT を 2 ラウンド実施します。
- 教師の専門化: 数学、コード、ツール使用など各ドメインごとに 1 つずつ専門的な教師モデルを訓練します。
- 多領域オンポリシー蒸留 (MOPD): これらの専門教師から知識を単一の学生モデルへ蒸留します。
アジェンティック強化学習(Agentic RL)では、モデルが異なるツールやシステムプロンプト、多段階のタスク環境にわたって動作できるよう学習する、実際のエージェントハネス内で多段階の強化学習を実行します。
アジェンティック RL パイプラインは、モデル最適化、推論、環境実行をそれぞれ独立したコンポーネントとして分離しています。トレーニングエンジンがモデルの最適化を担当し、ロールアウトエンジンが最新のポリシーに基づいて行動を生成します。RL フレームワークは、ロールアウトの実行、軌跡と報酬の収集、そしてモデルの更新を調整することで、学習ループ全体を統括します。
行動の実行はサンドボックスサービス内で行われます。ここではブラックボックスハネス(例:OpenClaw や Hermes Agent)がエージェントをホストし、タスク環境との相互作用を調整します。ハネスプロキシを使用すれば、アジェンティックハネスを変更することなくブラックボックスとして扱えます。同時に、RL 学習サンプルの再構築と検証に必要なトークンレベルの軌跡も透明性を持ってキャプチャできます。
ベンチマーク結果
LFM2.5-2.6B を、STEM(科学・技術・工学・数学)、指示従順性、ツール使用、アジェンティックタスクにおいて、サイズが約 4 倍のモデル群と比較評価しました。同グループで最も小型のモデルながら、他モデルと互角に戦い、多くのケースでは上回る結果を収めています。
| ベンチマーク | LFM2.5-2.6B (2.6B) | gemma-4-E2B-it (5.1B) | gemma-4-E4B-it (8B) | Qwen3.5-4B (4.7B) | Qwen3.5-9B (9.7B) |
|---|---|---|---|---|---|
| AA Omniscience | -29.50 | -74.47 | -49.03 | -54.30 | -50.43 |
| AIME25 | 51.87 | 26.33 | 34.27 | 49.33 | 56.07 |
| LiveCodeBenchv6 | 59.41 | 54.92 | 63.77 | 60.85 | 69.86 |
| IFBench | 59.17 | 34.08 | 39.24 | 48.40 | 56.47 |
| Multi-IF | 80.07 | 69.44 | 77.35 | 55.67 | 62.55 |
| IFStruct | 85.49 | 64.85 | 76.65 | 36.25 | 78.50 |
| BFCLv4 | 56.88 | 36.98 | 46.39 | 50.56 | 60.13 |
| ToolSandbox | 77.83 | 52.40 | 65.00 | 75.55 | 76.44 |
| τ³-Bench Banking | 5.67 | 3.35 | 4.12 | 5.45 | 5.15 |
| Claw-Eval average (EN) | 62.85 | 53.14 | 58.02 | 62.28 | 66.53 |
| PinchBench | 68.22 | 44.24 | 55.09 | 71.26 | 71.45 |
| BrowseComp+ (OpenClaw) | 26.89 | 8.31 | 15.90 | 24.46 | 27.23 |
アプリ開発において、LFM2.5-2.6B の強みは指示の正確な実行とツール活用能力です。このモデルは、すべての指示従属ベンチマークでトップを記録し、ツール活用ベンチでも BFCLv4 を除く全項目で首位に立ちます。BFCLv4 では 9.7B パラメータの Qwen がわずかに上回っていますが、それ以外は LFM2.5-2.6B の圧勝です。
エージェントタスクでは Gemma シリーズを凌駕し、Qwen と互角の性能を発揮。知識分野でも首位を維持し、数学的推論においてもほぼ同等の結果を出しています。唯一、コーディング関連のタスクでは大規模モデルが明確な優位性を示しているため、その用途にはより大きなモデルの採用を検討してください。
CPU および GPU での推論速度
LFM2.5-2.6B は、llama.cpp、MLX、vLLM、SGLang、ONNX など、主要な推論エコシステム全体でリリース初日からサポートされています。
CPU 推論。 効率的な LFM2 アーキテクチャを採用しているため、LFM2.5-2.6B はテストしたモデルの中で最速です。M5 Max では秒間 220 トークン、Ryzen AI Max+ 395 では秒間 113 トークンのデコード速度を記録しました。秒間 30 トークンの速度でも、スマートフォン上で十分な能力を持つエージェントを実行することが可能です。
GPU 推論。 サイズクラス内では最速のモデルであり、高並列処理時には秒間約 15,000 トークンを出力できます。これは単一の H100 GPU で日間に換算すると約 13 億トークンに相当します。
LFM2.5-2.6B の使い方
大量のワークロードを処理するオンデバイスエージェントが必要な場合に、LFM2.5-2.6B を選択してください。
最新の transformers(transformers>=5.0.0 に互換性あり)をインストールします:
pip install -U transformers
その後、モデルを読み込んで実行します:
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "LiquidAI/LFM2.5-2.6B"
model = AutoModelForCausalLM.from_pretrained(
model_id,
device_map="auto",
dtype="bfloat16",
# attn_implementation="flash_attention_2" # uncomment on a compatible GPU
)
tokenizer = AutoTokenizer.from_pretrained(model_id)
prompt = "What is C. elegans?"
input_ids = tokenizer.apply_chat_template(
[{"role": "user", "content": prompt}],
add_generation_prompt=True,
return_tensors="pt",
tokenize=True,
).to(model.device)
output = model.generate(
input_ids,
do_sample=True,
temperature=0.2,
top_k=80,
repetition_penalty=1.05,
max_new_tokens=512,
)
print(tokenizer.decode(output[0], skip_special_tokens=False))
LFM2.5-2.6B デモ
LFM2.5-2.6B で駆動される研究用エージェントのブラウザデモをチェックしてください。このエージェントは特定の質問への調査を支援し、要約を生成します。
始め方
LFM2.5-2.6B と LFM2.5-2.6B-Base は本日、Hugging Face で利用可能です。
LFM2.5 では、「どこでも動作する AI」というビジョンの実現に向けて邁進しています。これらのモデルは以下の通りです:
- ダウンロード: Hugging Face の LFM2.5-2.6B-Base および LFM2.5-2.6B をダウンロードしてください。
- 試す: ブラウザで WebGPU デモを実行できます。セットアップは不要です。
- 活用する: ガイド に従って、OpenClaw や Hermes Agent、Pi などのローカルエージェントを動作させてください。
みなさんが何を作り出すか楽しみです。
引用
本記事は以下のように引用してください:
Liquid AI, "LFM2.5-2.6B: Deploy Agents Everywhere", Liquid AI Blog, Aug 2026.
または BibTeX 形式の引用を使用できます:
@article{liquidAI202626B,
author = {Liquid AI},
title = {LFM2.5-2.6B: Deploy Agents Everywhere},
journal = {Liquid AI Blog},
year = {2026},
note = {www.liquid.ai/blog/lfm2-5-2-6b},
}
原文を表示
LFM2.5-2.6B is built to power capable agents entirely on-device. It supports tool calling and multi-step workflows while staying small and fast enough for everyday hardware, from laptops to phones. This enables developers to deploy agents everywhere, keep data private on the device, and scale usage without a cloud inference bill.
- Best-in-class agent: Competitive with models 4x larger on tool use, instruction following, and multi-step agentic tasks.
- Agentic reinforcement learning: Trained inside the most popular agentic harnesses to improve compatibility.
- Efficient inference: 220 tok/s on an Apple M5 Max and 113 tok/s on an AMD Ryzen CPU, in under 2.5 GB of memory.
How we built a reliable agentic model for edge devices
LFM2.5-2.6B is pre-trained on ~34T tokens, with a mid-training phase that extends the context window to 128K. Post-training then turns the base model into an agent in four stages:
- Supervised fine-tuning (SFT): two rounds of SFT, weighted heavily toward agentic data like tool use, web search, and harness trajectories.
- Teacher specialization: train one specialist teacher per domain (math, code, tool use, and more).
- Multi-domain on-policy distillation (MOPD): distill the specialist teachers into a single student.
- Agentic Reinforcement Learning (Agentic RL): run multi-turn RL inside real agent harnesses, where the model learns to work across different tools, system prompts, and multi-turn task environments.
The Agentic RL pipeline separates model optimization, inference, and environment execution into distinct components. The Training Engine optimizes the model, while the Rollout Engine generates actions using the latest policy. The RL framework orchestrates the training loop by launching rollouts, collecting trajectories and rewards, and updating the model.
Actions are executed within a Sandbox Service, where the Blackbox Harness hosts the agent (e.g., OpenClaw or Hermes Agent) and coordinates interactions with the task environment. The Harness Proxy lets us treat agentic harnesses as black boxes with no modification, while transparently capturing the token-level trajectories needed to reconstruct and validate RL training samples.
Benchmark results
We evaluated LFM2.5-2.6B against models up to ~4x its size on STEM, instruction following, tool use, and agentic tasks. It is the smallest model in the group, yet it competes with and often beats the rest.
| Benchmark | LFM2.5-2.6B (2.6B) | gemma-4-E2B-it (5.1B) | gemma-4-E4B-it (8B) | Qwen3.5-4B (4.7B) | Qwen3.5-9B (9.7B) |
|---|---|---|---|---|---|
| AA Omniscience | -29.50 | -74.47 | -49.03 | -54.30 | -50.43 |
| AIME25 | 51.87 | 26.33 | 34.27 | 49.33 | 56.07 |
| LiveCodeBenchv6 | 59.41 | 54.92 | 63.77 | 60.85 | 69.86 |
| IFBench | 59.17 | 34.08 | 39.24 | 48.40 | 56.47 |
| Multi-IF | 80.07 | 69.44 | 77.35 | 55.67 | 62.55 |
| IFStruct | 85.49 | 64.85 | 76.65 | 36.25 | 78.50 |
| BFCLv4 | 56.88 | 36.98 | 46.39 | 50.56 | 60.13 |
| ToolSandbox | 77.83 | 52.40 | 65.00 | 75.55 | 76.44 |
| τ³-Bench Banking | 5.67 | 3.35 | 4.12 | 5.45 | 5.15 |
| Claw-Eval average (EN) | 62.85 | 53.14 | 58.02 | 62.28 | 66.53 |
| PinchBench | 68.22 | 44.24 | 55.09 | 71.26 | 71.45 |
| BrowseComp+ (OpenClaw) | 26.89 | 8.31 | 15.90 | 24.46 | 27.23 |
For your app, the strengths are instruction following and tool use. LFM2.5-2.6B tops every instruction-following benchmark here, and every tool-use benchmark except BFCLv4, where only the 9.7B Qwen edges ahead. On agentic tasks, it beats both Gemma models and stays even with the Qwens. It also leads on knowledge and stays close on math. Coding is the one place the larger models keep a clear lead, so reach for something bigger there.
Inference speed on CPU and GPU
LFM2.5-2.6B ships with day-one support across the inference ecosystem, including llama.cpp, MLX, vLLM, SGLang, and ONNX.
CPU inference. Due to its efficient LFM2 architecture, LFM2.5-2.6B is the fastest model we tested, with decode speeds of 220 tokens/s on an M5 Max and 113 tokens/s on a Ryzen AI Max+ 395. At 30 tokens/s, it allows you to run capable agents even on a phone.
GPU inference. LFM2.5-2.6B is the fastest model in its size class, reaching almost 15K output tokens per second at high concurrency, roughly 1.3B tokens per day on a single H100.
How to use LFM2.5-2.6B
Reach for LFM2.5-2.6B when you need on-device agents for high-volume workloads.
Install the latest version of transformers (compatible with transformers>=5.0.0):
pip install -U transformers
Then load and run the model:
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "LiquidAI/LFM2.5-2.6B"
model = AutoModelForCausalLM.from_pretrained(
model_id,
device_map="auto",
dtype="bfloat16",
# attn_implementation="flash_attention_2" # uncomment on a compatible GPU
)
tokenizer = AutoTokenizer.from_pretrained(model_id)
prompt = "What is C. elegans?"
input_ids = tokenizer.apply_chat_template(
[{"role": "user", "content": prompt}],
add_generation_prompt=True,
return_tensors="pt",
tokenize=True,
).to(model.device)
output = model.generate(
input_ids,
do_sample=True,
temperature=0.2,
top_k=80,
repetition_penalty=1.05,
max_new_tokens=512,
)
print(tokenizer.decode(output[0], skip_special_tokens=False))
LFM2.5-2.6B demo
Check out this browser demo of LFM2.5-2.6B powering a research agent. The agent helps you research specific questions and generates a summary.
Get Started
Both LFM2.5-2.6B and LFM2.5-2.6B-Base are available on Hugging Face today.
With LFM2.5, we're delivering on our vision of AI that runs anywhere. These models are:
- Download: LFM2.5-2.6B-Base and LFM2.5-2.6B on Hugging Face.
- Try: run the WebGPU demo in your browser, no setup needed.
- Use in your harness: follow our guide on how to run a local agent, like OpenClaw, Hermes Agent, and Pi.
We can't wait to see what you build.
Citation
Please cite this article as:
Liquid AI, "LFM2.5-2.6B: Deploy Agents Everywhere", Liquid AI Blog, Aug 2026.
Or use the BibTeX citation:
@article{liquidAI202626B,
author = {Liquid AI},
title = {LFM2.5-2.6B: Deploy Agents Everywhere},
journal = {Liquid AI Blog},
year = {2026},
note = {www.liquid.ai/blog/lfm2-5-2-6b},
}
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み