/ Модель

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

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

qwen3-embedding-0.6b-german-categories-coopfix

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

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

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

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

Модель разработана andyP как дообученная версия Qwen3-Embedding-0.6B для отнесения уставной цели швейцарской компании к подходящим категориям бизнеса на немецком языке. Она кодирует цель компании с инструкцией-запросом, а описания категорий — без неё, после чего категории ранжируются по косинусному сходству. Модель содержит 507,6 млн параметров, использует архитектуру Qwen3 и поддерживает контекст до 32 768 токенов; веса опубликованы в формате safetensors.

В этой версии исправлена часть обучающих меток для жилищных кооперативов: на отдельном наборе из 24 таких компаний точность первой категории выросла с 0,167 до 0,625, а правильная категория вошла в топ-3 для всех примеров. На общей выборке из 3 000 целей качество близко к исходной версии. Модель предназначена для семантического поиска и ранжирования категорий по формулировкам из реестров швейцарских компаний; карточка указывает немецкий, французский и итальянский языки. Лицензия — Apache-2.0.

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

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

Ограничения

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

Qwen3-Embedding-0.6B — Swiss company purpose → German business categories (housing-cooperative fix)

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 a fixed set of German category descriptions by cosine similarity.

The only difference from the original model is a correction to the training data for housing cooperatives (Wohnbaugenossenschaften, coopératives d'habitation). The original model sent most of them to a spiritual/esoteric category; this one ranks them as real estate. Overall quality is unchanged.

What changed and why

An error analysis of the original model found that housing cooperatives were usually classified as Esoterik & Spirituelles instead of Immobilien & Wohnungen. The cause was in the training labels: 32 housing-cooperative purposes carried the esoteric label, outnumbering the correctly labeled cooperatives the model saw. Their typical wording ("in gemeinsamer Selbsthilfe", "gemeinnützig") was learned as a sign of that category.

For this model:

  • 24 cooperatives relabeled from the esoteric category (and one job-placement label) to real estate. These were purposes that clearly describe providing housing. Nine borderline cases, such as co-working, elderly care and artists' cooperatives, were left as they were.
  • 24 additional correctly labeled housing cooperatives added to training. They came from purposes the original run had skipped because of the per-category sampling cap.
  • Everything else is identical to the original run: data, sampling seed, hyperparameters, hard-negative mining.

Results

Comparison with the original model. Both were trained for one full epoch with identical settings.

Test setPurposesOriginal acc@1This model acc@1Original acc@3This model acc@3
Held-back housing cooperatives240.1670.6250.9581.000
Held-out eval, all3,0000.6620.6650.8670.866
Held-out eval, German2,2560.6420.6460.8570.856
Held-out eval, French5550.7330.7280.9040.904
Held-out eval, Italian1890.6880.7040.8780.868
Purposes neither run trained on55,0150.6070.6010.8610.862
  • Housing cooperatives. On 24 cooperatives that were in neither run's training data, correct top-1 predictions went from 4 to 15. Cooperatives sent to the esoteric category dropped from 19 to 7, and the correct category is now always in the top 3.
  • Everything else is within half a point of the original on the large test sets. The Italian set differs by 1.6 points, but it has only 189 purposes. Differences this small can come from the changed data order alone.

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

MetricBase modelOriginal fine-tuneThis model
Accuracy@10.3890.6630.664
Accuracy@30.5980.8670.865
Accuracy@50.6730.9130.913
NDCG@100.5730.8180.816

Usage

Identical to the original model: purposes are encoded with the query prompt, and category descriptions without one.

from sentence_transformers import SentenceTransformer

model = SentenceTransformer("andyP/qwen3-embedding-0.6b-german-categories-coopfix")

# Category descriptions in the training format (illustrative; the training taxonomy is not distributed)
categories = {
    "Immobilien & Wohnungen": "Immobilien & Wohnungen. Unternehmen für Vermittlung, Vermietung und Verwaltung von Wohnliegenschaften. Beispiele: Liegenschaftsverwaltung, Vermietung, Immobilienbewertung",
    "Treuhand & Buchhaltung": "Treuhand & Buchhaltung. Unternehmen für Buchführung, Steuerberatung und Lohnadministration. Beispiele: Jahresabschluss, Steuererklärung, Lohnbuchhaltung",
}
purposes = ["Die Genossenschaft bezweckt, in gemeinsamer Selbsthilfe ihren Mitgliedern preisgünstigen Wohnraum zu verschaffen."]

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: 

Category texts follow the pattern <Name>. <One-sentence description> Beispiele: <example>, <example>, .... See the original model card for details on the category format, the training method and score thresholds.

Training

Same setup as the original model:

  • Loss: MultipleNegativesRankingLoss with in-batch negatives plus one mined hard negative per pair (margin-filtered).
  • Schedule: batch 32, learning rate 2e-5 with a cosine schedule, one epoch (1,980 steps).
  • Inputs: max length 384 tokens, fp32, on Apple Silicon.

There are 63,340 training triplets, including the 48 cooperative rows described above.

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

StepAcc@1Acc@3Acc@5NDCG@10
0 (base)0.3890.5980.6730.573
5000.5820.8140.8830.764
10000.6450.8580.9030.804
15000.6570.8620.9120.813
19800.6640.8650.9130.816

This run trailed the original by about 5 points at step 500 but matched it by the end. Mid-training comparisons between runs whose data order differs are noisy; compare finished runs.

Limitations

  • Cooperative fix is partial. 7 of the 24 test cooperatives still go to the esoteric category, and other cooperatives in the training data may still carry wrong labels.
  • Small test set. The cooperative result rests on 24 purposes. The direction is clear, but the exact size of the gain is uncertain.
  • Limitations of the original model also apply. It is tuned to one style of German category description, labels are mostly single-category, and it covers only Swiss register purpose language.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей