模型介绍
中文整理Try LFM • Docs • LEAP • Discord
🇯🇵 LFM2.5-1.2B-JP-202606
LFM2.5-1.2B-JP-202606** is our latest general purpose Japanese chat model, delivering significant improvements in knowledge, instruction following, math, code, and tool-use over both the models of comparable size and LFM2.5-1.2B-JP. It sets a new benchmark for state-of-the-art performance in Japanese language understanding.
Ideal for developers building Japanese-language applications where cultural and linguistic nuance matter.
LFM2.5-1.2B-JP-202606** は、当社の最新の汎用日本語チャットモデルです。知識、指示追従、数学、コード、ツール使用の各領域において、同規模の他モデルおよび LFM2.5-1.2B-JP の双方を大幅に上回る改善を実現しています。日本語全般における最高水準のベンチマーク性能を発揮します。
文化的・言語的なニュアンスが重要となる日本語アプリケーションを構築する開発者に最適です。
Find more information about LFM2.5 in our blog post.
📊 Performance
We compared LFM2.5-1.2B-JP-202606 with relevant sub-2B models on a diverse suite of benchmarks.
Model
Size
Knowledge
Instruction Following
Math
Code
Tool Use
Domain Avg
JMMLU‑ProX
JMMLU
JCulture
JGPQA
Avg
J‑MIFEval
JFBench1
Avg
J‑GSM8K
J‑MATH500
Avg
JHumanEval+
J‑BFCLv32
LFM2.5‑1.2B‑JP‑202606
- 2B
- 2354.1935.7728.6938.72
- 0854.7766.93
- 2062.8062.50
- 39
- 00
- 11
LFM2.5‑1.2B‑Instruct
- 2B
- 4247.6128.4231.7234.79
- 4436.6738.56
- 2050.0050.10
- 66
- 29
- 68
Qwen3‑1.7B (Instruct)
- 7B
- 7847.6733.3326.2634.51
- 2936.6138.45
- 0056.4051.20
- 56
- 45
- 83
Granite‑4.0‑1B
- 5B
- 3233.9334.3824.4427.02
- 5631.2629.41
- 8025.4034.10
- 22
- 57
- 46
Llama‑3.2‑1B‑Instruct
- 2B
- 9133.9722.5232.3226.18
- 1021.7822.94
- 2011.4018.30
- 68
- 06
- 23
Gemma‑3‑1B‑it
- 0B
- 1234.4523.4224.2424.06
- 3131.1528.73
- 6015.6024.60
- 00
- 26
- 93
sarashina2.2‑1b‑instruct‑v0.1
- 4B
- 340.2425.5326.2627.58
- 927.4124.66
- 424.834.60
- 95
- 86
- 53
TinySwallow‑1.5B‑Instruct
- 5B
- 5147.9831.1729.2932.49
- 5534.2535.40
- 222.434.80
- 83
- 7
- 24
llm‑jp‑3.1‑1.8b‑instruct4
- 9B
- 4443.0527.4217.6826.40
- 7730.9232.35
- 817.034.90
- 37
- 76
- 16
RakutenAI‑2.0‑mini‑instruct
- 5B
- 4631.8429.6722.2223.80
- 0624.6626.36
- 811.418.10
- 6
- 85
- 74
1 JFBench is evaluated using single-instruction prompts.*
2 quickTestingOSSHandler is used for models that do not support function calling (sarashina2.2‑1b‑instruct‑v0.1, TinySwallow‑1.5B‑Instruct, llm‑jp‑3.1‑1.8b‑instruct4, and RakutenAI‑2.0‑mini‑instruct).*
🗒️ Model Details
Model Parameters Description
- ------ ------------ -------------
LFM2.5-1.2B-Base 1.2B Pre-trained base model for fine-tuning
LFM2.5-1.2B-Instruct 1.2B General-purpose instruction-tuned model
LFM2.5-1.2B-Thinking 1.2B General-purpose reasoning model
- *LFM2.5-1.2B-JP-202606** 1.2B Japanese-capable chat model
LFM2.5-VL-1.6B 1.6B Vision-language model with fast inference
LFM2.5-Audio-1.5B 1.5B Audio-language model for speech and text I/O
LFM2.5-Audio-1.5B-JP 1.5B Japanese-capable audio model for speech and text I/O
LFM2.5-1.2B-JP-202606 is a general-purpose text-only model with the following features:
- *Number of parameters**: 1.17B
- *Number of layers**: 16 (10 double-gated LIV convolution blocks + 6 GQA blocks)
- *Training budget**: 31.5T tokens
- *Context length**: 32,768 tokens
- *Vocabulary size**: 65,536
- *Knowledge cutoff**: Mid-2024
- *Languages**: English, Japanese
- *Generation parameters**:
- temperature: 0.1
- top k: 50
- repetition penalty: 1.05
Model Description
- ------ -------------
LFM2.5-1.2B-JP-202606 Original model checkpoint in native format. Best for fine-tuning or inference with Transformers and vLLM.
LFM2.5-1.2B-JP-202606-GGUF Quantized format for llama.cpp and compatible tools. Optimized for CPU inference and local deployment with reduced memory usage.
LFM2.5-1.2B-JP-202606-ONNX ONNX Runtime format for cross-platform deployment. Enables hardware-accelerated inference across diverse environments (cloud, edge, mobile).
LFM2.5-1.2B-JP-202606-MLX MLX format for Apple Silicon. Optimized for fast inference on Mac devices using the MLX framework.
We recommend using it for agentic workflows, tool use, structured outputs, bilingual English–Japanese assistants, and on-device personal-assistant applications. It is not recommended for knowledge-intensive tasks. It performs best when given clear, explicit instructions that define the task, expected behavior, and output format.
エージェント型ワークフロー、ツール使用、構造化出力、日英バイリンガルアシスタント、オンデバイスのパーソナルアシスタントでの利用を推奨します。一方で、詳細な知識を要するのタスクには推奨されません。タスク内容、期待される動作、出力形式を明確かつ具体的に指示することで、最も高い性能を発揮します。
Chat Template
LFM2.5 uses a ChatML-like format. See the Chat Template documentation for details. Example:
You can use tokenizer.apply chat template() to format your messages automatically.
Tool Use
LFM2.5 supports function calling as follows:
- **Function definition**: We recommend providing the list of tools as a JSON object in the system prompt. You can also use the tokenizer.apply chat template() function with tools.
- **Function call**: By default, LFM2.5 writes Pythonic function calls (a Python list between and special tokens), as the assistant answer. You can override this behavior by asking the model to output JSON function calls in the system prompt.
- **Function execution**: The function call is executed, and the result is returned as a "tool" role.
- **Final answer**: LFM2 interprets the outcome of the function call to address the original user prompt in plain text.
See the Tool Use documentation for the full guide. Example:
🏃 Inference
LFM2.5 is supported by many inference frameworks. See the Inference documentation for the full list.
Name Description Docs Notebook
- ----- ------------- ------ :--------:
Transformers Simple inference with direct access to model internals. Link
vLLM High-throughput production deployments with GPU. Link
llama.cpp Cross-platform inference with CPU offloading. Link
MLX Apple's machine learning framework optimized for Apple Silicon. Link —
LM Studio Desktop application for running LLMs locally. Link —
Here's a quick start example with Transformers:
python
from transformers import AutoModelForCausalLM, AutoTokenizer, TextStreamer
model id = "LFM2.5-1.2B-JP-202606"
model = AutoModelForCausalLM.from pretrained(
model id,
device map="auto",
dtype="bfloat16",
attn implementation="flash attention 2"
优先采用原作者提供的中文模型卡片;仅有英文说明时由闲社AI翻译整理。重要参数、许可证和商用范围请以原文为准。
你将获得什么
完整仓库方式包含该固定版本中的权重、配置、分词器及说明文件;指定版本方式只下载所选文件或整组分片。多模态模型的投影文件、配置等依赖,请按作者说明配齐。
完整仓库可能包含多个权重格式,因此需要的磁盘空间可能大于单一格式的模型大小。下载文件不等于完成模型部署。
使用前须知
运行模型需要的设备、工具与依赖,以原作者说明为准。
是否允许商用、修改和分发,请查看模型许可证。
闲社提供资料与镜像下载方法,不代表已运行模型或完成安全审计。下载的代码应先检查,再执行。
资料或下载有问题?
登录后可提交反馈。
