/ Модель

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

Контекст
32 768 токенов
Параметры
508 млн
Лицензия
Apache 2.0
Архитектура
qwen3 · dense
Базовая модель
Qwen3-Embedding-0.6B
Библиотека
sentence-transformers
Опубликована
16 окт 2026

qwen3-embedding-0.6b-german-categories-longdesc

ЭмбеддингиТекст → embedding3 профессии
24скачиваний за 30 дней0лайковвеса обновлены16 окт 2026

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

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

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

andyP/qwen3-embedding-0.6b-german-categories-longdesc — это дообученная модель на базе Qwen/Qwen3-Embedding-0.6B, разработанная для сопоставления формулировок уставной цели швейцарской компании с бизнес-категориями. Она кодирует цель компании с инструкцией-запросом, а описания категорий — без неё, после чего категории ранжируются по косинусному сходству эмбеддингов. Модель рассчитана на длинные немецкоязычные описания категорий: при обучении использовались первые 384 токена каждого текста.

В тесте на 3 000 целей компаний модель достигла точности 64,6% для первой категории и 86,0% для трёх лучших категорий. Она лучше базовой модели без дообучения и показывает преимущество на целях, связанных с недвижимостью, однако исходная версия, обученная на коротких описаниях категорий, в целом точнее. Модель реализована на архитектуре Qwen3, содержит около 507,6 млн параметров, поддерживает контекст до 32 768 токенов и распространяется в формате safetensors. Лицензия — Apache-2.0.

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

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

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

Ограничения

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

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

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

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Бенчмарки пользователейпока нет

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

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

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

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

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

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

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

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

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

Открыть на Hugging Face

Qwen3-Embedding-0.6B — Swiss company purpose → German business categories (long descriptions)

A variant of andyP/qwen3-embedding-0.6b-german-categories, fine-tuned from Qwen/Qwen3-Embedding-0.6B. It maps the statutory purpose ("Zweck" / "but" / "scopo") of a Swiss company to the business categories it belongs to, by ranking German category descriptions by cosine similarity.

The only difference from the original model is the category text it was trained to match. The original uses a short text: name, one-sentence description and ten examples, about 130 tokens. This model uses the category name plus a long, multi-paragraph description of about 1,000 tokens, of which the first 384 tokens are used.

Which one to use: the original model scores higher overall. Use this one if your category definitions are long prose descriptions rather than short example lists.

Results

Comparison with the original model. Each model is evaluated with the category text it was trained on, and both were trained for one full epoch with identical settings.

Test setPurposesOriginal acc@1This model acc@1Original acc@3This model acc@3
Held-out eval, all3,0000.6620.6460.8670.861
Held-out eval, German2,2560.6420.6280.8570.854
Held-out eval, French5550.7330.7080.9040.892
Held-out eval, Italian1890.6880.6770.8780.857
Purposes neither run trained on55,0150.6070.5800.8610.849
Housing cooperatives (held back)240.1670.5830.9581.000

Full held-out metrics (3,000 purposes, 100 categories):

MetricBase model, long textBase model, short textOriginal fine-tuneThis model
Accuracy@10.4620.3890.6630.646
Accuracy@30.6770.5980.8670.860
Accuracy@50.7500.6730.9130.911
NDCG@100.6440.5730.8180.807
  • Head start that doesn't last. Before fine-tuning, long descriptions work better than short ones (top-1 0.462 vs 0.389). After fine-tuning, the short-text model ends 1.7 points ahead. Most of each long description in our data is shared template text, which makes categories harder to tell apart once the model learns from labels.
  • Real estate is a bright spot. Long descriptions handle real-estate purposes better, including housing cooperatives, which the original model mostly misclassified.
  • Cost. Training took about 60% longer (5 h vs 3 h 07 m on Apple Silicon), and every category embedding is computed from 384 tokens instead of about 130.

Usage

Purposes are encoded with the query prompt; category texts are encoded without a prompt, as <Name>. <long description>.

from sentence_transformers import SentenceTransformer

model = SentenceTransformer("andyP/qwen3-embedding-0.6b-german-categories-longdesc")
model.max_seq_length = 384  # as in training; longer descriptions are cut here

# Illustrative long description; the training taxonomy is not distributed.
categories = {
    "Treuhand & Buchhaltung": (
        "Treuhand & Buchhaltung. Die Kategorie erfasst Unternehmen, deren Schwerpunkt in Buchführung, "
        "Steuerberatung und Lohnadministration liegt. Typische Tätigkeiten sind die Führung von Finanzbuchhaltungen, "
        "die Erstellung von Jahresabschlüssen und Steuererklärungen sowie die Lohnbuchhaltung für KMU. "
        "Zum erweiterten Leistungsspektrum zählen Firmengründungen, Revisionen und Nachfolgeberatung. "
    ),
}
purposes = ["Die Gesellschaft bezweckt die Führung von Buchhaltungen und die Erbringung von Treuhanddienstleistungen."]

q = model.encode(purposes, prompt_name="query", normalize_embeddings=True)
d = model.encode(list(categories.values()), normalize_embeddings=True)
print(model.similarity(q, d))

The query prompt is stored in the model config; written out, it is:

Instruct: Given the statutory purpose of a Swiss company, retrieve the business categories it belongs to
Query: 

Description style used in training. Each description opens by defining the category, then lists typical activities and an extended range of services, followed by general guidance on classification. Only the first 384 tokens are used, so put the category-specific activities early.

Training

Same setup as the original model:

  • Loss: MultipleNegativesRankingLoss with in-batch negatives plus one mined hard negative per pair. The hard negatives were mined with long descriptions.
  • Schedule: batch 32, learning rate 2e-5 with a cosine schedule.
  • Inputs: max length 384 tokens for both purposes and descriptions, fp32, on Apple Silicon.

There are 63,312 training triplets. Early stopping was enabled, ending the run after two evaluations without improvement. It never triggered: the model improved until step 1500 and held steady to the end of the epoch.

Evaluation trace on the 3,000 held-out purposes:

StepAcc@1Acc@3Acc@5NDCG@10
0 (base)0.4620.6770.7500.644
5000.5890.8110.8710.762
10000.6340.8500.9030.797
15000.6460.8600.9110.807
19790.6460.8600.9110.807

Limitations

  • Lower overall accuracy than the short-text original, by about 1.7 points top-1 on held-out data and 2.7 points on a larger never-trained set.
  • Tied to a description style. The model learned one specific style of long German category description, and prose in a very different style will score lower.
  • Limitations of the original model also apply. Labels are mostly single-category, so top-1 accuracy understates quality; it is trained only on Swiss register purpose language; and generic purposes carry little signal.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Qwen3Model
Ревизия весов
99c3105

0 моделей