/ Модель

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

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

LFM3-1.7B-sheetft

Генерация текстаТекст → текст5 профессий

Специализированная англоязычная модель, которая преобразует инструкции по электронным таблицам в проверяемые JSON-патчи ячеек или отказывается от правки при нехватке данных.

148скачиваний за 30 дней2лайкавеса обновлены17 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

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

EbukaGaus/LFM3-1.7B-sheetft — дообученная модель на базе LiquidAI/LFM3-1.7B, созданная для редактирования электронных таблиц по текстовым инструкциям. Она принимает сериализованное представление листа в формате «адрес ячейки → значение» и возвращает JSON с адресами ячеек и новыми значениями либо отказывается от редактирования, если данных недостаточно. Модель предназначена для поиска и объединения данных в таблицах, исправления формул, агрегации, классификации по правилам и нормализации дат.

Модель использует архитектуру LFM3 и содержит около 1,6 млрд параметров; метаданные указывают контекст до 262 144 токенов. README описывает дообучение LoRA с рангом 32, затем слияние адаптера с весами bf16. Модель работает в одношаговом текстовом протоколе на английском языке и не открывает и не сохраняет файлы XLSX самостоятельно: приложение должно сериализовать лист и применить полученный патч. Внутренние оценки показывают улучшение точности правок относительно базовой модели, но также выявляют ошибки при крупных суммах и склонность выдумывать правки в неразрешимых случаях. Это специализированная модель, а не универсальный чат-бот. Лицензия указана как other; конкретные условия в предоставленных данных не раскрыты.

Сценарии применения

  • поиск значения в таблице и перенос его в заданную ячейку
  • объединение данных из нескольких таблиц по ключу
  • исправление формул в электронных таблицах
  • агрегация значений в таблицах
  • классификация строк по заданным правилам
  • нормализация дат в ячейках
  • отказ от правки, если в таблице не хватает данных

Ограничения

Модель хуже справляется с точной арифметикой для сумм из нескольких крупных чисел и может выдумывать правки, когда таблица не содержит ответа. Она рассчитана на английский язык и одношаговый текстовый протокол; файлы XLSX должен обрабатывать хост приложения.

Для каких профессий подходит5

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

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

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

Открыть на Hugging Face

LFM3-1.7B-sheetft

A LoRA fine-tune of LiquidAI/LFM3-1.7B that turns spreadsheet instructions into executable cell patches: it reads a sheet serialised as address→value lines and replies with one JSON object holding the exact cells to change, or declines when the sheet cannot support the edit.

It is trained in the style of Decide's DAX-1: single-turn, structured patch output, execution-based verification (never an LLM judge), and no guessing.

Response contract

{
  "status": "edited" | "declined",
  "edits": {"B7": 43, "C2": "A"},
  "reason": "<why, only when declined>"
}

Rules the model was trained on:

  • edited only when every edit is supported by the sheet.
  • declined when information is missing (missing key, empty or gapped range, unparseable value, missing score), with the explanation in reason.
  • edits holds only the cells the task asked to change; no collateral writes.
  • Plain values by default; formulas only when asked to repair one, in canonical form (=SUM(B2:B6)).

Prompt shape: "You are editing a spreadsheet. Here is the sheet:\n\nA1: Item\nB1: Amount\n..." followed by Task: ..., the contract, and the decision rule. Addresses are canonical uppercase; blank cells are omitted; sheets are serialised row-major; multi-sheet workbooks use SheetName!A1 keys. A full prompt is included in prompt_template.txt.

Training

itemvalue
baseLiquidAI/LFM3-1.7B (instruct)
methodLoRA (r=32, α=64, dropout 0.05, all-linear), merged to bf16
schedule2 epochs, lr 5e-5 cosine, effective batch 16, max length 2560
calibration1 extra epoch on a 50/50 decline/edit mix, lr 3e-5
lossescompletion-only (prompt masked)

Data mix (declines ≈ 22.6% of the weighted mix):

sourcetasksnotes
synthetic sheetft families3,315lookup (single table + join), formula repair, aggregation, classification rules, date normalisation, plus decline cases
SpreadsheetBench 912761real .xlsx workbooks, real instructions; supervised on the input→answer cell diff
FinQA train311real financial tables, program-verified addition; includes QA-shaped decline twins
TAT-QA train2,149real financial tables with large magnitudes, $ and thousands separators; includes decline twins

