/ Модель

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

Лицензия
Своя лицензия
Библиотека
litert
Опубликована
17 июл 2026

gist

Классификация текстаТекст → label6 профессий

Gist — мультиязычная модель Desert Ant Labs для многометочной классификации коротких публикаций по 36 темам с запуском на устройстве.

1 016скачиваний за 30 дней14лайковвеса обновлены25 ноя 2026

Бенчмарки

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

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

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

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

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

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

Gist — мультиязычная модель Desert Ant Labs для присвоения тем и тегов публикациям, статьям, заголовкам и описаниям. Она относит текст к одной или нескольким из 36 фиксированных тем и рассчитана на работу непосредственно на устройстве: классификатор использует статические эмбеддинги и хешированные n-граммы, без трансформера во время инференса. Мультиязычная версия весит 74 МБ; доступны сборки для Core ML и LiteRT/TFLite.

Модель поддерживает 101 язык и выдаёт вероятности для каждой темы. Она предназначена прежде всего для коротких текстов, обычно присваивая им две или три темы; оценки можно агрегировать для определения тематик канала или ленты. Темы связаны с таксономиями IAB Content Taxonomy 2.2 и Apple Podcasts. В проверке README результат recall@3 составил 91% на размеченной выборке из 572 публикаций. Лицензия в метаданных обозначена как other; конкретные условия использования здесь не раскрыты.

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

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

Ограничения

Лучше всего работает на коротких текстах и выбирает темы только из фиксированной таксономии из 36 категорий. Заявленная точность recall@3 основана на проверке 572 публикаций, а конкретные условия лицензии в предоставленных данных не раскрыты.

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

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

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

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

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

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

Открыть на Hugging Face

Gist

Generate topics and tags for posts and articles.

Multilingual on-device content topic tagging across a 36-topic taxonomy.

PlatformsiOS, macOS, tvOS, visionOS, Android, Linux, Windows, Browser, Node
Languages101
Weightsv2.2.0
Demohttps://desertant.com/models/gist/

Pass Gist a title, a post or a longer description and get its topics back, from a fixed list of 36, across 101 languages. A compact two-stream classifier (static embedding + hashed n-grams), with no transformer at inference. The deployable model is 74MB (int8 vocab-pruned multilingual embedding + a small fp16 head) and runs fully on device with zero per-call cost. Multi-label by design: most items carry two or three topics, and per-item scores can be aggregated across a collection (for example into channel- or feed-level topics).

"How to film a two-person podcast with two iPhones" → technology, creator-economy · "Cómo invertir en fondos indexados" → finance · "Tips for adopting a rescue dog" → pets-animals · "投资指数基金入门" → finance

Try it

Install

Swift (requirements)

.package(url: "https://github.com/Desert-Ant-Labs/desert-ant-core.git", from: "6.0.0")

Then add the Gist product to your target.

Kotlin (requirements)

implementation(platform("ai.desertant:bom:6.0.0"))
implementation("ai.desertant:gist")

JavaScript (requirements)

npm i @desert-ant-labs/gist @litertjs/core   # browser
npm i @desert-ant-labs/gist                  # Node, prebuilt native core

Usage

Swift

import Gist

let gist = Gist()
let topics = try await gist.classify("How to start a podcast with just your iPhone")
// [Topic(slug: "technology", name: "Technology & Software", score: 0.93), ...]

classify accepts topK, which defaults to 3, and threshold, which defaults to the model's tuned threshold. scores gives you the score of every topic instead. To find the main topics of a channel, pass the topics of each post to channelTopics:

let all = try await gist.scores(of: text)        // [String: Double], 36 entries

let posts = titles.map { PostTopics(topics: ..., timestampMillis: ...) }
let channel = channelTopics(posts, options: RollupOptions(topN: 5))
// [ChannelTopic(slug: "technology", share: 0.41, postCount: 12), ...]

channelTopics is a pure function and runs no model. Recency decay stays off until you pass both halfLifeDays and nowMillis.

Kotlin

import ai.desertant.gist.Gist

Gist(context).use { gist ->
    val topics = gist.classify("How to start a podcast with just your iPhone")
    // List<Topic>: slug, name, score
    val all = gist.scores(text)                  // Map<String, Double>
}

JavaScript

import { Gist } from "@desert-ant-labs/gist";           // browser
// import { Gist } from "@desert-ant-labs/gist/native"; // server-side Node

const gist = await Gist.load();
const topics = await gist.classify("How to start a podcast with just your iPhone");
// [{ slug: "technology", name: "Technology & Software", score: 0.93 }, ...]
gist.dispose();

The JavaScript package also exports channelTopics, with the same behavior as the Swift SDK:

