/ Модель

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

Лицензия
CC BY-NC 4.0
Базовая модель
all-mpnet-base-v2
Библиотека
sentence-transformers
Опубликована
26 окт 2026

anchor-product-page-mpnet-base

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

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

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

Энкодер MPNet преобразует текст ссылок в векторы для поиска ссылок на товарные и коммерческие страницы при focused crawling.

Модель irlab-udc/anchor-product-page-mpnet-base — текстовый энкодер, разработанный для ProdCrawl и дообученный на базе sentence-transformers/all-mpnet-base-v2. Она преобразует текст ссылки (anchor text) в нормализованный вектор размерности 768, чтобы находить похожие подписи ссылок и оценивать, ведут ли они на страницы товаров, программных решений или тарифов услуг. В составе системы focused crawling эмбеддинги используются для поиска размеченных примеров и расчёта оценки целевой страницы до её загрузки.

Архитектура включает MPNet-энкодер, mean pooling и L2-нормализацию; сходство вычисляется по косинусной мере. Модель обучена на парах текстов ссылок с метками, сформированными по страницам 318 сайтов компаний и организаций. В экспериментах ProdCrawl она улучшила MAP@30 в большинстве сопоставленных конфигураций по сравнению с базовой моделью.

Модель ориентирована преимущественно на англоязычные ссылки. Она учитывает только текст ссылки: одинаковая подпись получает одинаковый вектор независимо от целевой страницы, а общие подписи вроде «click here» малоинформативны, поскольку были исключены из обучения. Лицензия CC BY-NC 4.0 разрешает использование с указанием авторства, но некоммерческое.

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

  • поиск похожих подписей ссылок, ведущих на страницы товаров
  • оценка ссылок на страницы программных решений и тарифов услуг
  • ранжирование ссылок перед загрузкой страниц при focused crawling
  • поиск текстовых примеров ссылок по семантическому сходству

Ограничения

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

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

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

anchor-product-page-mpnet-base

An encoder for the anchor text of links, fine-tuned from all-mpnet-base-v2. It places the anchor texts of links to product pages close to each other and away from the anchor texts of links to other pages. A product page is a page whose primary purpose is a transaction or a conversion for a specific offering, such as a product, a software solution or a service tier.

The model is released with ProdCrawl, a replayable test collection for focused crawling (ECIR 2027, Resource Track). In the ProdCrawl experiments, a crawler scores each link before downloading it: it retrieves the labelled anchor texts most similar to the link's own and takes the similarity-weighted share of those whose target page is a product page. This model computes the anchor-text embeddings for that retrieval.

Usage

pip install -U sentence-transformers
from sentence_transformers import SentenceTransformer

model = SentenceTransformer("irlab-udc/anchor-product-page-mpnet-base")
anchors = ["add to cart mixed berry granola bars 40 count", "general news", "about us"]
embeddings = model.encode(anchors)   # shape (3, 768), L2-normalised
print(model.similarity(embeddings, embeddings))

The input is the anchor text of a link. The ProdCrawl crawler lowercases it and collapses whitespace first; the tokenizer lowercases anyway, so this does not change the embedding. Embeddings are normalised to unit length, and similarity is cosine.

Model details

Base modelsentence-transformers/all-mpnet-base-v2
ArchitectureMPNet encoder, mean pooling, L2 normalisation
Output dimension768
Maximum sequence length384 tokens
Similaritycosine

Training

Data. The training collection of ProdCrawl: 318 company and organisation websites, every page labelled by majority vote of three LLMs as a product page or not. Each link of the collection is an anchor text labelled with the judgment of the page it points to. We sampled 200,000 links at random (seed 42) and grouped them by normalised anchor text:

  • an anchor is a reliable positive if at least 90% of its links point to product pages, and a reliable negative if at most 10% do;
  • anchors in between are ambiguous and were excluded;
  • generic anchors that cannot identify their target, such as "click here", "read more" or "image", were also excluded.

Pairs. 1,460,240 sentence pairs with a target cosine similarity:

PairTarget
product-page prototype phrase ("product details", "add to cart product", ...) and a reliable positive1.0
two reliable positives0.9
product-page prototype phrase and a reliable negative0.0
reliable positive and reliable negative0.0
two non-product prototype phrases0.8

Positives and negatives were sampled with weights that grow with the anchor's frequency and label purity.

Procedure. CosineSimilarityLoss (mean squared error between the cosine similarity and the target), one epoch, batch size 32, AdamW with learning rate 2e-5, linear schedule with 5% warm-up, seed 42. Software: sentence-transformers 5.5.0, transformers 5.8.1, torch 2.12.0. The training script is in the code repository (scripts/encoder/).

Results in the ProdCrawl experiments

On the validation collection, replacing all-mpnet-base-v2 with this model in the dense anchor-scoring strategies improved MAP@30 over the offline evidence store in 31 of 34 matched configurations (Wilcoxon signed-rank test, p < 10^-7). On the test collection, exact kNN retrieval with this model over the offline evidence store had the highest area under the MAP@b curve of all systems. See the paper for the full results.

Limitations

  • The model sees only the anchor text. The same anchor text always gets the same embedding, wherever the link points.
  • Generic anchors were excluded from training, so their embeddings carry little information about the target page.
  • The training sites are company and organisation websites, predominantly in English. The labels come from LLMs, not from human assessors.

License

CC BY-NC 4.0. The base model, all-mpnet-base-v2, is licensed under Apache 2.0.

Citation

@misc{reyescobar2026anchorproductpage,
  title        = {{anchor-product-page-mpnet-base}: A Fine-Tuned Anchor-Text Encoder for Product Pages},
  author       = {Rey-Escobar, Manuel and Otero, David and Parapar, Javier},
  howpublished = {\url{https://huggingface.co/irlab-udc/anchor-product-page-mpnet-base}},
  note         = {Hugging Face model, fine-tuned from all-mpnet-base-v2},
  year         = {2026}
}

Manuel Rey-Escobar, David Otero, and Javier Parapar. 2026.
ProdCrawl: A Replayable Test Collection for Focused Crawling.
Available at https://github.com/IRLab-UDC/prodcrawl

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

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

GPU в ailist

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

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

Доступ к модели ограничен автором; у платформы нет доступа к весам.

Ревизия весов
51dedb2

0 моделей