/ Модель

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

Лицензия
Apache 2.0
Базовая модель
flan-t5-small
Библиотека
loom-py-rt
Опубликована
11 сен 2026

flan-t5-small-loom

Генерация текстаТекст → текст

Экспорт FLAN-T5 Small в GGUF для генерации текста по инструкциям и простых NLP-задач в loom.cpp.

68скачиваний за 30 дней0лайковвеса обновлены1 окт 2026

Бенчмарки

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

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

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

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

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

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

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

loom-ai-org/flan-t5-small-loom — экспорт Google FLAN-T5 Small для запуска в loom.cpp. Это модель архитектуры T5 типа encoder-decoder: кодировщик обрабатывает входной текст, а декодер генерирует ответ с использованием KV-кэша. В репозитории веса упакованы в один файл GGUF; README сообщает, что параметры не изменены относительно google/flan-t5-small. Модель содержит около 80 млн параметров и работает через библиотеку loom-py-rt.

Модель предназначена для генерации текста по инструкциям и простых задач NLP, например перевода, суммаризации и ответов на вопросы. Инструкцию следует включать непосредственно в текст запроса, например «translate English to German: …»; шаблона чата и отдельных системных сообщений нет. Заявлены английский, французский, румынский, немецкий и многоязычная поддержка. Экспорт рассчитан на последовательности длиной до 512 токенов на входе и выходе и использует жадное декодирование либо семплирование при заданной температуре.

Небольшой размер ограничивает точность: модель может правильно следовать форме инструкции, но выдавать фактически неверные ответы. Для перевода и суммаризации экспорт не использует заданный в исходной конфигурации beam search. Лицензия — Apache-2.0.

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

  • перевод коротких фраз по текстовой инструкции
  • суммаризация небольших текстов
  • ответы на простые вопросы по тексту
  • генерация текста по заданному формату
  • проверка интерфейса loom.cpp на компактной модели

Ограничения

При размере 80 млн параметров модель может следовать формату инструкции, но часто ошибается в содержании. Экспорт использует жадное декодирование вместо beam search и рассчитан на последовательности до 512 токенов с каждой стороны.

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

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

Открыть на Hugging Face

FLAN-T5 Small

Google's instruction-tuned T5-small, exported for loom.cpp. Family 6: text in, text out, through an encoder read once and a KV-cached decoder that cross-attends to it -- the first encoder-decoder TEXT model and the first SentencePiece Unigram vocabulary in this collection.

This is a loom.cpp export: a single self-describing GGUF that carries its own graph topologies, tokenizer (if any) and driver script, produced by loom-exporter.

Original model

Exported from google/flan-t5-small. Weights are unmodified; this repo packages the same parameters into loom.cpp's GGUF format.

License

apache-2.0, inherited from the base model above.

Language(s)

en, fr, ro, de, multilingual

Usage

Run it with loom-py -- loom-py-rt on PyPI:

pip install -U "loom-py-rt[hub]"
import loom

model = loom.Model.from_pretrained("loom-ai-org/flan-t5-small-loom")

# The instruction is part of the text -- this is an instruction-TUNED encoder-decoder, not a chat
# model, and it has no template to apply.
print(model.text2text.infer(
    "translate English to German: The weather today is cold and rainy in the north.",
    max_new_tokens=32))

# The same door, on the other tasks this checkpoint was tuned for:
print(model.text2text.infer("Answer the following question. What is the capital of France?"))
print(model.text2text.infer(
    "summarize: The committee met on Tuesday to discuss the annual budget. After three hours of "
    "debate, the members agreed to postpone the vote until the following month, citing incomplete "
    "figures from the finance office.",
    max_new_tokens=64))

The layer underneath

The call above is the high-level door: one per task, named for the modality pair it maps between, with the windowing, sampling and assembly this model needs already applied. Under it, model.infer(...) passes your arguments straight to the driver this GGUF embeds -- which is where you go for a knob the door does not name.

model.driver_source prints that driver, including a header comment documenting every argument it accepts for this model, and is the authority on it. See loom-py for the API and loom.cpp for what the engine does between the two.

Known limitations

It is 80M parameters, and it answers like it. flan-t5-small is the smallest member of the flan collection: it follows an instruction's SHAPE reliably and is often wrong about the content. Asked for the capital of France it says london, and transformers says the same thing on the same checkpoint -- that is the model, not the export. Use it to try the interface, and step up to flan-t5-base or larger for answers you intend to keep.

The instruction is part of the text. There is no chat template and no system turn; prompts look like translate English to German: ... or Answer the following question. ..., which is how the checkpoint was tuned. A bare sentence with no instruction is out of distribution and usually comes back as a fragment of itself.

Greedy, not beam search. The upstream config.json names 4 beams for its translation and summarization presets. The export decodes one token at a time from the argmax (or from the sampler, if you pass temperature=), so translations here are the greedy path through the same model rather than what the published presets would give.

Sequences are capped at 512 tokens on each side. T5 has no learned position table, so nothing in the file stops a longer source -- but its relative-position buckets saturate at 128 tokens of distance and the KV cache is built at 512, which is the length this export is honest about.

Files

  • flan-t5-small.gguf -- the model, exported with loom-exporter.

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

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

GPU в ailist

llama.cpp

Можно запустить

Подбираем GPU…

Ревизия весов
48e32a7

0 моделей