/ Модель

Характеристики

Контекст
262 144 токена
Параметры
1,6 млрд
Лицензия
Своя лицензия
Архитектура
lfm3 · dense
Базовая модель
LFM3-1.7B
Библиотека
transformers
Опубликована
28 ноя 2026

Triolet-1.7B

Генерация текстаТекст → текст
4 046скачиваний за 30 дней7лайковвеса обновлены2 дек 2026

Описание модели

Составлено на русском по карточке модели и метаданным Hugging Face

Русское описание этой модели ещё готовится. Пока можно заглянуть в карточку модели от автора ниже.

Публичные бенчмарки9

Результаты из открытых лидербордов в сравнении с лидерами каталога на 2 декабря 2026

Triolet-1.7B и топ-9 моделей каталога в каждом тесте

Цвет сравнивает модели внутри строки: чем темнее ячейка, тем лучше результат в этом тесте. Таблица листается вправо

  • хужелучше
  • лучший результат в тесте
  • Triolet-1.7B, эта модель
  • — нет результата
ТестTriolet-1.7Bэта модельDarwin-180B-RSIQwen3.6-35B-A3B-oQ8-mtpQuartz-R1-8B-GenesisDarwin-397B-ZTCDarwin-760B-RSISage-1.5-W4A16Darwin-28B-REASONDarwin-9B-NEGFINAL-Bench_Darwin-36B-Opus-GGUF
GPQA Diamondaccuracy38,994,44 — лучший результат—19,6493,4392,93—89,3984,3488,4
MATH-500accuracy83,6 — лучший результат——43,4——————
code_generation_litepass@127,4—53 — лучший результат———————
GSM8Kaccuracy90,1 — лучший результат—————0,9196———
MuSRaccuracy59,7 — лучший результат—————————
mmlu-redux-2.0accuracy70,3 — лучший результат—————————
Multi-IFaccuracy88,1 — лучший результат—————————

Топ-5 каталога и эта модель

Место — среди моделей каталога с результатом этого теста

GSM8K

Школьные арифметические задачи с рассуждением

1 из 2

90,1+89,2 ко второму месту

Один прогон

  1. 1Triolet-1.7B90,1
  2. 2Sage-1.5-W4A160,9196

Поднаборы

  • gsm8k 90,1
Hugging Face Eval Results

MuSR

1 из 1

59,7

Один прогон

Сравнить пока не с кем: в каталоге это единственный результат теста

Hugging Face Eval Results

mmlu-redux-2.0

1 из 1

70,3

Один прогон

Сравнить пока не с кем: в каталоге это единственный результат теста

Hugging Face Eval Results

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Triolet 1.7B

A 1.7B reasoning model with ternary weights (−1, 0, +1) that runs entirely in your browser: 355 MB, no server, works offline, 20.7 tokens/s on an iPhone 11.

Try it in your browser · Article (English) · Article (français) · Source code (engine and page) · Technical details

Triolet 1.7B is LiquidAI/LFM3-1.7B distilled into ternary weights at LISN (Université Paris-Saclay). It keeps most of its teacher's quality at about a tenth of its size, and scores higher than the larger Ternary-Bonsai-2-2B on all ten benchmarks we ran (on two of them, by less than one standard error), and far above Ternary-Bonsai-1.7B and BitNet b1.58 2B.

Mean score against deployed weight file size: Triolet 1.7B 67.3% at 354.5 MB, Ternary-Bonsai-2-2B 62.3% at 546.7 MB, Ternary-Bonsai-1.7B 46.1% at 463.3 MB, BitNet b1.58 2B 36.2% (8 benchmarks) at 1,187.8 MB, LFM3-1.7B BF16 78.0% at 3,457.6 MB.

Results

Same protocol for every model: EvalScope + vLLM, thinking on, temperature 0.6, top-p 0.95, up to 32,768 generated tokens, final answer graded. Standard errors in parentheses.

BenchmarkTriolet 1.7BTernary-Bonsai-2-2BTernary-Bonsai-1.7BBitNet b1.58 2B ²LFM3-1.7B (BF16)
IFEval92.1 (1.2)87.473.053.094.6
IFBench55.7 (3.0)48.219.112.468.4
Multi-IF (turn 1, strict)88.1 (0.5)82.864.6n/a91.7
GSM8K90.1 (0.8)81.765.370.493.5
MATH-50083.6 (1.7)78.451.642.697.0
MMLU-Redux70.3 (0.6)67.953.746.179.8
MuSR59.7 (1.8)59.047.837.861.2
GPQA Diamond38.9 (3.5)36.930.323.261.1
LiveCodeBench v627.4 (3.4)18.39.13.454.9
Mean of the nine67.362.346.136.2²78.0
HumanEval+ ¹89.0 (2.4)51.844.534.191.5

¹ Scored with the same script for all models and kept out of the mean: our audit found fragments of 7 HumanEval+ reference solutions in training prompts. Browser engine check: on 304 GSM8K, MATH-500 and IFEval questions put to both, the int8 browser engine solves as many as the BF16 reference (265 each; −5.5 / +6.3 / +2.1 points, none significant). Contamination audit, second-seed run and browser-engine fidelity are in TECHNICAL.md.

² BitNet b1.58 2B was run with llama.cpp at its native 4,096-token context without thinking; Multi-IF dialogues do not fit, so its mean covers eight benchmarks. Ternary-Bonsai-1.7B was capped at 30,720 generated tokens (32,768-token context). Chart sizes are the authors' distributed files (Q2_0 for Bonsai, i2_s for BitNet); accuracy is the BF16 reference checkpoint for Triolet.

Files

FileSizeUse
model.safetensors3.46 GBDense BF16, Transformers / vLLM
engine/Triolet-1.7B-QW35.bin + engine/tokenizer-lfm3-80k.bin354.5 MB + 3.9 MBC/WebAssembly browser engine, int8 activations (guide)
GGUF/0.86–3.47 GBllama.cpp: BF16, Q2_0 and PTQ1_0 (guide)
MLX/0.92 GBApple MLX (guide)

Quick start

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "Zual/Triolet-1.7B"
tokenizer = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(repo, trust_remote_code=True, dtype=torch.bfloat16)
messages = [{"role": "user", "content": "What is a triangle? Answer in one sentence."}]
inputs = tokenizer.apply_chat_template(messages, return_dict=True, return_tensors="pt",
                                       add_generation_prompt=True, enable_thinking=False).to(model.device)
output = model.generate(**inputs, max_new_tokens=64, do_sample=False)
print(tokenizer.decode(output[0, inputs["input_ids"].shape[-1]:], skip_special_tokens=True))
vllm serve Zual/Triolet-1.7B --trust-remote-code --dtype bfloat16   # vLLM ≥ 0.34

For reasoning tasks, set enable_thinking=True and allow a few thousand new tokens.

Frugal by design

  • To run: one 355 MB download, about 500 MB of memory in the browser, no server. It runs on a laptop or a phone — 20.7 tokens/s on an iPhone 11 (2019) — and keeps working offline.
  • To train: 1,238 H100 GPU-hours for the released model, all four stages included (666 for the three adaptation stages, 89 to generate the teacher's long reasoning traces, 483 for the final distillation on 16 GPUs for about 30 hours); about 1,470 with evaluations and abandoned experiments. That is at most 0.87 MWh for the GPUs (700 W each), roughly 43 kg CO2e on the French grid, or 2,500–3,700 USD at public cloud prices. Pre-training of the base model by Liquid AI is not included.

How it was made

Quantization-aware distillation in four stages. Three adaptation stages on 2,048-token sequences (short teacher answers to about 1.3 million public prompts, web text, then a short on-policy stage) are followed by the main one: the ternary student learns to match LFM3-1.7B's next-token distribution over its complete long reasoning traces, with simulated int8 activations, on 900,000 prompts (code, maths, science, instructions, long documents; training splits only), 18.4 billion tokens, 16 H100 GPUs on the Jean Zay supercomputer (IDRIS, GENCI). Each projection is stored as trits with one FP16 scale per 128 weights, behind a block Hadamard rotation; the tied embedding is ternary too.

This work was granted access to the HPC resources of IDRIS under the allocation 2026-A0201017402 made by GENCI. Luc Pommeret's PhD is funded by SCIAM under a CIFRE agreement (ANRT).

Limitations

  • On long coding problems the reasoning can run out of budget (47% unfinished on LiveCodeBench, versus 26% for Ternary-Bonsai-2-2B); on MATH-500 it finishes more often (8% versus 18%).
  • Like any small model it can state false facts; the browser demo can search Wikipedia to check.
  • Long contexts, languages other than French and English, and tool use were not evaluated.

License

Weights under the LFM Open License v1.0 inherited from LFM3-1.7B: open weights, not an open-source license; commercial use is limited to entities under USD 10 million in annual revenue. LFM3-1.7B was created by Liquid AI, Inc.; the ternary training, vocabulary pruning and release formats are modifications by LISN, described in NOTICE.

Citation

@misc{pommeret2026triolet,
  title        = {Triolet 1.7B: a ternary language model that runs in the browser},
  author       = {Pommeret, Luc},
  year         = {2026},
  organization = {LISN, Universit{\'e} Paris-Saclay},
  howpublished = {\url{https://huggingface.co/Zual/Triolet-1.7B}}
}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Нельзя запустить

MLX-модели работают только на Apple Silicon, на GPU NVIDIA они не запускаются.

Класс архитектуры
Lfm3ForCausalLM
Ревизия весов
8ecebd9

0 моделей