jennyxue commited on
Commit
d2808f0
·
verified ·
1 Parent(s): d348226

Model card and the original license

Browse files
.gitattributes CHANGED
@@ -34,3 +34,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  8bit/tokenizer.json filter=lfs diff=lfs merge=lfs -text
 
 
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  8bit/tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ assets/lfm3-edge-inference.webp filter=lfs diff=lfs merge=lfs -text
LICENSE ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ LFM Open License v1.0
2
+
3
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
4
+
5
+ 1. Definitions.
6
+
7
+ "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by this document.
8
+
9
+ "Licensor" shall mean Liquid AI, Inc.
10
+
11
+ "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
12
+
13
+ "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
14
+
15
+ "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
16
+
17
+ "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
18
+
19
+ "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work.
20
+
21
+ "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
22
+
23
+ "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
24
+
25
+ "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
26
+
27
+ "Commercial Use" shall mean any use of the Work for direct or indirect commercial advantage or monetary compensation.
28
+
29
+ "Qualified Non-Profit Organization" shall mean a Legal Entity that is organized and operated exclusively for religious, charitable, scientific, testing for public safety, literary, or educational purposes, and which is exempt from federal income tax under Section 501(c)(3) of the United States Internal Revenue Code of 1986, as amended, or any equivalent non-profit or charitable organization in a foreign jurisdiction.
30
+
31
+ "Non-Commercial or Research Purposes" shall mean purposes that do not involve any use of the Work or a Derivative Work for Commercial Use.
32
+
33
+ "Threshold" shall mean annual revenue of 10 million United States dollars ($10,000,000) or more.
34
+
35
+ 2. Grant of Copyright License. Subject to the terms and conditions of this License, including the Commercial Use limitation set forth in Section 5, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
36
+
37
+ 3. Grant of Patent License. Subject to the terms and conditions of this License, including the Commercial Use limitation set forth in Section 5, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
38
+
39
+ 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
40
+
41
+ (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
42
+
43
+ (b) You must cause any modified files to carry prominent notices stating that You changed the files; and
44
+
45
+ (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
46
+
47
+ (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
48
+
49
+ You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
50
+
51
+ 5. Commercial Use Limitation.
52
+
53
+ (a) The rights granted under this License for Commercial Use are conditioned upon You or Your Legal Entity not exceeding the Threshold.
54
+
55
+ (b) Any Commercial Use of the Work or a Derivative Work by a Legal Entity that exceeds the Threshold is not licensed under this Agreement.
56
+
57
+ (c) The Threshold shall not apply to a Qualified Non-Profit Organization's use of the Work or a Derivative Work for Non-Commercial or Research Purposes.
58
+
59
+ 6. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
60
+
61
+ 7. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except for the reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
62
+
63
+ 8. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
64
+
65
+ 9. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
66
+
67
+ 10. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
68
+
69
+ 11. Termination. This License will terminate automatically and immediately if You fail to comply with any of its terms and conditions. Upon termination, You must cease all use of the Work and any Derivative Works and delete all copies in Your possession.
70
+
71
+ END OF TERMS AND CONDITIONS
NOTICE.md ADDED
@@ -0,0 +1 @@
 
 
1
+ Modified by Moonbox: the weights of https://huggingface.co/LiquidAI/LFM3-1.7B (revision 1da06bec) were converted to MLX in mlx-vlm's layout and the language model was quantized with MLX affine quantization (8 and 6 bits, and a dynamic 4-bit); text only (no vision tower). The publisher's Python files are not included. Not an official Liquid AI release.
README.md ADDED
@@ -0,0 +1,691 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: LiquidAI/LFM3-1.7B
3
+ base_model_relation: quantized
4
+ license: other
5
+ license_name: lfm1.0
6
+ license_link: LICENSE
7
+ pipeline_tag: text-generation
8
+ library_name: mlx
9
+ tags:
10
+ - mlx
11
+ - moonbox
12
+ - liquid
13
+ - lfm3
14
+ - mlx-vlm
15
+ - apple-silicon
16
+ ---
17
+
18
+ # LFM3 1.7B MLX
19
+
20
+ MLX builds of [LFM3 1.7B](https://huggingface.co/LiquidAI/LFM3-1.7B) (Liquid AI's LFM3), made by Moonbox for Apple Silicon Macs. Each build is a folder and
21
+ a complete [mlx-vlm](https://github.com/Blaizzy/mlx-vlm) model: weights, `config.json`, Liquid's tokenizer, chat
22
+ template and processor settings. These files are not an official Liquid AI release.
23
+
24
+ ## Files
25
+
26
+ The last column is how far each build is from the original bf16 model (see "Quality" below for what was measured).
27
+
28
+ | Precision | File | Size | sha256 | Against the original |
29
+ |---|---|---|---|---|
30
+ | 8bit | [`8bit/chat_template.jinja`](https://huggingface.co/moonbox-dev/LFM3-1.7B-MLX/blob/main/8bit/chat_template.jinja) | 12.1 kB | `f45005c50cd2` | KL 0.0026 nats (p95 0.0059), top-1 agreement 97.2 %, perplexity 24.88 vs 24.92 |
31
+ | 8bit | [`8bit/config.json`](https://huggingface.co/moonbox-dev/LFM3-1.7B-MLX/blob/main/8bit/config.json) | 49.4 kB | `e96977bbeaec` | KL 0.0026 nats (p95 0.0059), top-1 agreement 97.2 %, perplexity 24.88 vs 24.92 |
32
+ | 8bit | [`8bit/generation_config.json`](https://huggingface.co/moonbox-dev/LFM3-1.7B-MLX/blob/main/8bit/generation_config.json) | 0.3 kB | `0095ba7158e9` | KL 0.0026 nats (p95 0.0059), top-1 agreement 97.2 %, perplexity 24.88 vs 24.92 |
33
+ | 8bit | [`8bit/model.safetensors`](https://huggingface.co/moonbox-dev/LFM3-1.7B-MLX/blob/main/8bit/model.safetensors) | 1.84 GB | `2b06cea98d75` | KL 0.0026 nats (p95 0.0059), top-1 agreement 97.2 %, perplexity 24.88 vs 24.92 |
34
+ | 8bit | [`8bit/model.safetensors.index.json`](https://huggingface.co/moonbox-dev/LFM3-1.7B-MLX/blob/main/8bit/model.safetensors.index.json) | 50.7 kB | `0f4f85710fd2` | KL 0.0026 nats (p95 0.0059), top-1 agreement 97.2 %, perplexity 24.88 vs 24.92 |
35
+ | 8bit | [`8bit/special_tokens_map.json`](https://huggingface.co/moonbox-dev/LFM3-1.7B-MLX/blob/main/8bit/special_tokens_map.json) | 0.1 kB | `7946f864cbfb` | KL 0.0026 nats (p95 0.0059), top-1 agreement 97.2 %, perplexity 24.88 vs 24.92 |
36
+ | 8bit | [`8bit/tokenizer.json`](https://huggingface.co/moonbox-dev/LFM3-1.7B-MLX/blob/main/8bit/tokenizer.json) | 17.9 MB | `7e226e34bfac` | KL 0.0026 nats (p95 0.0059), top-1 agreement 97.2 %, perplexity 24.88 vs 24.92 |
37
+ | 8bit | [`8bit/tokenizer_config.json`](https://huggingface.co/moonbox-dev/LFM3-1.7B-MLX/blob/main/8bit/tokenizer_config.json) | 1.9 kB | `b77214b9f12b` | KL 0.0026 nats (p95 0.0059), top-1 agreement 97.2 %, perplexity 24.88 vs 24.92 |
38
+
39
+ LFM3 1.7B (Liquid AI's 1.7B hybrid model (short convolutions and attention), text only, with thinking) converted to MLX for Apple Silicon, in three builds. Each folder is a complete
40
+ mlx-vlm model.
41
+
42
+ These files were converted by Moonbox from [LiquidAI/LFM3-1.7B](https://huggingface.co/LiquidAI/LFM3-1.7B) (revision
43
+ `1da06bec`). They are not an official Liquid AI release.
44
+
45
+ ## How to run
46
+
47
+ With [mlx-vlm](https://github.com/Blaizzy/mlx-vlm) 0.8.0 or later (the first release that runs LFM3 is 0.7.11):
48
+
49
+ ```python
50
+ from huggingface_hub import snapshot_download
51
+ from mlx_vlm import load, generate
52
+
53
+ folder = snapshot_download("moonbox-dev/LFM3-1.7B-MLX", allow_patterns="6bit/*") + "/6bit"
54
+ model, processor = load(folder)
55
+ msgs = [{"role": "user", "content": "Explain in two sentences why the sky is blue."}]
56
+ prompt = processor.tokenizer.apply_chat_template(msgs, tokenize=False, add_generation_prompt=True)
57
+ print(generate(model, processor, prompt, max_tokens=1024, temperature=0.1, top_k=50, repetition_penalty=1.1).text)
58
+ ```
59
+
60
+ - **Chat template.** Liquid's ChatML (`<|startoftext|>` first, `<|im_start|>role ... <|im_end|>`); tools are
61
+ declared in the system turn between `<tools>` and `</tools>`. **Thinking is on by default**: the reply opens with
62
+ `<think>`; `enable_thinking=False` closes an empty think block instead (Liquid notes the model may still reason in
63
+ its answer). Earlier turns' thinking is dropped unless `preserve_thinking=True`.
64
+ - **Tool calls** are XML (a superset of `qwen3_coder`): `<tool_call>\n<function=name>\n<parameter=key>\nvalue\n</parameter>\n</function>\n</tool_call>`;
65
+ pass a call's `arguments` back as a mapping, its result as a `tool` message.
66
+ - **Sampling** (Liquid's card): `temperature=0.1, top_k=50, repetition_penalty=1.1` for chat, tools and agents;
67
+ `temperature=1.0, top_p=0.95, top_k=20` for maths. Text only: this model has no vision tower.
68
+ - **Memory and speed** on a 24 GB MacBook Air (M5), measured through Moonbox's server (greedy, thinking off; a short
69
+ answer, a 4K-token prompt):
70
+
71
+ | Build | Peak | Decode (short / after 4K) | Prefill 4K | Load | Runs on |
72
+ |---|---|---|---|---|---|
73
+ | `8bit` | 2.6 GB | 62.2 / 61.2 tok/s | 2711 tok/s | 2.4 s | 8 GB Macs and up |
74
+ | `6bit` | 2.2 GB | 80.0 / 76.8 tok/s | 2959 tok/s | 1.8 s | 8 GB Macs and up |
75
+ | `4bit` | 2.1 GB | 84.9 / 81.5 tok/s | 3003 tok/s | 1.7 s | 8 GB Macs and up |
76
+
77
+ ## The three builds
78
+
79
+ MLX affine quantization of the language model's linear layers and its embedding (tied to the head).
80
+
81
+ | Build | Size | Layout | Mean KL (nats) | Top-1 agreement | Perplexity |
82
+ |---|---|---|---|---|---|
83
+ | `8bit` | 1.9 GB | 8 bits, group 64, the embedding (tied: the head) too | 0.0026 | 97.2 % | 24.88 |
84
+ | `6bit` | 1.5 GB | 6 bits, group 64, the embedding (tied: the head) too | 0.012 | 94.1 % | 25.01 |
85
+ | `4bit` | 1.4 GB | dynamic (d4e): the MLPs' gate and up projections (w1, w3) 4 bits except in mlx-vlm's 'more bits' layers (the first and last eighth and every third in between), where they are 6; the down projections (w2), attention, the short convolutions' projections and the embedding (tied: the head too) 6 bits; group 64 | 0.034 | 90.9 % | 25.43 |
86
+
87
+ Against the bf16 original (perplexity 24.92), teacher-forced through mlx-vlm's own forward, on 16,368
88
+ positions of English prose, Python and chat transcripts in the model's own template. The mark this lab uses is
89
+ top-1 90 % (KL 0.01 ideal). This small model loses more to quantization than larger ones: a plain 4-bit
90
+ build (every module 4 bits, group 64) is at KL 0.170 and 79.8 %. Liquid AI's own MLX 4-bit ([LiquidAI/LFM3-1.7B-MLX-4bit](https://huggingface.co/LiquidAI/LFM3-1.7B-MLX-4bit), measured the same way) is at KL 0.170 and 79.8 %. Other layouts measured
91
+ (lab/zoo/lfm3/notes.md in Moonbox's repository names them): 5bit 0.040 / 89.4 %; d4a 0.071 / 87.2 %; d4b 0.070 / 87.1 %; d4c 0.056 / 88.1 %; d4d 0.095 / 84.2 %; d4f 0.044 / 89.5 %; d4g 0.026 / 91.7 %; d4h 0.021 / 93.1 %; d5 0.019 / 92.8 %; mixed46 0.120 / 82.8 %.
92
+
93
+ ## How these were made
94
+
95
+ From [LFM3 1.7B](https://huggingface.co/LiquidAI/LFM3-1.7B) at revision `1da06bec6a`, by Moonbox's converter (`lab/zoo/lfm3/convert.py` in Moonbox's
96
+ repository): `mlx_vlm.convert` with a quantization layout of our own, MLX affine quantization of the language model
97
+ only; every other part of the model is kept as the publisher shipped it (bfloat16). The publisher's Python files
98
+ (transformers remote code) are left out: mlx-vlm has its own implementation. Each build was checked against the
99
+ original before upload (teacher-forced through mlx-vlm's own forward); the `sha256` column above is what the files
100
+ must hash to.
101
+
102
+ ## License
103
+
104
+ The LFM Open License v1.0 (`LICENSE`, copied from the original repository), as the original model card declares. These
105
+ files are a derivative of the original model: its weights were converted and quantized as described above
106
+ (`NOTICE.md` says so too). Under the licence, commercial use is licensed only to entities below its revenue threshold
107
+ (10 million USD a year); read the licence before using these files. The original model card follows unchanged.
108
+
109
+ ---
110
+
111
+ # Original model card
112
+
113
+ <div align="center">
114
+ <img
115
+ src="https://huggingface.co/LiquidAI/LFM3-1.7B/resolve/main/assets/liquid-ai-banner.webp"
116
+ alt="Liquid AI"
117
+ style="width: 100%; max-width: 100%; height: auto; display: block; margin: 0;"
118
+ />
119
+ <div align="center" style="display: flex; justify-content: center; align-items: center; gap: 1.25em; margin: 8px 0 1.7rem; padding: 0; line-height: 1.3;">
120
+ <a href="https://console.liquid.ai/dashboard" style="display: inline-flex; align-items: center; gap: 6px;"><img src="data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2216%22 height=%2216%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cstyle%3Epath%7Bstroke:%23000%7D%40media (prefers-color-scheme:dark)%7Bpath%7Bstroke:%23d1d5dc%7D%7D%3C/style%3E%3Cpath d=%22m8 6-6 6 6 6m8-12 6 6-6 6m-2-14-4 16%22/%3E%3C/svg%3E" width="16" height="16" alt="" aria-hidden="true" style="display: block; flex: 0 0 16px; width: 16px; height: 16px; margin: 0;" /><strong>API</strong></a>
121
+ <a href="https://playground.liquid.ai/" style="display: inline-flex; align-items: center; gap: 6px;"><img src="data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2216%22 height=%2216%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cstyle%3Epath%7Bstroke:%23000%7D%40media (prefers-color-scheme:dark)%7Bpath%7Bstroke:%23d1d5dc%7D%7D%3C/style%3E%3Cpath transform=%22translate(3 0)%22 d=%22M8 5.5v13L19 12 8 5.5Z%22/%3E%3C/svg%3E" width="16" height="16" alt="" aria-hidden="true" style="display: block; flex: 0 0 16px; width: 16px; height: 16px; margin: 0;" /><strong>Try</strong></a>
122
+ <a href="https://docs.liquid.ai/lfm/getting-started/welcome" style="display: inline-flex; align-items: center; gap: 6px;"><img src="data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2216%22 height=%2216%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cstyle%3Epath%7Bstroke:%23000%7D%40media (prefers-color-scheme:dark)%7Bpath%7Bstroke:%23d1d5dc%7D%7D%3C/style%3E%3Cpath d=%22M12 6c-3-2-6-2.5-10-2v15c4-.5 7 0 10 2m0-15c3-2 6-2.5 10-2v15c-4-.5-7 0-10 2V6Z%22/%3E%3C/svg%3E" width="16" height="16" alt="" aria-hidden="true" style="display: block; flex: 0 0 16px; width: 16px; height: 16px; margin: 0;" /><strong>Docs</strong></a>
123
+ <a href="https://www.liquid.ai/blog/lfm3" style="display: inline-flex; align-items: center; gap: 6px;"><img src="data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2216%22 height=%2216%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cstyle%3Epath%7Bstroke:%23000%7D%40media (prefers-color-scheme:dark)%7Bpath%7Bstroke:%23d1d5dc%7D%7D%3C/style%3E%3Cpath transform=%22translate(1 0)%22 d=%22m16 3 5 5L8 21H3v-5L16 3Zm-3 3 5 5%22/%3E%3C/svg%3E" width="16" height="16" alt="" aria-hidden="true" style="display: block; flex: 0 0 16px; width: 16px; height: 16px; margin: 0;" /><strong>Blog</strong></a>
124
+ </div>
125
+ </div>
126
+
127
+ # LFM3-1.7B
128
+
129
+ LFM3-1.7B is a **text model for local agents and specialized applications**, based on our new tri-hybrid architecture.
130
+
131
+ - **Agentic training:** post-trained for agentic harnesses such as Hermes Agent, Pi, and OpenClaw, with a 256K-token context window.
132
+ - **Designed for the edge:** at 4-bit precision, it takes about 1 GB of memory, so it fits on any phone or laptop.
133
+ - **Made to be specialized:** adapt the model to your domains, formats, and tools via quick single-GPU fine-tuning.
134
+
135
+ Find more information about the LFM3 family in [our release blog post](https://www.liquid.ai/blog/lfm3).
136
+
137
+ ## Model details
138
+ <hr style="margin: -0.7em 0 1.2em 0; border: 0; border-top: 1px solid rgba(127, 127, 127, 0.3);" />
139
+
140
+ The [LFM3 family](https://huggingface.co/collections/LiquidAI/lfm3) includes base, text, vision, audio, omni, and decision models.
141
+
142
+ <table style="width: 100%; display: table; border: 0; border-radius: 0; border-collapse: collapse;">
143
+ <thead style="border: 0;">
144
+ <tr style="border: 0;">
145
+ <th scope="col" style="text-align: left; padding: 0.55em 0.75em; border: 0; border-bottom: 1px solid rgba(127, 127, 127, 0.55);">Property</th>
146
+ <th scope="col" style="text-align: left; padding: 0.55em 0.75em; border: 0; border-bottom: 1px solid rgba(127, 127, 127, 0.55);">Specification</th>
147
+ </tr>
148
+ </thead>
149
+ <tbody style="border: 0;">
150
+ <tr style="border: 0;">
151
+ <td style="border: 0; padding: 0.55em 0.75em;"><strong>Checkpoint</strong></td>
152
+ <td style="border: 0; padding: 0.55em 0.75em;">Post-trained, text-only language model</td>
153
+ </tr>
154
+ <tr style="border: 0;">
155
+ <td style="border: 0; padding: 0.55em 0.75em;"><strong>Parameters</strong></td>
156
+ <td style="border: 0; padding: 0.55em 0.75em;">1.73B</td>
157
+ </tr>
158
+ <tr style="border: 0;">
159
+ <td style="border: 0; padding: 0.55em 0.75em;"><strong>Architecture</strong></td>
160
+ <td style="border: 0; padding: 0.55em 0.75em;">24 layers: 13 gated short convolutions, 5 sliding-window attention, 6 global attention</td>
161
+ </tr>
162
+ <tr style="border: 0;">
163
+ <td style="border: 0; padding: 0.55em 0.75em;"><strong>Context length</strong></td>
164
+ <td style="border: 0; padding: 0.55em 0.75em;">256K tokens (input + output)</td>
165
+ </tr>
166
+ <tr style="border: 0;">
167
+ <td style="border: 0; padding: 0.55em 0.75em;"><strong>Vocabulary</strong></td>
168
+ <td style="border: 0; padding: 0.55em 0.75em;">128,000 tokens</td>
169
+ </tr>
170
+ <tr style="border: 0;">
171
+ <td style="border: 0; padding: 0.55em 0.75em;"><strong>Languages</strong></td>
172
+ <td style="border: 0; padding: 0.55em 0.75em;">English, Arabic, Chinese, French, German, Italian, Japanese, Korean, Portuguese, Spanish, Vietnamese, Thai, Indonesian, Hindi, Russian, Polish</td>
173
+ </tr>
174
+ <tr style="border: 0;">
175
+ <td style="border: 0; padding: 0.55em 0.75em;"><strong>License</strong></td>
176
+ <td style="border: 0; padding: 0.55em 0.75em;"><a href="LICENSE">LFM Open License v1.0</a></td>
177
+ </tr>
178
+ </tbody>
179
+ </table>
180
+
181
+ LFM3-1.7B is designed for local agents, tool calling, structured outputs, and domain-specific fine-tuning. Use retrieval or search for knowledge-heavy tasks. It is not recommended for agentic coding or complex multi-step reasoning due to its small size.
182
+
183
+ ## Inference
184
+ <hr style="margin: -0.7em 0 1.2em 0; border: 0; border-top: 1px solid rgba(127, 127, 127, 0.3);" />
185
+
186
+ Choose a checkpoint variant for your inference framework and hardware.
187
+
188
+ <table style="width: 100%; display: table; border: 0; border-radius: 0; border-collapse: collapse;">
189
+ <thead style="border: 0;">
190
+ <tr style="border: 0;">
191
+ <th scope="col" style="text-align: left; padding: 0.55em 0.75em; border: 0; border-bottom: 1px solid rgba(127, 127, 127, 0.55);">Checkpoint</th>
192
+ <th scope="col" style="text-align: left; padding: 0.55em 0.75em; border: 0; border-bottom: 1px solid rgba(127, 127, 127, 0.55);">Framework</th>
193
+ <th scope="col" style="text-align: left; padding: 0.55em 0.75em; border: 0; border-bottom: 1px solid rgba(127, 127, 127, 0.55);">Description</th>
194
+ </tr>
195
+ </thead>
196
+ <tbody style="border: 0;">
197
+ <tr style="border: 0;">
198
+ <td style="border: 0; padding: 0.55em 0.75em;"><a href="https://huggingface.co/LiquidAI/LFM3-1.7B">BF16</a></td>
199
+ <td style="border: 0; padding: 0.55em 0.75em;"><a href="https://docs.liquid.ai/deployment/gpu-inference/vllm">vLLM</a>, <a href="https://docs.liquid.ai/deployment/gpu-inference/sglang">SGLang</a>, <a href="https://docs.liquid.ai/deployment/gpu-inference/transformers">Transformers</a></td>
200
+ <td style="border: 0; padding: 0.55em 0.75em;">BF16 weights for GPU inference.</td>
201
+ </tr>
202
+ <tr style="border: 0;">
203
+ <td style="border: 0; padding: 0.55em 0.75em;"><a href="https://huggingface.co/LiquidAI/LFM3-1.7B-FP8">FP8</a></td>
204
+ <td style="border: 0; padding: 0.55em 0.75em;"><a href="https://huggingface.co/LiquidAI/LFM3-1.7B-FP8#use-with-sglang">SGLang</a></td>
205
+ <td style="border: 0; padding: 0.55em 0.75em;">FP8 quantization for GPU inference.</td>
206
+ </tr>
207
+ <tr style="border: 0;">
208
+ <td style="border: 0; padding: 0.55em 0.75em;"><a href="https://huggingface.co/LiquidAI/LFM3-1.7B-NVFP4">NVFP4</a></td>
209
+ <td style="border: 0; padding: 0.55em 0.75em;"><a href="https://huggingface.co/LiquidAI/LFM3-1.7B-NVFP4#use-with-sglang">SGLang</a></td>
210
+ <td style="border: 0; padding: 0.55em 0.75em;">4-bit floating-point quantization for GPU inference.</td>
211
+ </tr>
212
+ <tr style="border: 0;">
213
+ <td style="border: 0; padding: 0.55em 0.75em;"><a href="https://huggingface.co/LiquidAI/LFM3-1.7B-GGUF">GGUF</a></td>
214
+ <td style="border: 0; padding: 0.55em 0.75em;"><a href="https://docs.liquid.ai/deployment/on-device/llama-cpp">llama.cpp</a>, <a href="https://docs.liquid.ai/deployment/on-device/ollama">Ollama</a>, <a href="https://docs.liquid.ai/deployment/on-device/lm-studio">LM Studio</a></td>
215
+ <td style="border: 0; padding: 0.55em 0.75em;">Local inference on CPUs and GPUs.</td>
216
+ </tr>
217
+ <tr style="border: 0;">
218
+ <td style="border: 0; padding: 0.55em 0.75em;"><a href="https://huggingface.co/LiquidAI/LFM3-1.7B-MLX-4bit">MLX</a></td>
219
+ <td style="border: 0; padding: 0.55em 0.75em;"><a href="https://docs.liquid.ai/deployment/on-device/mlx">MLX</a></td>
220
+ <td style="border: 0; padding: 0.55em 0.75em;">4-bit quantization for Apple Silicon.</td>
221
+ </tr>
222
+ <tr style="border: 0;">
223
+ <td style="border: 0; padding: 0.55em 0.75em;"><a href="https://huggingface.co/LiquidAI/LFM3-1.7B-ONNX">ONNX</a></td>
224
+ <td style="border: 0; padding: 0.55em 0.75em;"><a href="https://docs.liquid.ai/deployment/on-device/onnx">ONNX Runtime</a></td>
225
+ <td style="border: 0; padding: 0.55em 0.75em;">Cross-platform inference with ONNX Runtime.</td>
226
+ </tr>
227
+ <tr style="border: 0;">
228
+ <td style="border: 0; padding: 0.55em 0.75em;"><a href="https://huggingface.co/OpenVINO/LFM3-1.7B-int4-ov">OpenVINO</a></td>
229
+ <td style="border: 0; padding: 0.55em 0.75em;"><a href="https://docs.openvino.ai/2026/index.html">OpenVINO</a></td>
230
+ <td style="border: 0; padding: 0.55em 0.75em;">4-bit quantization for Intel hardware.</td>
231
+ </tr>
232
+ </tbody>
233
+ </table>
234
+
235
+ **Sampling parameters:**
236
+
237
+ - **General** (chat, tool use, agents, coding): `temperature=0.1,top_k=50, repetition_penalty=1.1`
238
+ - **Math & STEM** (math, science): `temperature=1.0, top_p=0.95, top_k=20`
239
+
240
+ **Transformers quick start:**
241
+
242
+ ```python
243
+ from transformers import pipeline
244
+
245
+ generator = pipeline(
246
+ "text-generation",
247
+ model="LiquidAI/LFM3-1.7B",
248
+ trust_remote_code=True,
249
+ )
250
+
251
+ messages = [{"role": "user", "content": "What is C. elegans?"}]
252
+ output = generator(
253
+ messages,
254
+ do_sample=True,
255
+ temperature=0.1,
256
+ top_k=50,
257
+ repetition_penalty=1.1,
258
+ max_new_tokens=2048,
259
+ )
260
+ print(output[0]["generated_text"][-1]["content"])
261
+ ```
262
+
263
+ For local agent setup, see the [Agent Harnesses guide](https://docs.liquid.ai/examples/agent-harnesses).
264
+
265
+ <details>
266
+ <summary><strong>Chat template</strong></summary>
267
+
268
+ LFM3 uses this ChatML format, generated from the checkpoint's [chat template](https://huggingface.co/LiquidAI/LFM3-1.7B/blob/main/chat_template.jinja):
269
+
270
+ ```text
271
+ <|startoftext|><|im_start|>system
272
+ You are a helpful assistant trained by Liquid AI.<|im_end|>
273
+ <|im_start|>user
274
+ Explain how a heat pump works.<|im_end|>
275
+ <|im_start|>assistant
276
+ <think>
277
+ ```
278
+
279
+ Use `tokenizer.apply_chat_template()` with `add_generation_prompt=True` to format messages automatically.
280
+
281
+ Reasoning is enabled by default. You can set `enable_thinking=False` to disable thinking traces, but this behavior can be inconsistent, especially for reasoning-heavy tasks.
282
+
283
+ Reasoning from turns before the latest user message is removed unless `preserve_thinking=True`.
284
+
285
+ </details>
286
+
287
+ <details>
288
+ <summary><strong>Tool calling</strong></summary>
289
+
290
+ Pass function schemas through `tools=...` to `apply_chat_template()`. The template formats tool definitions and results automatically. Generated calls use XML:
291
+
292
+ ```text
293
+ <tool_call>
294
+ <function=get_weather>
295
+ <parameter=city>
296
+ Paris
297
+ </parameter>
298
+ </function>
299
+ </tool_call>
300
+ ```
301
+
302
+ Execute the call in your application. Add the parsed assistant call to history as a `tool_calls` entry, then append the result as a `tool` message. Keep passing the tool schemas on subsequent requests and preserve the assistant's content and reasoning from the current tool-use turn.
303
+
304
+ `function.arguments` must be a Python mapping. Decode JSON strings with `json.loads()` before applying the template.
305
+
306
+ </details>
307
+
308
+ <details>
309
+ <summary><strong>Tool search</strong></summary>
310
+
311
+ LFM3 supports deferred tools. Set `defer_loading=True` to keep tool definitions out of the prompt until your harness's search tool returns their names as `tool_reference` parts. The chat template then inserts their definitions into `<additional_tools>`.
312
+
313
+ ```python
314
+ tools = [
315
+ search_tool,
316
+ {"type": "function", "defer_loading": True, "function": get_weather_schema},
317
+ ]
318
+ messages.append({
319
+ "role": "tool",
320
+ "tool_call_id": call_id,
321
+ "content": [
322
+ {"type": "text", "text": "Found 1 tool."},
323
+ {"type": "tool_reference", "name": "get_weather"},
324
+ ],
325
+ })
326
+ ```
327
+
328
+ Your harness implements and runs the search. Keep the full `tools` list, including deferred tools, on every request. In the system prompt, tell the model when to search:
329
+
330
+ > You only have one tool right now: search_tools, which searches a catalog of many more tools. If none of your current tools can handle a request, call search_tools to find one, then call the tool it returns.
331
+
332
+ Works with vLLM, SGLang, and LFM3-compatible llama.cpp builds. For llama.cpp, use a GGUF with the current chat template or load it with `--chat-template-file`.
333
+
334
+ See [Deferred tools and tool search](https://docs.liquid.ai/lfm/key-concepts/tool-use) for the full guide.
335
+
336
+ </details>
337
+
338
+ ## Fine-tuning
339
+ <hr style="margin: -0.7em 0 1.2em 0; border: 0; border-top: 1px solid rgba(127, 127, 127, 0.3);" />
340
+
341
+ LFM3-1.7B is designed for **easy customization** for a given domain, task, or application via [TRL](https://docs.liquid.ai/lfm/fine-tuning/trl).
342
+
343
+ <table style="width: 100%; display: table; border: 0; border-radius: 0; border-collapse: collapse;">
344
+ <thead style="border: 0;">
345
+ <tr style="border: 0;">
346
+ <th scope="col" style="text-align: left; padding: 0.55em 0.75em; border: 0; border-bottom: 1px solid rgba(127, 127, 127, 0.55);">Training</th>
347
+ <th scope="col" style="text-align: left; padding: 0.55em 0.75em; border: 0; border-bottom: 1px solid rgba(127, 127, 127, 0.55);">Use case</th>
348
+ <th scope="col" style="text-align: center; padding: 0.55em 0.75em; border: 0; border-bottom: 1px solid rgba(127, 127, 127, 0.55);">Notebook</th>
349
+ </tr>
350
+ </thead>
351
+ <tbody style="border: 0;">
352
+ <tr style="border: 0;">
353
+ <td style="border: 0; padding: 0.55em 0.75em;"><strong>SFT</strong></td>
354
+ <td style="border: 0; padding: 0.55em 0.75em;">Extract structured JSON from messy documents</td>
355
+ <td style="text-align: center; border: 0; padding: 0.55em 0.75em;"><a href="https://colab.research.google.com/github/Liquid4All/cookbook/blob/main/finetuning/notebooks/lfm3_sft_with_trl.ipynb" title="SFT with TRL"><img src="https://colab.research.google.com/assets/colab-badge.svg" width="117" height="20" alt="Open in Colab" style="display: inline-block; width: 117px; height: 20px; margin: 0; vertical-align: middle;" /></a></td>
356
+ </tr>
357
+ <tr style="border: 0;">
358
+ <td style="border: 0; padding: 0.55em 0.75em;"><strong>DPO</strong></td>
359
+ <td style="border: 0; padding: 0.55em 0.75em;">Answer from retrieved documents, or decline</td>
360
+ <td style="text-align: center; border: 0; padding: 0.55em 0.75em;"><a href="https://colab.research.google.com/github/Liquid4All/cookbook/blob/main/finetuning/notebooks/lfm3_dpo_with_trl.ipynb" title="DPO with TRL"><img src="https://colab.research.google.com/assets/colab-badge.svg" width="117" height="20" alt="Open in Colab" style="display: inline-block; width: 117px; height: 20px; margin: 0; vertical-align: middle;" /></a></td>
361
+ </tr>
362
+ <tr style="border: 0;">
363
+ <td style="border: 0; padding: 0.55em 0.75em;"><strong>GRPO</strong></td>
364
+ <td style="border: 0; padding: 0.55em 0.75em;">Call the right tools in a 108-tool phone app</td>
365
+ <td style="text-align: center; border: 0; padding: 0.55em 0.75em;"><a href="https://colab.research.google.com/github/Liquid4All/cookbook/blob/main/finetuning/notebooks/lfm3_grpo_with_trl.ipynb" title="GRPO with TRL"><img src="https://colab.research.google.com/assets/colab-badge.svg" width="117" height="20" alt="Open in Colab" style="display: inline-block; width: 117px; height: 20px; margin: 0; vertical-align: middle;" /></a></td>
366
+ </tr>
367
+ <tr style="border: 0;">
368
+ <td style="border: 0; padding: 0.55em 0.75em;"><strong>CPT</strong></td>
369
+ <td style="border: 0; padding: 0.55em 0.75em;">Learn a new language (Turkish) from raw text</td>
370
+ <td style="text-align: center; border: 0; padding: 0.55em 0.75em;"><a href="https://colab.research.google.com/github/Liquid4All/cookbook/blob/main/finetuning/notebooks/lfm3_cpt_with_trl.ipynb" title="Continued pre-training with TRL"><img src="https://colab.research.google.com/assets/colab-badge.svg" width="117" height="20" alt="Open in Colab" style="display: inline-block; width: 117px; height: 20px; margin: 0; vertical-align: middle;" /></a></td>
371
+ </tr>
372
+ </tbody>
373
+ </table>
374
+
375
+ ## Performance
376
+ <hr style="margin: -0.7em 0 1.2em 0; border: 0; border-top: 1px solid rgba(127, 127, 127, 0.3);" />
377
+
378
+ ### Benchmarks
379
+
380
+ LFM3-1.7B can power agentic applications that used to need 9B parameters.
381
+
382
+ <div role="region" aria-labelledby="benchmarks" tabindex="0" style="width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;">
383
+ <table style="width: 100%; min-width: 36rem; display: table; border: 0; border-radius: 0; border-collapse: collapse; font-size: calc(0.875em - 1pt);">
384
+ <thead style="border: 0;">
385
+ <tr style="border: 0;">
386
+ <th scope="col" style="text-align: left; padding: 0.55em 0.75em; border: 0; border-bottom: 1px solid rgba(127, 127, 127, 0.55);">Benchmark</th>
387
+ <th scope="col" style="text-align: center; background-color: rgba(108, 79, 224, 0.08); padding: 0.55em 0.75em; border: 0; border-bottom: 1px solid rgba(127, 127, 127, 0.55);"><strong>LFM3<br>1.7B</strong></th>
388
+ <th scope="col" style="text-align: center; padding: 0.55em 0.75em; border: 0; border-bottom: 1px solid rgba(127, 127, 127, 0.55);">LFM2.5<br>2.6B</th>
389
+ <th scope="col" style="text-align: center; padding: 0.55em 0.75em; border: 0; border-bottom: 1px solid rgba(127, 127, 127, 0.55);">MiniCPM5<br>2B</th>
390
+ <th scope="col" style="text-align: center; padding: 0.55em 0.75em; border: 0; border-bottom: 1px solid rgba(127, 127, 127, 0.55);">Gemma 4<br>E4B</th>
391
+ <th scope="col" style="text-align: center; padding: 0.55em 0.75em; border: 0; border-bottom: 1px solid rgba(127, 127, 127, 0.55);">Qwen3.5<br>4B</th>
392
+ <th scope="col" style="text-align: center; padding: 0.55em 0.75em; border: 0; border-bottom: 1px solid rgba(127, 127, 127, 0.55);">Qwen3.5<br>9B</th>
393
+ </tr>
394
+ </thead>
395
+ <tbody style="border: 0;">
396
+ <tr style="border: 0;"><th scope="rowgroup" style="text-align: left; background-color: transparent; padding: 0.55em 0.75em; border: 0; font-weight: 600; padding-top: 1em; padding-bottom: 0.5em;">Agents</th><td aria-hidden="true" style="border: 0; padding: 0.55em 0.75em; background-color: rgba(108, 79, 224, 0.08);"></td><td colspan="5" aria-hidden="true" style="border: 0; padding: 0.55em 0.75em;"></td></tr>
397
+ <tr style="border: 0;">
398
+ <td style="border: 0; padding: 0.55em 0.75em;">LiveClaw</td>
399
+ <td style="text-align: center; font-variant-numeric: tabular-nums; background-color: rgba(108, 79, 224, 0.08); border: 0; padding: 0.55em 0.75em;"><strong>45.60</strong></td>
400
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">14.70</td>
401
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">30.37</td>
402
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">20.36</td>
403
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">19.94</td>
404
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><u>35.77</u></td>
405
+ </tr>
406
+ <tr style="border: 0;">
407
+ <td style="border: 0; padding: 0.55em 0.75em;">Claw-Eval General (EN), average</td>
408
+ <td style="text-align: center; font-variant-numeric: tabular-nums; background-color: rgba(108, 79, 224, 0.08); border: 0; padding: 0.55em 0.75em;"><strong>68.64</strong></td>
409
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">62.63</td>
410
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">60.74</td>
411
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">56.14</td>
412
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">61.96</td>
413
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><u>66.53</u></td>
414
+ </tr>
415
+ <tr style="border: 0;">
416
+ <td style="border: 0; padding: 0.55em 0.75em;">Claw-Eval General (EN), pass^3</td>
417
+ <td style="text-align: center; font-variant-numeric: tabular-nums; background-color: rgba(108, 79, 224, 0.08); border: 0; padding: 0.55em 0.75em;"><u>51.40</u></td>
418
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">37.52</td>
419
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">34.58</td>
420
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">22.43</td>
421
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">42.99</td>
422
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><strong>51.87</strong></td>
423
+ </tr>
424
+ <tr style="border: 0;">
425
+ <td style="border: 0; padding: 0.55em 0.75em;">BrowseComp-Plus (OpenClaw subset)</td>
426
+ <td style="text-align: center; font-variant-numeric: tabular-nums; background-color: rgba(108, 79, 224, 0.08); border: 0; padding: 0.55em 0.75em;"><u>37.00</u></td>
427
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">26.33</td>
428
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">16.83</td>
429
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">21.00</td>
430
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">24.67</td>
431
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><strong>38.00</strong></td>
432
+ </tr>
433
+ <tr style="border: 0;">
434
+ <td style="border: 0; padding: 0.55em 0.75em;">WebArena-Verified</td>
435
+ <td style="text-align: center; font-variant-numeric: tabular-nums; background-color: rgba(108, 79, 224, 0.08); border: 0; padding: 0.55em 0.75em;"><strong>38.42</strong></td>
436
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">3.02</td>
437
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">9.11</td>
438
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">17.06</td>
439
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">21.92</td>
440
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><u>28.94</u></td>
441
+ </tr>
442
+ <tr style="border: 0;">
443
+ <td style="border: 0; padding: 0.55em 0.75em;">EnterpriseOps-Gym</td>
444
+ <td style="text-align: center; font-variant-numeric: tabular-nums; background-color: rgba(108, 79, 224, 0.08); border: 0; padding: 0.55em 0.75em;"><u>28.20</u></td>
445
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">7.94</td>
446
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">13.41</td>
447
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">9.86</td>
448
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">25.96</td>
449
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><strong>28.97</strong></td>
450
+ </tr>
451
+ <tr style="border: 0;">
452
+ <td style="border: 0; padding: 0.55em 0.75em;">AutomationBench (public)</td>
453
+ <td style="text-align: center; font-variant-numeric: tabular-nums; background-color: rgba(108, 79, 224, 0.08); border: 0; padding: 0.55em 0.75em;"><strong>41.29</strong></td>
454
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">0.94</td>
455
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">4.71</td>
456
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">1.92</td>
457
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">8.67</td>
458
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><u>15.10</u></td>
459
+ </tr>
460
+ </tbody>
461
+ <tbody style="border: 0;">
462
+ <tr style="border: 0;"><th scope="rowgroup" style="text-align: left; background-color: transparent; padding: 0.55em 0.75em; border: 0; font-weight: 600; padding-top: 1em; padding-bottom: 0.5em; border-top: 1px solid rgba(127, 127, 127, 0.25);">Tool use</th><td aria-hidden="true" style="border: 0; padding: 0.55em 0.75em; background-color: rgba(108, 79, 224, 0.08); border-top: 1px solid rgba(127, 127, 127, 0.25);"></td><td colspan="5" aria-hidden="true" style="border: 0; padding: 0.55em 0.75em; border-top: 1px solid rgba(127, 127, 127, 0.25);"></td></tr>
463
+ <tr style="border: 0;">
464
+ <td style="border: 0; padding: 0.55em 0.75em;">BFCL V4</td>
465
+ <td style="text-align: center; font-variant-numeric: tabular-nums; background-color: rgba(108, 79, 224, 0.08); border: 0; padding: 0.55em 0.75em;"><strong>71.39</strong></td>
466
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">55.89</td>
467
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">62.65</td>
468
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">48.25</td>
469
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">55.12</td>
470
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><u>62.83</u></td>
471
+ </tr>
472
+ <tr style="border: 0;">
473
+ <td style="border: 0; padding: 0.55em 0.75em;">ToolSandbox</td>
474
+ <td style="text-align: center; font-variant-numeric: tabular-nums; background-color: rgba(108, 79, 224, 0.08); border: 0; padding: 0.55em 0.75em;"><strong>80.36</strong></td>
475
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><u>78.04</u></td>
476
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">68.16</td>
477
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">69.27</td>
478
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">75.40</td>
479
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">76.41</td>
480
+ </tr>
481
+ <tr style="border: 0;">
482
+ <td style="border: 0; padding: 0.55em 0.75em;">MCP-Atlas</td>
483
+ <td style="text-align: center; font-variant-numeric: tabular-nums; background-color: rgba(108, 79, 224, 0.08); border: 0; padding: 0.55em 0.75em;">32.57</td>
484
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">16.45</td>
485
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">26.38</td>
486
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">6.19</td>
487
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><u>41.37</u></td>
488
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><strong>42.67</strong></td>
489
+ </tr>
490
+ <tr style="border: 0;">
491
+ <td style="border: 0; padding: 0.55em 0.75em;">τ³-bench (4 domains), average</td>
492
+ <td style="text-align: center; font-variant-numeric: tabular-nums; background-color: rgba(108, 79, 224, 0.08); border: 0; padding: 0.55em 0.75em;"><u>68.01</u></td>
493
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">56.77</td>
494
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><strong>69.44</strong></td>
495
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">33.53</td>
496
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">65.98</td>
497
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">67.11</td>
498
+ </tr>
499
+ </tbody>
500
+ <tbody style="border: 0;">
501
+ <tr style="border: 0;"><th scope="rowgroup" style="text-align: left; background-color: transparent; padding: 0.55em 0.75em; border: 0; font-weight: 600; padding-top: 1em; padding-bottom: 0.5em; border-top: 1px solid rgba(127, 127, 127, 0.25);">Agentic coding</th><td aria-hidden="true" style="border: 0; padding: 0.55em 0.75em; background-color: rgba(108, 79, 224, 0.08); border-top: 1px solid rgba(127, 127, 127, 0.25);"></td><td colspan="5" aria-hidden="true" style="border: 0; padding: 0.55em 0.75em; border-top: 1px solid rgba(127, 127, 127, 0.25);"></td></tr>
502
+ <tr style="border: 0;">
503
+ <td style="border: 0; padding: 0.55em 0.75em;">SWE-bench Verified (OpenCode)</td>
504
+ <td style="text-align: center; font-variant-numeric: tabular-nums; background-color: rgba(108, 79, 224, 0.08); border: 0; padding: 0.55em 0.75em;"><u>43.40</u></td>
505
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">18.00</td>
506
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">34.80</td>
507
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">0.50</td>
508
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">41.20</td>
509
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><strong>51.20</strong></td>
510
+ </tr>
511
+ <tr style="border: 0;">
512
+ <td style="border: 0; padding: 0.55em 0.75em;">SWE-bench Multilingual (OpenCode)</td>
513
+ <td style="text-align: center; font-variant-numeric: tabular-nums; background-color: rgba(108, 79, 224, 0.08); border: 0; padding: 0.55em 0.75em;">23.00</td>
514
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">8.00</td>
515
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">15.67</td>
516
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">0.67</td>
517
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><u>23.33</u></td>
518
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><strong>35.00</strong></td>
519
+ </tr>
520
+ <tr style="border: 0;">
521
+ <td style="border: 0; padding: 0.55em 0.75em;">Terminal-Bench 2.1 (OpenCode)</td>
522
+ <td style="text-align: center; font-variant-numeric: tabular-nums; background-color: rgba(108, 79, 224, 0.08); border: 0; padding: 0.55em 0.75em;">12.92</td>
523
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">0.00</td>
524
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">5.62</td>
525
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">0.00</td>
526
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><u>13.48</u></td>
527
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><strong>17.98</strong></td>
528
+ </tr>
529
+ </tbody>
530
+ <tbody style="border: 0;">
531
+ <tr style="border: 0;"><th scope="rowgroup" style="text-align: left; background-color: transparent; padding: 0.55em 0.75em; border: 0; font-weight: 600; padding-top: 1em; padding-bottom: 0.5em; border-top: 1px solid rgba(127, 127, 127, 0.25);">Coding</th><td aria-hidden="true" style="border: 0; padding: 0.55em 0.75em; background-color: rgba(108, 79, 224, 0.08); border-top: 1px solid rgba(127, 127, 127, 0.25);"></td><td colspan="5" aria-hidden="true" style="border: 0; padding: 0.55em 0.75em; border-top: 1px solid rgba(127, 127, 127, 0.25);"></td></tr>
532
+ <tr style="border: 0;">
533
+ <td style="border: 0; padding: 0.55em 0.75em;">LiveCodeBench v6</td>
534
+ <td style="text-align: center; font-variant-numeric: tabular-nums; background-color: rgba(108, 79, 224, 0.08); border: 0; padding: 0.55em 0.75em;"><strong>73.46</strong></td>
535
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">60.57</td>
536
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">70.52</td>
537
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><u>71.00</u></td>
538
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">61.99</td>
539
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">69.86</td>
540
+ </tr>
541
+ <tr style="border: 0;">
542
+ <td style="border: 0; padding: 0.55em 0.75em;">LiveCodeBench Pro 25Q2</td><td style="text-align: center; font-variant-numeric: tabular-nums; background-color: rgba(108, 79, 224, 0.08); border: 0; padding: 0.55em 0.75em;"><u>31.74</u></td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">19.16</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">29.34</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">29.94</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">24.25</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><strong>34.43</strong></td></tr>
543
+ <tr style="border: 0;">
544
+ <td style="border: 0; padding: 0.55em 0.75em;">SciCode</td>
545
+ <td style="text-align: center; font-variant-numeric: tabular-nums; background-color: rgba(108, 79, 224, 0.08); border: 0; padding: 0.55em 0.75em;"><u>28.47</u></td>
546
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">16.32</td>
547
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">27.78</td>
548
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">25.00</td>
549
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">23.02</td>
550
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><strong>31.60</strong></td>
551
+ </tr>
552
+ </tbody>
553
+ <tbody style="border: 0;">
554
+ <tr style="border: 0;"><th scope="rowgroup" style="text-align: left; background-color: transparent; padding: 0.55em 0.75em; border: 0; font-weight: 600; padding-top: 1em; padding-bottom: 0.5em; border-top: 1px solid rgba(127, 127, 127, 0.25);">Instruction following</th><td aria-hidden="true" style="border: 0; padding: 0.55em 0.75em; background-color: rgba(108, 79, 224, 0.08); border-top: 1px solid rgba(127, 127, 127, 0.25);"></td><td colspan="5" aria-hidden="true" style="border: 0; padding: 0.55em 0.75em; border-top: 1px solid rgba(127, 127, 127, 0.25);"></td></tr>
555
+ <tr style="border: 0;">
556
+ <td style="border: 0; padding: 0.55em 0.75em;">IFEval</td><td style="text-align: center; font-variant-numeric: tabular-nums; background-color: rgba(108, 79, 224, 0.08); border: 0; padding: 0.55em 0.75em;"><strong>96.66</strong></td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><u>95.39</u></td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">87.83</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">90.02</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">92.52</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">92.08</td></tr>
557
+ <tr style="border: 0;">
558
+ <td style="border: 0; padding: 0.55em 0.75em;">IFBench</td><td style="text-align: center; font-variant-numeric: tabular-nums; background-color: rgba(108, 79, 224, 0.08); border: 0; padding: 0.55em 0.75em;"><strong>73.03</strong></td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">60.48</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><u>62.08</u></td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">44.56</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">38.16</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">48.84</td></tr>
559
+ <tr style="border: 0;">
560
+ <td style="border: 0; padding: 0.55em 0.75em;">IFStruct</td><td style="text-align: center; font-variant-numeric: tabular-nums; background-color: rgba(108, 79, 224, 0.08); border: 0; padding: 0.55em 0.75em;"><strong>93.72</strong></td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">82.18</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">72.65</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">78.45</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">87.05</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><u>89.20</u></td></tr>
561
+ <tr style="border: 0;">
562
+ <td style="border: 0; padding: 0.55em 0.75em;">Multi-IF</td>
563
+ <td style="text-align: center; font-variant-numeric: tabular-nums; background-color: rgba(108, 79, 224, 0.08); border: 0; padding: 0.55em 0.75em;"><strong>89.10</strong></td>
564
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><u>84.80</u></td>
565
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">73.19</td>
566
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">81.03</td>
567
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">80.32</td>
568
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">84.44</td>
569
+ </tr>
570
+ </tbody>
571
+ <tbody style="border: 0;">
572
+ <tr style="border: 0;"><th scope="rowgroup" style="text-align: left; background-color: transparent; padding: 0.55em 0.75em; border: 0; font-weight: 600; padding-top: 1em; padding-bottom: 0.5em; border-top: 1px solid rgba(127, 127, 127, 0.25);">Knowledge</th><td aria-hidden="true" style="border: 0; padding: 0.55em 0.75em; background-color: rgba(108, 79, 224, 0.08); border-top: 1px solid rgba(127, 127, 127, 0.25);"></td><td colspan="5" aria-hidden="true" style="border: 0; padding: 0.55em 0.75em; border-top: 1px solid rgba(127, 127, 127, 0.25);"></td></tr>
573
+ <tr style="border: 0;">
574
+ <td style="border: 0; padding: 0.55em 0.75em;">GPQA Diamond</td><td style="text-align: center; font-variant-numeric: tabular-nums; background-color: rgba(108, 79, 224, 0.08); border: 0; padding: 0.55em 0.75em;">63.37</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">57.78</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">65.15</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">57.88</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><u>75.76</u></td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><strong>80.40</strong></td></tr>
575
+ <tr style="border: 0;">
576
+ <td style="border: 0; padding: 0.55em 0.75em;">Humanity's Last Exam (no tools)</td><td style="text-align: center; font-variant-numeric: tabular-nums; background-color: rgba(108, 79, 224, 0.08); border: 0; padding: 0.55em 0.75em;">7.17</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">5.88</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">8.20</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">4.77</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><u>12.84</u></td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><strong>16.41</strong></td></tr>
577
+ <tr style="border: 0;">
578
+ <td style="border: 0; padding: 0.55em 0.75em;">Humanity's Last Exam (with tools)</td><td style="text-align: center; font-variant-numeric: tabular-nums; background-color: rgba(108, 79, 224, 0.08); border: 0; padding: 0.55em 0.75em;"><u>13.90</u></td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">9.60</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">11.50</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">6.00</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">11.60</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><strong>17.50</strong></td></tr>
579
+ <tr style="border: 0;">
580
+ <td style="border: 0; padding: 0.55em 0.75em;">AA-Omniscience (public)</td><td style="text-align: center; font-variant-numeric: tabular-nums; background-color: rgba(108, 79, 224, 0.08); border: 0; padding: 0.55em 0.75em;"><strong>0.50</strong></td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">-33.17</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><u>-5.00</u></td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">-15.33</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">-57.17</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">-28.00</td></tr>
581
+ <tr style="border: 0;">
582
+ <td style="border: 0; padding: 0.55em 0.75em;">AA-Omniscience accuracy (public)</td><td style="text-align: center; font-variant-numeric: tabular-nums; background-color: rgba(108, 79, 224, 0.08); border: 0; padding: 0.55em 0.75em;">7.07</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">8.75</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">9.13</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">9.83</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><strong>15.67</strong></td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><u>13.17</u></td></tr>
583
+ <tr style="border: 0;">
584
+ <td style="border: 0; padding: 0.55em 0.75em;">AA-Omniscience non-hallucination (public)</td><td style="text-align: center; font-variant-numeric: tabular-nums; background-color: rgba(108, 79, 224, 0.08); border: 0; padding: 0.55em 0.75em;"><strong>92.93</strong></td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">53.69</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><u>84.44</u></td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">72.09</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">13.64</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">52.59</td></tr>
585
+ </tbody>
586
+ <tbody style="border: 0;">
587
+ <tr style="border: 0;"><th scope="rowgroup" style="text-align: left; background-color: transparent; padding: 0.55em 0.75em; border: 0; font-weight: 600; padding-top: 1em; padding-bottom: 0.5em; border-top: 1px solid rgba(127, 127, 127, 0.25);">Long context</th><td aria-hidden="true" style="border: 0; padding: 0.55em 0.75em; background-color: rgba(108, 79, 224, 0.08); border-top: 1px solid rgba(127, 127, 127, 0.25);"></td><td colspan="5" aria-hidden="true" style="border: 0; padding: 0.55em 0.75em; border-top: 1px solid rgba(127, 127, 127, 0.25);"></td></tr>
588
+ <tr style="border: 0;">
589
+ <td style="border: 0; padding: 0.55em 0.75em;">AA-LCR</td>
590
+ <td style="text-align: center; font-variant-numeric: tabular-nums; background-color: rgba(108, 79, 224, 0.08); border: 0; padding: 0.55em 0.75em;"><u>52.83</u></td>
591
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">6.00</td>
592
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">49.34</td>
593
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">39.33</td>
594
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">52.67</td>
595
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><strong>62.00</strong></td>
596
+ </tr>
597
+ <tr style="border: 0;">
598
+ <td style="border: 0; padding: 0.55em 0.75em;">RULER 128K</td>
599
+ <td style="text-align: center; font-variant-numeric: tabular-nums; background-color: rgba(108, 79, 224, 0.08); border: 0; padding: 0.55em 0.75em;">65.56</td>
600
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">1.15</td>
601
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">37.96</td>
602
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;">18.82</td>
603
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><u>84.63</u></td>
604
+ <td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em;"><strong>87.11</strong></td>
605
+ </tr>
606
+ </tbody>
607
+ <tbody style="border: 0;">
608
+ <tr style="border: 0;"><td style="border: 0; padding: 0.55em 0.75em; border-top: 1px solid rgba(127, 127, 127, 0.25);"><strong>Average</strong></td><td style="text-align: center; font-variant-numeric: tabular-nums; background-color: rgba(108, 79, 224, 0.08); border: 0; padding: 0.55em 0.75em; border-top: 1px solid rgba(127, 127, 127, 0.25);"><strong>49.37</strong></td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em; border-top: 1px solid rgba(127, 127, 127, 0.25);">31.55</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em; border-top: 1px solid rgba(127, 127, 127, 0.25);">39.19</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em; border-top: 1px solid rgba(127, 127, 127, 0.25);">31.74</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em; border-top: 1px solid rgba(127, 127, 127, 0.25);">39.27</td><td style="text-align: center; font-variant-numeric: tabular-nums; border: 0; padding: 0.55em 0.75em; border-top: 1px solid rgba(127, 127, 127, 0.25);"><u>47.24</u></td></tr>
609
+ </tbody>
610
+ </table>
611
+ </div>
612
+
613
+ <details>
614
+ <summary><small>Evaluation details</small></summary>
615
+
616
+ <p><small>All models were served with vLLM in BF16 at their full context length: 262,144 tokens for LFM3-1.7B, Qwen3.5-4B, and Qwen3.5-9B, and 131,072 tokens for LFM2.5-2.6B, MiniCPM5-2B, and Gemma 4 E4B. Unless listed below, every eval uses temperature 0.6 and top_p 0.95, with no output limit other than the context length. The Average row is the unweighted mean of every score in the table.</small></p>
617
+
618
+ <p><small>
619
+ <strong>BFCL V4</strong>: greedy decoding, up to 32,768 output tokens.<br>
620
+ <strong>ToolSandbox</strong>: greedy decoding, up to 1,024 tokens per turn.<br>
621
+ <strong>LiveClaw</strong>: OpenClaw agent, up to 8,192 tokens per turn.<br>
622
+ <strong>Claw-Eval</strong>: greedy decoding, 3 trials per task.<br>
623
+ <strong>BrowseComp-Plus</strong>: OpenClaw agent, greedy decoding, up to 8,192 tokens per turn.<br>
624
+ <strong>WebArena-Verified</strong>: up to 40 steps.<br>
625
+ <strong>MCP-Atlas</strong>: up to 256 turns.<br>
626
+ <strong>EnterpriseOps-Gym</strong> and <strong>AutomationBench</strong>: up to 50 turns.<br>
627
+ <strong>SWE-bench</strong>: OpenCode agent, up to 250 turns.<br>
628
+ <strong>Terminal-Bench 2.1</strong>: OpenCode agent, up to 100 turns.
629
+ </small></p>
630
+
631
+ </details>
632
+
633
+ ### Edge inference
634
+
635
+ At 32K context, LFM3-1.7B prefills at least 2.5x faster and decodes at least 1.8x faster than every compared model on all three devices, while using the least memory.
636
+
637
+ <img src="https://huggingface.co/LiquidAI/LFM3-1.7B/resolve/main/assets/lfm3-edge-inference.webp" alt="LFM3-1.7B edge inference at 32K context: prefill throughput, decode throughput, and host plus GPU memory on AMD Ryzen AI Max+ 395, Apple M5 Max, and iPhone 17 Pro, compared with MiniCPM5-2B, Qwen3.5-4B, Qwen3.5-9B, and Gemma 4 E4B." width="4200" height="4223" style="width: 100%; max-width: 4200px; height: auto;" />
638
+
639
+ <details>
640
+ <summary><small>Evaluation details</small></summary>
641
+
642
+ <p><small>All models run as Q4_0 GGUF files in llama.cpp with 32,768 tokens of context, batch size 1, 100 output tokens, and GPU offload. Prefill is the prompt processing speed and decode is the generation speed, both in tokens per second. LFM3-1.7B uses a llama.cpp build with LFM3 support, and the other models use llama.cpp release b11744.</small></p>
643
+
644
+ <p><small>
645
+ <strong>AMD Ryzen AI Max+ 395</strong>: Radeon 8060S integrated GPU, Windows, Vulkan backend.<br>
646
+ <strong>Apple M5 Max</strong>: macOS, Metal backend.<br>
647
+ <strong>iPhone 17 Pro</strong>: Apple A19 Pro, iOS app built on llama.cpp.<br>
648
+ <strong>Memory</strong>: peak usage in GB (10<sup>9</sup> bytes). On AMD, it adds the host and GPU peaks from the same run, which can slightly overstate usage if the two peaks do not coincide. On Apple devices, the process footprint already includes Metal allocations.
649
+ </small></p>
650
+
651
+ </details>
652
+
653
+ ### GPU inference
654
+
655
+ At 1,024 concurrent requests, LFM3-1.7B can produce 3.6 billion tokens/day on one NVIDIA B300.
656
+
657
+ <img src="https://huggingface.co/LiquidAI/LFM3-1.7B/resolve/main/assets/lfm3-gpu-throughput-b300.png" alt="LFM3-1.7B GPU inference: output throughput versus concurrent requests on one NVIDIA B300, compared with MiniCPM5-2B, Gemma 4 E4B, Qwen3.5-4B, and Qwen3.5-9B." width="1200" height="675" style="width: 100%; max-width: 1200px; height: auto;" />
658
+
659
+ ## Training
660
+ <hr style="margin: -0.7em 0 1.2em 0; border: 0; border-top: 1px solid rgba(127, 127, 127, 0.3);" />
661
+
662
+ <img src="https://huggingface.co/LiquidAI/LFM3-1.7B/resolve/main/assets/lfm3-pre-training-recipe.webp" alt="LFM3-1.7B pre-training: web and synthetic data (about 15T tokens), then code, math, and science (3T tokens at 4K context), followed by mid-training on curated agentic data (3T tokens at 32K context), a 128K extension (500B tokens), and a 256K extension (50B tokens), for 22T tokens in total." width="2000" height="754" style="width: 100%; max-width: 2000px; height: auto;" />
663
+
664
+ **Pre-training:** two stages build LFM3-1.7B-Base on 22T tokens in total.
665
+
666
+ - **Main pre-training:** compared with LFM2, the mix adds more scientific papers, repository-level code, math, and a wider range of knowledge sources.
667
+ - **Mid-training:** the last 3.5T tokens use curated, higher-quality data with a larger share of agentic traces and tool calls. This stage also extends the context window to 256K tokens.
668
+
669
+ <img src="https://huggingface.co/LiquidAI/LFM3-1.7B/resolve/main/assets/lfm3-post-training-recipe.webp" alt="LFM3-1.7B post-training recipe: the student goes through SFT and mixed RL, specialist RL teachers such as math, code, and tool RL start from the mixed RL checkpoint, MOPD distills them back into the student, and agentic RL comes last." width="2000" height="924" style="width: 100%; max-width: 2000px; height: auto;" />
670
+
671
+ **Post-training:** four stages develop conversation, reasoning, and tool-use capabilities.
672
+
673
+ - **Supervised fine-tuning (SFT):** 1.75T tokens across various tasks, including chat, reasoning, tool calling, and agentic traces.
674
+ - **Mixed reinforcement learning:** many domains trained at once, from math and code to SQL and structured outputs. A length penalty in the reward keeps answers concise.
675
+ - **Multi-domain on-policy distillation (MOPD):** six specialist RL teachers (code, math, tool use, long context, agentic work, and enterprise workflows) are distilled back into a single model.
676
+ - **Agentic RL:** tasks from web browsing to office work are run inside real agent harnesses, preparing the model for deployment.
677
+
678
+ ## Citation
679
+ <hr style="margin: -0.7em 0 1.2em 0; border: 0; border-top: 1px solid rgba(127, 127, 127, 0.3);" />
680
+
681
+ ```bibtex
682
+ @article{liquidAI2026LFM3,
683
+ author = {Liquid AI},
684
+ title = {Introducing LFM3: Every Modality for Specialized Intelligence},
685
+ journal = {Liquid AI Blog},
686
+ year = {2026},
687
+ note = {www.liquid.ai/blog/lfm3},
688
+ }
689
+ ```
690
+
691
+ For questions and feedback, join [Discord](https://discord.com/invite/liquid-ai). For custom deployment and fine-tuning support, [contact Liquid AI](https://www.liquid.ai/connect?utm_source=huggingface&utm_medium=referral&utm_campaign=huggingface).
assets/lfm3-edge-inference.webp ADDED

Git LFS Details

  • SHA256: ac73ebf33a4ea9aa3191d64f28d10a3ed51531dfa5442390071b876ae1b37ea4
  • Pointer size: 131 Bytes
  • Size of remote file: 214 kB
assets/lfm3-gpu-throughput-b300.png ADDED
assets/lfm3-post-training-recipe.webp ADDED
assets/lfm3-pre-training-recipe.webp ADDED
assets/liquid-ai-banner.webp ADDED