/ Модель

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

Контекст
32 768 токенов
Параметры
508 млн
Архитектура
qwen3 · dense
Базовая модель
harrier-oss-v1-0.6b
Библиотека
transformers
Опубликована
22 окт 2026

bird-harrier-retriever

ЭмбеддингиТекст → embedding6 профессий

Дообученный на BIRD энкодер Qwen3 для извлечения релевантных колонок базы данных по тексту вопроса.

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

Бенчмарки

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

Тесты пользователейпока нет

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

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

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

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

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

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

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

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

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

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

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

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

BIRD Harrier field retriever — дообученный энкодер на базе microsoft/harrier-oss-v1-0.6b, опубликованный для доставки на публичную оценку. Модель на архитектуре Qwen3 содержит около 507,9 млн параметров и предназначена для извлечения признаков и поиска колонок базы данных по вопросу на естественном языке. Она обучена на парах вопросов и колонок BIRD: запрос — только текст вопроса, документ — имя таблицы и колонки в формате table.column. Контракт использует максимум 128 токенов для запроса и mean pooling; стандартный feature-extraction pipeline сам его не соблюдает. Контекст модели — 32 768 токенов.

Это исходная попарная версия дообучения, без позднейшей коррекции multi-positive. В README приведён результат 1152/1534 (75,10%) для полной SQL-системы на замороженном снимке dev BIRD; его нельзя считать точностью самой модели эмбеддингов или результатом официального теста. Лицензия MIT заявлена для базовой модели, но отдельная лицензия на работу по дообучению не предоставлена. Для воспроизводимости требуется зафиксировать ревизию файлов и проверить совместимость PyTorch и CUDA.

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

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

Ограничения

Энкодер требует заданного формата: вопрос без префикса, документ в виде table.column и mean pooling; стандартный pipeline автоматически этот контракт не реализует. Результат 75,10% относится ко всей SQL-системе на dev-снимке BIRD, а не к точности энкодера; для дообучения отдельная лицензия не заявлена.

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

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

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

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

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

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

Открыть на Hugging Face

BIRD Harrier field retriever (schema96 checkpoint)

This repository packages the original BIRD column-retrieval fine-tune used by the bird-harrier600m-20261003 service. It is not the improved v2 checkpoint, the joint field/entity model, or the unmodified upstream Harrier model.

This is a public evaluation-delivery repository, published with the owner's approval on 2026-10-22. Public availability is not a separate license grant. The upstream model is microsoft/harrier-oss-v1-0.6b, whose model card declares MIT. Its repository does not include a separate LICENSE file; see UPSTREAM_NOTICE.txt. No new license grant for the fine-tuning work is claimed by this model card. No training rows, database files, API credentials, optimizer states or development predictions are included.

Exact encoding contract

PropertyFrozen value
Query textQuestion only, no instruction prefix
Document texttable.column; the BIRD caller lowercases it
Query maximum length128 tokens
Document maximum length32 tokens
PaddingRight
PoolingAttention-mask-weighted mean of final hidden states
ProjectionNone
Output1024-dimensional, L2-normalized float32 vectors
GPU computationbfloat16, model in evaluation mode
SimilarityDot product of normalized vectors
BIRD field thresholdscore >= 0.65, within the question's database

Do not use the upstream last-token pooling / instruction-prefix recipe. This fine-tune was trained and evaluated with the contract above. Standard feature-extraction pipelines return token vectors and do not implement this contract automatically. chat_template.jinja is a preserved tokenizer asset; the encoder does not apply a chat template.

Training provenance and limitations

The saved training configuration specifies BIRD train question/column pairs, question-only queries, table.column positive passages, mean pooling, full fine-tuning without LoRA/projection, five epochs, learning rate 2e-5, batch size 4, gradient accumulation 4, and contrastive temperature 0.02. It points to an empty evaluation file, rather than dev data. This describes the saved configuration, not a new independent audit of every training example.

This is the original pairwise training version, not the later multi-positive training correction. Development-set analysis was used in system design and threshold selection; this is not a claim of a completely untouched dev set.

The downstream system containing this encoder scored 1152/1534 (75.10%) on its frozen BIRD dev snapshot. That is a full SQL pipeline score, not an embedding model accuracy or an official test score. Other components include Qwen embeddings, an external LLM, retrieval, nine candidate slots and SQL checkers. Inference never needs target-question Gold SQL.

Verify the downloaded files

Download the entire repository at a fixed commit revision. From its directory:

python verify_files.py

model_manifest.json contains the exact hashes of the six runtime model files. The main weight is 1,192,133,232 bytes and has SHA256: 50b590d2c598a43d4517fa7bbf20061c21777e1cb12514506f28f43d004e055d.

Run locally (no external embedding API required)

Use a separate Python 3.12 environment and install requirements.txt. The reference deployment used PyTorch 2.10.0 and CUDA 12.8; the evaluator must confirm driver compatibility. Installing a different torch/CUDA combination requires a parity check, not an assumption of identical vectors.

python3.12 -m venv .venv
.venv/bin/python -m pip install -r requirements.txt
export API_TOKEN="$(.venv/bin/python -c 'import secrets; print(secrets.token_urlsafe(32))')"
bash serve.sh

Keep the token in the evaluator's environment/secret store and use it for client requests. The command defaults to loopback 127.0.0.1:8080, CUDA, one worker and no HTTP access log. Set MODEL_PATH, DEVICE, HOST or PORT explicitly when needed. CPU mode uses float32 and is intended for functional checks; bitwise GPU parity is not promised. No model downloads are performed during service startup.

Endpoints:

  • GET /health (no authentication), requiring loaded=true before inference.
  • GET /v1/models (Bearer token).
  • POST /v1/embeddings (Bearer token), for example:
{"model":"bird-harrier600m-20261003","input_type":"query","input":["How many schools are in Riverside?"]}

For fields, use input_type: "document" and inputs such as schools.school. Maximum batch is 32 nonempty strings and 8192 encoded tokens. Only float encoding is supported. Do not log request bodies in reverse proxies.

The service source is copied from the frozen deployed encoder, with its authentication and pooling unchanged. serve.sh sets writable caches and a username to support container UIDs without a passwd entry.

Optional container

docker build -t bird-harrier-local .
docker run --rm --gpus all --env-file evaluator-secrets.env \
  -p 127.0.0.1:8080:8080 bird-harrier-local

evaluator-secrets.env contains only a dedicated API_TOKEN (minimum 32 ASCII characters). Do not commit that file. The image contains the model and starts the same encoder. The Docker recipe must be tested on the evaluator's CUDA environment; a recipe alone is not evidence that an image has been validated.

Qwen embedding is a separate dependency

This repository does not replace Qwen3-Embedding-0.6B used for value/few-shot retrieval. Its checkpoint and its distinct last-token pooling recipe must also be frozen in the full submission package. Do not apply Harrier mean pooling to that second model.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей