/ Модель

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

Лицензия
Apache 2.0
Библиотека
eurotender
Опубликована
19 окт 2026

eurotender-cpv-baseline

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

Линейная TF-IDF модель Since AI ранжирует коды CPV для европейских государственных закупок по заголовку и описанию тендера.

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

Бенчмарки

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

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

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

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

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

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

EuroTender CPV baseline — модель классификации от Since AI для подбора кодов Общего словаря закупок (CPV) к объявлениям о государственных закупках в Европе. Она принимает заголовок закупки и, при наличии, описание, затем ранжирует коды уровня раздела (2 цифры, 45 классов) или группы (3 цифры, 304 класса) и выдаёт калиброванные вероятности. Модель построена как линейная TF-IDF система со sparse CSR матрицами float32 и работает на CPU. Она обучена на 510 016 объявлениях TED за период с января 2024 по сентябрь 2025 года и оценена на более поздних данных.

Модель предназначена для помощи авторам и проверяющим закупочные объявления, маршрутизации и фильтрации тендеров по секторам, а также для исследований в области классификации закупочных текстов. README сообщает о поддержке текстов на языках ЕС и оценке на 22 официальных языках; метаданные перечисляют 21 код языка. В тестировании точность top-1 для разделов составила 82,1%, а для групп — 65,0%. Инференс рассчитан на CPU; пакетная обработка поддерживается.

Модель не предсказывает полные восьмизначные CPV-коды. Качество хуже на редких классах и различается по языкам; короткие или общие фрагменты могут приводить к уверенным ошибкам, а метки закупок содержат шум. Результаты следует проверять вручную: модель не предназначена для полностью автоматического кодирования или юридических выводов. Лицензия — Apache-2.0.

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

  • Подбор раздела CPV по заголовку тендера
  • Предложение группы CPV по описанию закупки
  • Маршрутизация тендеров поставщикам по сектору
  • Фильтрация европейских закупок по тематике
  • Предварительная классификация объявлений TED с проверкой специалистом

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

EuroTender CPV baseline

Suggests Common Procurement Vocabulary (CPV) codes for European public procurement notices, on a CPU. Accepts text in any EU language; evaluated on 22 of the 24 official languages.

Given the title (and optionally the description) of a tender, the model ranks CPV divisions (2-digit, 45 classes) and CPV groups (3-digit) with calibrated probabilities. It is trained on 510,016 contract notices published on TED between 2024-01-01 and 2025-09-30 and evaluated on 234,471 notices published after training data ends (2026-01-01 … 2026-09-30).

Built by Since AI · code: https://github.com/sinceaihq/eurotender · data: sinceaihq/eurotender-cpv

Quick start

pip install "eurotender @ git+https://github.com/sinceaihq/eurotender@v0.1.0"
from eurotender import predict_cpv

for p in predict_cpv("Development and maintenance of municipal IT systems", top_k=3):
    print(p.code, round(p.score, 3), p.label)

The package downloads config.json and model.safetensors (pinned to tag v0.1.0, 110 MB) on first use; group.safetensors (275 MB) only when a group prediction is first requested. Labels can be returned in any EU language (lang="fi", "de", …), batches are supported (predict_cpv([...])) and level="group" gives 3-digit suggestions. There is also a CLI: eurotender predict "Road resurfacing works".

Intended use

  • Suggesting CPV codes to people writing or screening tender notices.
  • Routing and filtering procurement opportunities by sector (e.g. alerting a supplier to new tenders in division 72 IT services).
  • A transparent, cheap baseline for research on procurement text.

Not intended for fully automatic coding without human review, for legal determinations, or for inferring anything about individual people.

Results

All numbers are from scripts/evaluate.py on the temporal test split; the model never saw any notice published after 2025-09-30. Novel only excludes test notices that duplicate or nearly duplicate a notice from the training or validation period (same text ignoring digits, or estimated character 5-gram Jaccard similarity ≥ 0.8) — buyers often re-tender the same thing every year, so "all" reflects real-world use and "novel only" is the harder, conservative number.

CPV division (2-digit, 45 classes), test split

subsetntop-1top-3top-5macro-F1weighted-F1ECE
all234,47182.192.094.267.181.50.049
novel only (90.3 % of test)211,76380.991.493.865.680.30.051

CPV group (3-digit, 304 classes), test split

subsetntop-1top-3top-5macro-F1weighted-F1
all234,47165.080.384.144.163.5
novel only211,76362.979.183.041.161.3

Group-level label coverage: 100.0 % of test notices have a group seen at least 10 times in training (the rest count as errors).

Baselines on the same test split (CPV division)

systemtop-1top-5macro-F1
majority class17.450.00.7
CPV-label similarity (zero-shot)34.169.823.0
Complement NB (same features)61.588.639.4
EuroTender (this model)82.194.267.1

Confidence is informative. Top-1 accuracy among test notices whose top probability is at least a threshold:

top probabilityshare of noticestop-1 accuracy
≥ 0.0100.0 %82.1 %
≥ 0.583.4 %89.9 %
≥ 0.775.3 %92.6 %
≥ 0.963.3 %95.4 %

Per language (CPV division, test split). 22 languages have at least 50 test notices and are listed; Irish and Maltese have too few notices on TED to be evaluated.

