/ Модель

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

Лицензия
Своя лицензия
Архитектура
lfm3_ts · dense
Базовая модель
LFM3-1.7B
Библиотека
transformers
Опубликована
18 ноя 2026

LFM3-TS

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

LFM3-TS — компактная диалоговая модель для анализа временных рядов и ответов на вопросы о трендах, сезонности, значениях и аномалиях.

583скачиваний за 30 дней0лайковвеса обновлены19 ноя 2026

Бенчмарки

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

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

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

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

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

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

LFM3-TS — модель для диалога о временных рядах, созданная Nardi Xhepi на основе LFM3-1.7B от Liquid AI. Это независимый проект, не связанный с Liquid AI. Модель объединяет языковую модель с энкодером временных рядов и предназначена для ответов на вопросы об одном или нескольких рядах: трендах, сезонности, шуме, локальных изменениях, значениях и аномалиях.

Модель содержит 1,8 млрд параметров. Энкодер разбивает ряд на фрагменты по 8 точек и состоит из четырёх полносвязных и двух attention-слоёв; MLP-проектор переводит представления в размерность языковой модели. Языковая часть дообучена почти полностью, кроме эмбеддингов токенов. Ряды стандартизируются для энкодера, а смещение и масштаб передаются в текстовом запросе, чтобы модель могла отвечать реальными значениями. Поддерживается работа с рядами длиной до 2048 точек; интерфейс принимает данные ряда и текстовый вопрос и выдаёт текстовый ответ. Карточка указывает английский язык.

В тестах на ChatTS модель показала результаты, близкие к ChatTS-8B при значительно меньшем размере, а на отдельной проверке обнаружения аномалий превзошла его по F1. При этом точность чтения конкретных значений ограничена: значение попадало в заданную окрестность в 57% случаев. Лицензия в метаданных обозначена как other; конкретные условия следует сверять с карточкой модели.

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

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

Ограничения

Точность чтения значений ограничена: в приведённой оценке ответ попадал в пределах четверти стандартного отклонения в 57% случаев. Метаданные обозначают лицензию как other, поэтому условия использования нужно проверять в карточке модели.

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

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

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

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

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

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

Открыть на Hugging Face

LFM3-TS

A small language model you can chat with about time series. You give it one or several series and a question, and it answers in text.

LFM3-TS is LFM3-1.7B from Liquid AI with a time-series encoder in front, built on the ideas and the synthetic data of ChatTS (Xie et al., VLDB 2025). It has 1.8 billion parameters.

This is an independent project, not affiliated with Liquid AI.

What you can ask about:

  • Trend: the direction, the starting value, and how much it changes.
  • Seasonality: whether there is a period, how long it is, and its amplitude.
  • Noise: whether the series is noisy, and how much.
  • Local changes: spikes, drops, level shifts and the like, with their position and amplitude.
  • Values: the value at a point, or the lowest and highest value of a stretch.
  • Several series: which ones have the same shape, or change at the same time.
  • Anomalies: whether something is unusual for this series, where, and what it looks like.

How to use

pip install -U "transformers>=5.23"

You also need PyTorch and NumPy. LFM3 was added to transformers in version 5.23; on Colab, which already has PyTorch, run only the line above and restart the runtime.

import numpy as np
from transformers import AutoModelForCausalLM, AutoProcessor

model = AutoModelForCausalLM.from_pretrained("nardi/LFM3-TS", trust_remote_code=True)
processor = AutoProcessor.from_pretrained("nardi/LFM3-TS", trust_remote_code=True)

series = np.sin(np.arange(512) / 8)
series[300] += 4  # a spike

print(model.chat(processor, series, "Is there an anomaly in this time series? If so, where is it and what does it look like?"))

series is a 1D array or list, or a list of them for several series (NaN marks a missing value). Points are numbered from 0. The model was trained on series of up to 2,048 points, in English.

Model

Language modelLFM3-1.7B, every weight fine-tuned except the token embeddings
Time-series encoderpatches of 8 points, 4 feed-forward and 2 attention layers, width 1024
ProjectorMLP to the width of the language model (2048)
Tokens per seriesone per patch, plus 2: a series of 512 points costs 66 tokens
Parameters1.8 billion

The series is standardized for the encoder, and its offset and scale are written in the prompt as text, so the answers can give real values.

Results

General understanding: the ChatTS benchmark (sets A and B). It asks about trend, seasonality, noise, local changes, and the relations between several series. Scored with the scoring code of the ChatTS repository:

ParametersSet A, categoricalSet A, numericalSet B, categoricalSet B, numerical
LFM3-TS1.8B82.0%77.5%79.5%76.8%
ChatTS-8B8B83.8%82.3%84.6%82.9%
LFM3-1.7B, numbers as text1.7B10.4%4.0%14.2%3.0%

One task in detail: anomalies in real series. 234 windows of 512 points from seven sources of TSB-AD-U that neither model was trained on (105 with a labelled anomaly, 129 without). An answer is correct when it says "yes" and names a point within 16 points of the labelled stretch.

ParametersPrecisionRecallF1False alarms
LFM3-TS1.8B66%64%0.6528 of 129
ChatTS-8B8B40%53%0.4661 of 129
LFM3-1.7B, numbers as text1.7B1%1%0.01111 of 129

Reading values: asked for the value at a point of a real series, LFM3-TS is within a quarter of a standard deviation 57% of the time (median error 0.18 standard deviations).

Training

Three stages, each starting from the weights of the one before: generated questions that can only be answered by reading the series; the same questions on series of up to 2,048 points; then a mixture of ChatTS synthetic data (48%), generated questions (19%), plain chat (15%), real series with labelled anomalies (10%) and real series with an event put in (8%). The commands are in the code repository.

Licence

LFM3-TS is released under the LFM Open License v1.0, the licence of LFM3-1.7B, which the weights derive from. See NOTICE for what was changed and for the sources and licences of the training data.

Credits

LFM3-1.7B (Liquid AI) · ChatTS (Xie et al.) · TSB-AD (Liu and Paparrizos) · databricks-dolly-15k · Hugging Face Transformers

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

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

GPU в ailist

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

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

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

Класс архитектуры
Lfm3TsForConditionalGeneration
Ревизия весов
a789038

0 моделей