import { Gist, channelTopics } from "@desert-ant-labs/gist";

channelTopics(posts, { topN: 5 });
// [{ slug: "technology", share: 0.41, postCount: 12 }, ...]

Choosing a variant

For English and Latin-script text, the English-only build is 15MB, against 74MB for the multilingual build. Only the Swift SDK can select the English build:

let gist = Gist(variant: .english)

Files

FileFormatSizeContents
gist_embedding.i8 + .jsonint8 static embedding64MB101-language static embedding, the semantic feature extractor
gist.mlmodelcCore ML6MBThe classifier head on Apple platforms: fused features → 36 topic probabilities
gist.tfliteLiteRT13MBThe same head, float32, on Android, Linux, Windows, Node, and the web
gist_tokenizer.binUnigram4MBThe multilingual tokenizer
gist_config.jsonJSONtinySlugs, feature dims, threshold
taxonomy.jsonJSON8KBThe 36 topics (slug, name, description, IAB and Apple category)

Inputs and outputs

Pass a plain text string: a title, or a title and a description. Gist works best on short text like posts, titles and descriptions.

Gist gives each of the 36 topics a probability (features [1, 8448] → topic_probs [1, 36]). Keep the top-k topics above the threshold in gist_config.json. Gist is tuned to tag each item with 2-3 topics, which you can then combine across a channel with channelTopics.

Topics and standard taxonomy

The 36 topics map to two industry-standard taxonomies, so you can roll up Gist output or join it into existing systems. One is IAB Content Taxonomy 2.2, with each node's stable integer ID. The other is Apple Podcasts categories. The full, machine-readable crosswalk ships in the Hugging Face repo as taxonomy_crosswalk.json. For example, law maps to IAB 383 News & Politics › Law, crafts-hobbies to IAB 248 Arts and Crafts, and finance to IAB 391 Personal Finance.

Five topics have no dedicated IAB 2.2 node, and the crosswalk flags them as Gist extensions. society-culture, creator-economy and outdoors-nature map to a nearest parent. history and self-improvement have no IAB node. film-tv rolls up IAB Movies and Television.

Languages

Gist tags topics in 101 languages. A 15-language spot check across Latin, Cyrillic, Arabic, CJK, Devanagari, Hebrew, Thai and Greek scripts gives 88% top-3. CJK, Arabic and Cyrillic scripts match or beat the Latin ones.

Model variants

The Hugging Face repo holds two builds of the same 36-topic model:

VariantLocationSizeCoverage
Multilingual (default)repo root74MB101 languages
English-onlyen/15MBEnglish and Latin script only

The English build is the same model with a smaller embedding and tokenizer. On English input, the English build gives the same topics as the multilingual build. The English build doesn't cover non-Latin scripts (CJK, Arabic, Cyrillic, …). Use the English build only when the input is reliably English or Latin script.

The JavaScript and Kotlin SDKs load only the multilingual build.

Evaluation

We measured recall on a held-out set of 572 real posts, labeled by people across the 36 topics. The LLM and the zero-shot classifiers ran zero-shot. Each embedding classifier got a light logistic head. Recall@3 matters most, because apps use the top few topics of each post.

ModelTypeSizerecall@1recall@3
Qwen2.5-7B (cloud)LLM zero-shotserver79%n/a
multilingual-e5-small + headtransformer embed110MB74%92%
bge-small-en + headtransformer embed130MB71%92%
Giston-device74MB71%91%
all-MiniLM-L6-v2 + headtransformer embed90MB68%90%
mDeBERTa-v3-mnli-xnlizero-shot NLI560MB50%73%
GLiClass-basezero-shot400MB44%65%

Gist scores 91% recall@3, one point behind the best small models at 92%. Gist is 74MB, against 110-130MB for those two models, and runs in one on-device pass. Gist beats every zero-shot classifier on recall@3 by 18 points or more. Those classifiers never learned the taxonomy or the distribution of posts. Qwen2.5-7B, a cloud LLM, is the only model with a clear lead on recall@1: 79% against 71%.

License

Desert Ant Labs Source-Available License. Free for most apps, and a commercial license is required at scale. Full terms are at the link. Licensing: licensing@desertant.com.

Third-party notices for the weights: THIRD_PARTY_NOTICES.md.

Citation

@software{gist_2026,
  title  = {Gist: Multilingual on-device content topic tagging across a 36-topic taxonomy},
  author = {Desert Ant Labs},
  year   = {2026},
  url    = {https://huggingface.co/desert-ant-labs/gist},
}

© 2026 Desert Ant Labs · https://desertant.com

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

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

GPU в ailist

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

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

В репозитории нет config.json: не понять архитектуру модели.

Ревизия весов
c7a070c

0 моделей