Public data was used for training only; evaluation below includes official held-out splits of those sources. Dataset licences are the responsibility of their publishers; check them before redistributing converted data.

Evaluation

All numbers are greedy decoding (temperature 0), one attempt, exact-match verification by applying edits to the workbook and comparing every cell.

Spreadsheet editing (in-distribution, 585 tasks)

metricbase LFM3-1.7Bthis model
strict pass30.9%75.9%
parse success95.0%100%
status accuracy84.9%100%
collateral writes5.5%0.0%
lookup / formula / date54.4 / 52.2 / 86.7%100 / 100 / 100%
classification / aggregation3.0 / 1.7%80.0 / 36.7%

Hand-written held-out set (20 tasks, novel layouts and wording)

basethis model
56.2%70.0%

Fresh held-out data (815 tasks, never trained on)

subsetnbasethis model
TAT-QA dev2110.0%34.1%
TAT-QA test-gold1950.0%36.9%
FinQA dev (pure addition)180.0%11.1%
FinQA dev (any operation)910.0%19.8%
synthetic, unseen seed30039.7%84.7%
overall81514.6%51.3%

Collateral writes on fresh data: 0% for this model vs 22–43% for the base.

PLUMB grounding benchmark (96 tasks, greedy decoding)

metricbasethis model
fabrication rate ↓0.0%31.2%
silent-guess rate ↓0.0%0.0%
collateral write rate ↓12.5%6.2%
over-refusal rate ↓50.0%14.1%
completion rate ↑35.9%39.1%
parse success ↑96.9%100.0%

Usage

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "EbukaGaus/LFM3-1.7B-sheetft"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, dtype=torch.bfloat16, device_map="auto")
model.eval()

messages = [{"role": "user", "content": prompt}]  # see prompt_template.txt
ids = tok.apply_chat_template(
    messages, tokenize=True, add_generation_prompt=True,
    enable_thinking=False, return_tensors="pt",
).to(model.device)

with torch.no_grad():
    out = model.generate(ids, max_new_tokens=256, do_sample=False,
                         pad_token_id=tok.eos_token_id)

print(tok.decode(out[0][ids.shape[-1]:], skip_special_tokens=True))

The chat template ships as chat_template.jinja; load it explicitly if your transformers build does not pick it up:

tok.chat_template = open("chat_template.jinja").read()

For production serving, constrained JSON decoding raises parse success to 100% (this is how the evaluations above were served). A permissive schema that fits both the sheetft and PLUMB contracts:

schema = {
  "type": "object",
  "properties": {
    "status": {"type": "string"},
    "answer": {"type": ["string", "number", "null"]},
    "edits": {"type": "object",
              "additionalProperties": {"type": ["string", "number", "null"]}},
    "reason": {"type": ["string", "null"]},
  },
  "required": ["status"],
  "additionalProperties": False,
}

Limitations

  • Arithmetic at scale. Exact sums of 4–7 operands at 5–7 digits are the main residual error source (aggregation 36.7% strict pass). This is a 1.7B capacity limit, not a format issue; DAX-1 used a 14B base.
  • Fabrication trade-off. Training on real question-answering tables raised real-table capability (0% → ~31% on held-out real edits) but also raised fabrication on unanswerable questions (PLUMB 0% → 31.2%). A synthetic-only variant with no public QA data trades ~20 points of real-table capability for 0% fabrication.
  • English only, single-turn, text protocols. The model does not read or write .xlsx files itself; the host serialises the sheet and applies the patch.
  • Not a general chat model; it is tuned for the patch contract.

Licence

Derivative of LiquidAI/LFM3-1.7B, distributed under the LFM Open License v1.0 (see LICENSE). The base model's terms apply to this model and its outputs; review them before commercial use. Training included public research datasets (SpreadsheetBench, FinQA, TAT-QA); their terms apply to those portions of the training data.

Files

  • model.safetensors — merged bf16 weights
  • adapter/ — the LoRA adapter (r=32, α=64)
  • train_metrics.json — loss history and calibration summary
  • prompt_template.txt — the exact prompt the model was trained on

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

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

GPU в ailist

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

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

Модели нужен код из репозитория; запуск откроется после проверки совместимости.

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

0 моделей