languagetest noticestop-1top-3macro-F1
German (de)58,25487.695.165.5
French (fr)39,93279.890.961.5
Polish (pl)27,61887.995.374.7
Spanish (es)16,34079.090.765.0
English (en)12,02070.284.958.0
Italian (it)11,19480.991.463.1
Dutch (nl)9,03575.388.559.4
Czech (cs)8,05983.393.269.0
Swedish (sv)7,85071.986.055.1
Romanian (ro)6,96482.492.864.1
Portuguese (pt)5,46679.490.062.2
Bulgarian (bg)5,06987.294.965.8
Lithuanian (lt)4,11180.590.263.8
Finnish (fi)3,68877.289.861.5
Greek (el)3,46476.888.159.1
Latvian (lv)2,92081.391.061.9
Slovenian (sl)2,53379.990.364.7
Croatian (hr)2,49181.391.965.3
Hungarian (hu)2,18780.389.962.0
Danish (da)1,98078.288.352.9
Slovak (sk)1,83180.289.561.8
Estonian (et)1,45379.188.257.6

Strongest divisions: 66 Financial and insurance services (F1 0.93), 45 Construction work (F1 0.93), 33 Medical equipments, pharmaceuticals and personal care products (F1 0.92), 09 Petroleum products, fuel, electricity and other sources of energy (F1 0.91), 90 Sewage, refuse, cleaning and environmental services (F1 0.91). Weakest divisions: 41 Collected and purified water (F1 0.17), 51 Installation services (except software) (F1 0.21), 75 Administration, defence and social security services (F1 0.29), 76 Services related to the oil and gas industry (F1 0.32), 65 Public utilities (F1 0.44). The full per-division table and the most frequent confusions are in the evaluation report.

How it works

title + description (≤ 2000 chars)
  → NFKC, contact-detail scrubbing, CPV-code masking, casefold
  → hashed word (1, 2)-grams (2^20) + char_wb (2, 5)-grams (2^20)
  → sublinear TF-IDF, per-block L2 norm (char share 0.5)
  → linear one-vs-rest heads (sgd_hinge, alpha=1e-06) → softmax with fitted temperature
  • Weights are stored as sparse CSR float32 matrices in model.safetensors (IDF + division head) and group.safetensors (group head); settings are in config.json. Loading never unpickles anything.
  • Feature hashing means no vocabulary file; the hashing function is scikit-learn's MurmurHash3 and is pinned by a regression test.
  • Temperatures (division T=0.282, group T=0.200) were fitted on the validation split (2025-10…12) by minimising negative log-likelihood.

Training details

Training notices510,016 (train split)
Calibrationvalidation split, 79,714 notices
Hyperparametersclassifier sgd_hinge, alpha 1e-06, min. class count 10, weight pruning |w| < 0.08 (division) / 0.05 (group), chosen on validation
Seed20251019
Training time53 min on AMD EPYC-Rome Processor (6 jobs)
Librariesscikit-learn 1.9.1, numpy 2.5.4, scipy 1.18.1
Code commitb12fe728b14d9520bab56b5710425e52677d1b7f
Dataset files (SHA-256)train.parquet 62e4510e27d8…, validation.parquet 6d4b13f53e7f…, test.parquet a526a36072f0…

Inference cost (measured, one CPU process)

  • model load 0.1 s; peak RSS 748 MB
  • single notice: p50 1.7 ms, p95 6.2 ms
  • batch throughput: 661 notices/s
  • files: config.json 0.0 MB, model.safetensors 109.8 MB, group.safetensors 274.7 MB

Limitations

  • Labels are buyer-assigned and partly inconsistent between buyers, so part of the measured error is label noise rather than model error.
  • Division and group only. Full 8-digit codes are not predicted. When a buyer gave only a division-level code (e.g. 79000000), the group target is that same code, so the group head also contains such division-level classes.
  • Short or generic inputs can be confidently wrong. Some get low probabilities ("Services" → 0.25), but others inherit a strong sector prior from the training data ("Lot 3" → 45 Construction work at 0.96, "Dostawa" ["delivery"] → 33 at 0.92). Calibration is measured on real notices, not on such fragments; give the model a substantive title or description.
  • Rare classes are learned less well, which is why macro-F1 is well below accuracy. Groups with fewer than 10 training notices are not predicted.
  • Language skew. Accuracy differs by language (table above); Irish and Maltese are effectively untested because TED has almost no notices in them.
  • Drift. Procurement vocabulary changes; the model reflects 2024–2025 notices.

Data and licence

  • Model and code: Apache-2.0.
  • Training data: TED notices, © European Union, reused under the TED legal notice ("can be freely reused, for commercial or non-commercial purposes"). Contact details were scrubbed before training; see the dataset card.
  • CPV labels: eForms SDK 1.15.1, Publications Office of the EU, CC BY 4.0.

Citation

@software{eurotender_2026,
  title  = {EuroTender: multilingual CPV classification for EU public procurement},
  author = {{Since AI}},
  year   = {2026},
  url    = {https://github.com/sinceaihq/eurotender},
  version = {0.1.0}
}

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

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

GPU в ailist

Универсальный рантайм · eurotender · text-classification

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

Архитектура ? неизвестна transformers в образе рантайма.

Ревизия весов
49a4376

0 моделей