/ Модель

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

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

adl-hw2-retriever

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

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

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

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

GaryHuang1122/adl-hw2-retriever — дообученная на Qwen/Qwen3-Embedding-0.6B модель Sentence Transformer для преобразования предложений и абзацев в плотные векторы размерности 1024. Она предназначена для семантического поиска и сравнения текстов по косинусному сходству, а также для поиска перефразировок, кластеризации и классификации текстов. В архитектуре используются Qwen3Model, pooling по последнему токену и нормализация векторов.

Модель обучалась на 4 347 примерах с anchor, positive и negative текстами. Метаданные указывают контекст до 32 768 токенов, тогда как README заявляет максимальную длину последовательности 256 токенов; для практического использования следует учитывать ограничение README. Поддерживаемые языки в предоставленных материалах не перечислены. Лицензия в предоставленных данных не указана.

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

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

Ограничения

README задаёт максимальную длину последовательности 256 токенов, хотя метаданные указывают контекст 32 768 токенов; следует ориентироваться на меньший лимит при использовании этой версии. Языки и лицензия в предоставленных материалах не указаны.

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

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

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

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

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

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

Открыть на Hugging Face

SentenceTransformer based on Qwen/Qwen3-Embedding-0.6B

This is a sentence-transformers model finetuned from Qwen/Qwen3-Embedding-0.6B. It maps sentences & paragraphs to a 1024-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.

Model Details

Model Description

  • Model Type: Sentence Transformer
  • Base model: Qwen/Qwen3-Embedding-0.6B
  • Maximum Sequence Length: 256 tokens
  • Output Dimensionality: 1024 dimensions
  • Similarity Function: Cosine Similarity

Model Sources

Full Model Architecture

SentenceTransformer(
  (0): Transformer({'max_seq_length': 256, 'do_lower_case': False, 'architecture': 'Qwen3Model'})
  (1): Pooling({'word_embedding_dimension': 1024, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': True, 'include_prompt': True})
  (2): Normalize()
)

Usage

Direct Usage (Sentence Transformers)

First install the Sentence Transformers library:

pip install -U sentence-transformers

Then you can load this model and run inference.

from sentence_transformers import SentenceTransformer

# Download from the 🤗 Hub
model = SentenceTransformer("sentence_transformers_model_id")
# Run inference
queries = [
    "Current request: Maybe, but I\u0027m not sure I need more nail stuff right now.\nConversation:\nuser: I\u0027ve been using those KBShimmer polishes I picked up, but my nail art feels kinda basic.\nassistant: Gotcha. Looking for any tools to step it up?\nuser: I doubt a tool would help much\u2014I already have my purple brush set.\nassistant: Brushes are good for blending, but dotting pens make precise dots and swirls.\nuser: Maybe, but I\u0027m not sure I need more nail stuff right now.",
]
documents = [
    'Dotting 5 X 2 Way Marbleizing Dotting Pen Set for Nail Art Manicure Pedicure, 4 Ounce\nCategory: Beauty Description: 5 X 2 way marbleizing dotting pen set for nail art manicure pedicure in 10 different shape.',
    'Debra Lynn Professional 10 pcs. Acrylics Nail Brush Set\nCategory: Beauty Description: Product Description Create great nail art designs with this assortment of synthetic brushes',
    "MINING PIXELATED GLOW IN THE DARK Bracelets Wristbands Kids Birthday Party Favors Supplies Video Game (12 pack)\nBrand: MA Creations Category: Toys & Games > Party Supplies > Party Favors Features: <p>SAFE TO USE - Our premium quality silicone bracelets are Non-stick, Water-proof, Eco-friendly, non-toxic, RoHs approved, 100% Flexible Silicone.</p> <p>PARTY FAVORS - Great For Themed Birthday Parties, Party Favors, Gaming With Your Friends, Good Bag Stuffers, Classroom Rewards and Room Decorations.</p> <p>SET OF 13 - Glow In The Dark and High Quality Debossed Lettering.</p> <p>SIZE - Medium ( 7.95 inches x 0.47 inches x 2 mm), fits a 6 year old's wrist, up to a medium framed adult<p/> <p>100% Money Back Guarantee, If you're not satisfied with your purchase.</p> Description: GLOW IN THE DARK - MINING PIXELATED BRACELETS - GREAT FOR THEMED BIRTHDAY PARTIES, BIRTHDAY PARTY FAVORS, GOODY BAG STUFFERS, SCHOOL FUNDRAISERS/FESTIVALS, CLASSROOM REWARDS, VALENTINE'S DAY GRAMS, EASTER BASKET TOYS, GLOW IN THE DARK STICKS, ROOM DECORATIONS, ETC. Features: 1. Size: Medium 2. 100% silicone 3. Never goes out of shape or fades 4. RoHs approved, Eco-friendly, non-toxic, and safe 5. Multicolor 6. Soft, flexible, excellent abrasion resistance 7. Non-stick finish, water-proof, elastic and comfortable design 8. Can return to their original shape when you take them off your wristband 9. Please make sure to charge your bracelets under direct sun or artificial light to activate Glow In The Dark Feature COLLECT THEM ALL! Details: Material: Silicone Brand: MA Creations Age Range (Description): 6 year old Size: Medium Item Weight: 0.06 Kilograms Package Dimensions: 3.31 x 2.48 x 2.36 inches; 2.08 Ounces Manufacturer recommended age: 5 years and up Item model number: 742185177114 Department: Kids Date First Available: July 18, 2019 Manufacturer: MA Creations",
]
query_embeddings = model.encode_query(queries)
document_embeddings = model.encode_document(documents)
print(query_embeddings.shape, document_embeddings.shape)
# [1, 1024] [3, 1024]

# Get the similarity scores for the embeddings
similarities = model.similarity(query_embeddings, document_embeddings)
print(similarities)
# tensor([[ 0.4616,  0.2195, -0.0393]])

Training Details

Training Dataset

Unnamed Dataset

  • Size: 4,347 training samples
  • Columns: anchor, positive, and negative_1
  • Approximate statistics based on the first 1000 samples:
    anchorpositivenegative_1
    typestringstringstring
    detailsmin: 60 tokensmean: 124.05 tokensmax: 209 tokensmin: 10 tokensmean: 184.0 tokensmax: 256 tokensmin: 19 tokensmean: 223.29 tokensmax: 256 tokens
  • Samples:
    anchorpositivenegative_1
    Current request: Easy cleaning is key since he tracks in dirt, and yes, joint support would be great for an older dog.Conversation:user: My big dog needs a new bed for his crate. He’s around 100 lbs and tends to sprawl out when he sleeps.assistant: Do you care more about easy cleaning or orthopedic support for his joints? And would a water-resistant lining matter for your setup?user: Easy cleaning is key since he tracks in dirt, and yes, joint support would be great for an older dog.Barkbox Tufted Soft Foam Dog Bed, Orthopedic Crate Pillow Cushion for Dogs & Cats, Machine Washable Cover with Water-Resistant Lining, Includes Squeaker ToyBrand: Barkbox Category: Pet Supplies > Dogs > Beds & Furniture > Beds Features: Perfect Dog Size for Your Pup: Our x-large tufted dog bed is 41” x 29” x 4" and comfortably fits breeds like Golden Retriever, Labrador Retriever, Pit bull, Standard Poodle, and other similarly sized dogs up to 120 lbs. Chipped Foam Mattress: With chipped memory foam filler and a soft plush cover, your dog will doze off and dream big while the bed forms to your dog’s sleeping position. Removable, Water-Resistant, & Machine Washable Cover: Keep your dog’s bed looking, smelling, and feeling fresh and clean. The zippered cover slides off easily for convenient machine wash cleaning. The Fuzzy Mattress Bed: This dog bed is the sleeping staple to give any and all dogs the sleep of their dreams. Just remember to fluff up the bed and give the bed some time to ...Berkley Trilene XL Monofilament Fishing LineBrand: Berkley Category: Sports & Outdoors > Hunting & Fishing > Fishing > Fishing Line > Monofilament Line Features: BERKLEY TRILENE XL: Don't let fish off the hook. Stronger and smoother than ever before, this versatile clear fishing line offers exceptional performance with a wide variety of baits and techniques. MAXIMUM MANAGEABILITY: This mono fishing line resists twists and kinks allowing for remarkably smooth casting that lets you land your lure exactly where you want it. HIGH STRENGTH PER DIAMETER MONOFILAMENT FISHING LINE: This easy-casting fish line offers a break strength of 4lb | 1.8kg. Length: 1000yd | 914m. The Clear design disguises the presence of the line when submerged. POWERFUL FISHING PARTNER: With optimal wet strength, this heavy duty fishing line maintains its durability even when submerged for confidence and control in any situation. WIDE RANGE OF BREAK STRENGTHS AVAILABLE, from 2 pounds to 30. Diameter of 0.008in | 0.2...
    Current request: Soak in fast sounds fake—how would that help my over-processed strands?Conversation:user: I've been using my shears and dryer from before, but I'm pretty skeptical of hair oils making my hair greasy.assistant: That makes sense, a lot of them sit heavy on styled hair.user: Yeah, and my salon boards are for nails anyway, so I need something that won't mess up my hair routine.assistant: Some lightweight formulas actually soak in fast and leave a silky finish without buildup.user: Soak in fast sounds fake—how would that help my over-processed strands?Moroccan Oil Hair Treatment 3.4 Oz Bottle with Blue BoxCategory: Beauty Description: Moroccanoil is an ultra-light formula which is absorbed by the hair instantly, resulting in a natural, silky finish and brilliant shine. Moroccanoil has the ability to restore over-processed hair damaged by environmental factors and chemical procedures - it also revives, hydrates and detangles hair, wigs and hair extensions.KMC Missing Link Bicycle Chain Link (9-Speed, 6-Pack) SilverBrand: KMC Category: Sports & Outdoors > Sports > Cycling > Parts & Components > Drivetrain Components > Chains Features: Package length: 0.762 cm Package width: 8.89 cm Package height: 17.526 cm Product Type: OUTDOOR RECREATION PRODUCT Description: Connect and disconnect KMC chains with no tools required Details: Item Package Dimensions L x W x H: 6.9 x 3.5 x 0.3 inches Package Weight: 0.02 Kilograms Item Dimensions LxWxH: 7 x 4 x 1 inches Item Weight: 0.05 Pounds Brand Name: KMC Warranty Description: Replace if was broken from factory Model Name: CH4001 Color: Silver Material: Other Suggested Users: Mens Number of Items: 1 Manufacturer: KMC Part Number: MissingLink-9R, card of 6 sets Style: 9-speed Included Components: 6 chains Outer Material: Aluminum Size: 6 Pack Sport Type: Cycling Best Sellers Rank: {'Sports & Outdoors': 321928, 'Bike Chains': 411} Date First Available: January 16, 2009 Brand: KMC Strand Type: Single Re...
    Current request: Yeah, just a quick tint, no commitment or streaks.Conversation:user: I've been happy with that lavender sugar scrub and the clear side combs I got earlier, but I want something for a temporary skin glow.assistant: Nice, those are good picks. Are you looking for something that washes off easily?user: Yeah, just a quick tint, no commitment or streaks.L'Oreal Paris Sublime Bronze One-Day Tinted Gel, 6.7-Fluid OunceCategory: Beauty Description: Sublime Bronze One Day Instant Tanning Gel delivers a sheer tint of bronze color that lasts up to one day. This unique quick-drying formulation with natural caramel colorant and golden pearls gives skin a natural-looking sun-kissed glow. The no-mistakes formula washes away with soap and water.Mighty Paw Retractable Leash with Built-in Poop Bag Holder | 16' Long Retractable Dog Leash for Small Dogs, Medium Breeds & Large Pets. Dog Leash Retractable Tape for Quick Control. Poop Bags IncludedBrand: Mighty Paw Category: Pet Supplies > Dogs > Collars, Harnesses & Leashes > Leashes > Retractable Leashes Features: Easy Control at Your Fingertips: Our retractable dog leash features a one touch quick-lock braking system for ultimate length control at the flick of a button. Your dog will love the freedom, and you'll love the peace of mind. Say Goodbye to Tangles and Jams: We made our retractable dog leash with a 360° tangle-free swivel clip that is built to handle even the most playful dogs. Coupled with a U-shaped leash guide, leash tangles will be a thing of the past. Freedom When You Want It: Set your dog free with our 16’ retractable dog lead. They'll have freedom to explore, and you'll have the control to keep them safe! The lite sizes are great small dog leashes & the standard...
  • Loss: CachedMultipleNegativesRankingLoss with these parameters:
    {
        "scale": 20.0,
        "similarity_fct": "cos_sim",
        "mini_batch_size": 8,
        "gather_across_devices": false
    }
    

Training Hyperparameters

Non-Default Hyperparameters

  • per_device_train_batch_size: 64
  • learning_rate: 1e-05
  • weight_decay: 0.01
  • warmup_ratio: 0.1
  • bf16: True
  • prompts: {'anchor': 'Instruct: Given a customer shopping conversation, retrieve the product that best satisfies the customer needs\nQuery:'}
  • batch_sampler: no_duplicates

All Hyperparameters

  • overwrite_output_dir: False
  • do_predict: False
  • eval_strategy: no
  • prediction_loss_only: True
  • per_device_train_batch_size: 64
  • per_device_eval_batch_size: 8
  • per_gpu_train_batch_size: None
  • per_gpu_eval_batch_size: None
  • gradient_accumulation_steps: 1
  • eval_accumulation_steps: None
  • torch_empty_cache_steps: None
  • learning_rate: 1e-05
  • weight_decay: 0.01
  • adam_beta1: 0.9
  • adam_beta2: 0.999
  • adam_epsilon: 1e-08
  • max_grad_norm: 1.0
  • num_train_epochs: 3
  • max_steps: -1
  • lr_scheduler_type: linear
  • lr_scheduler_kwargs: {}
  • warmup_ratio: 0.1
  • warmup_steps: 0
  • log_level: passive
  • log_level_replica: warning
  • log_on_each_node: True
  • logging_nan_inf_filter: True
  • save_safetensors: True
  • save_on_each_node: False
  • save_only_model: False
  • restore_callback_states_from_checkpoint: False
  • no_cuda: False
  • use_cpu: False
  • use_mps_device: False
  • seed: 42
  • data_seed: None
  • jit_mode_eval: False
  • use_ipex: False
  • bf16: True
  • fp16: False
  • fp16_opt_level: O1
  • half_precision_backend: auto
  • bf16_full_eval: False
  • fp16_full_eval: False
  • tf32: None
  • local_rank: 0
  • ddp_backend: None
  • tpu_num_cores: None
  • tpu_metrics_debug: False
  • debug: []
  • dataloader_drop_last: False
  • dataloader_num_workers: 0
  • dataloader_prefetch_factor: None
  • past_index: -1
  • disable_tqdm: False
  • remove_unused_columns: True
  • label_names: None
  • load_best_model_at_end: False
  • ignore_data_skip: False
  • fsdp: []
  • fsdp_min_num_params: 0
  • fsdp_config: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
  • fsdp_transformer_layer_cls_to_wrap: None
  • accelerator_config: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
  • parallelism_config: None
  • deepspeed: None
  • label_smoothing_factor: 0.0
  • optim: adamw_torch_fused
  • optim_args: None
  • adafactor: False
  • group_by_length: False
  • length_column_name: length
  • ddp_find_unused_parameters: None
  • ddp_bucket_cap_mb: None
  • ddp_broadcast_buffers: False
  • dataloader_pin_memory: True
  • dataloader_persistent_workers: False
  • skip_memory_metrics: True
  • use_legacy_prediction_loop: False
  • push_to_hub: False
  • resume_from_checkpoint: None
  • hub_model_id: None
  • hub_strategy: every_save
  • hub_private_repo: None
  • hub_always_push: False
  • hub_revision: None
  • gradient_checkpointing: False
  • gradient_checkpointing_kwargs: None
  • include_inputs_for_metrics: False
  • include_for_metrics: []
  • eval_do_concat_batches: True
  • fp16_backend: auto
  • push_to_hub_model_id: None
  • push_to_hub_organization: None
  • mp_parameters:
  • auto_find_batch_size: False
  • full_determinism: False
  • torchdynamo: None
  • ray_scope: last
  • ddp_timeout: 1800
  • torch_compile: False
  • torch_compile_backend: None
  • torch_compile_mode: None
  • include_tokens_per_second: False
  • include_num_input_tokens_seen: False
  • neftune_noise_alpha: None
  • optim_target_modules: None
  • batch_eval_metrics: False
  • eval_on_start: False
  • use_liger_kernel: False
  • liger_kernel_config: None
  • eval_use_gather_object: False
  • average_tokens_across_devices: False
  • prompts: {'anchor': 'Instruct: Given a customer shopping conversation, retrieve the product that best satisfies the customer needs\nQuery:'}
  • batch_sampler: no_duplicates
  • multi_dataset_batch_sampler: proportional
  • router_mapping: {}
  • learning_rate_mapping: {}

Training Logs

EpochStepTraining Loss
0.1471101.1159
0.2941200.5608
0.4412300.4335
0.5882400.3611
0.7353500.3696
0.8824600.3283
1.0294700.255
1.1765800.1447
1.3235900.1273
1.47061000.0987
1.61761100.0989
1.76471200.099
1.91181300.0954
2.05881400.0898
2.20591500.048
2.35291600.0415
2.51700.0445
2.64711800.0481
2.79411900.0406
2.94122000.0374

Framework Versions

  • Python: 3.10.12
  • Sentence Transformers: 5.1.0
  • Transformers: 4.56.1
  • PyTorch: 2.8.0+cu128
  • Accelerate: 1.15.0
  • Datasets: 5.0.1
  • Tokenizers: 0.22.2

Citation

BibTeX

Sentence Transformers

@inproceedings{reimers-2019-sentence-bert,
    title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
    author = "Reimers, Nils and Gurevych, Iryna",
    booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
    month = "11",
    year = "2019",
    publisher = "Association for Computational Linguistics",
    url = "https://arxiv.org/abs/1908.10084",
}

CachedMultipleNegativesRankingLoss

@misc{gao2021scaling,
    title={Scaling Deep Contrastive Learning Batch Size under Memory Limited Setup},
    author={Luyu Gao and Yunyi Zhang and Jiawei Han and Jamie Callan},
    year={2021},
    eprint={2101.06983},
    archivePrefix={arXiv},
    primaryClass={cs.LG}
}

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей