Downloads · 30 days
0
Hyphonical/Qwen3-VL-Embedding-2B-NSFW
Qwen3-VL-Embedding-2B-NSFW is a sentence similarity model from Hyphonical. Use it when you need a score for how close two texts are. It is set up for sentence-transformers.
This is a sentence-transformers model finetuned from Qwen/Qwen3-VL-Embedding-2B on the json dataset. It maps sentences & paragraphs to a 2048-dimensional dense vector space and can be used for retrieval.
Downloads · 30 days
0
Access
Public
Updated Jun 5, 2026
Repo size
73.9 MB
Likes
2
Public
Click a slice to open those files.
.safetensors62.4 MB · 84%
From the Hugging Face model README
This is a sentence-transformers model finetuned from Qwen/Qwen3-VL-Embedding-2B on the json dataset. It maps sentences & paragraphs to a 2048-dimensional dense vector space and can be used for retrieval.
SentenceTransformer(
(0): Transformer({'transformer_task': 'feature-extraction', 'modality_config': {'text': {'method': 'forward', 'method_output_name': 'last_hidden_state'}, 'image': {'method': 'forward', 'method_output_name': 'last_hidden_state'}, 'video': {'method': 'forward', 'method_output_name': 'last_hidden_state'}, 'message': {'method': 'forward', 'method_output_name': 'last_hidden_state', 'format': 'structured'}}, 'module_output_name': 'token_embeddings', 'processing_kwargs': {'chat_template': {'add_generation_prompt': True}}, 'unpad_inputs': False, 'architecture': 'Qwen3VLModel'})
(1): Pooling({'embedding_dimension': 2048, 'pooling_mode': 'lasttoken', 'include_prompt': True})
(2): Normalize({})
)
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 = [
'May sits with her legs spread, her massive breasts barely contained by her bikini as she grips her huge cock and thick, long penis, precum leaking out while she looks over her shoulder with a smile.',
]
documents = [
'./Images/11897115.jpg',
'./Images/12313417.jpg',
'./Images/12110929.jpg',
]
query_embeddings = model.encode_query(queries)
document_embeddings = model.encode_document(documents)
print(query_embeddings.shape, document_embeddings.shape)
# [1, 2048] [3, 2048]
# Get the similarity scores for the embeddings
similarities = model.similarity(query_embeddings, document_embeddings)
print(similarities)
# tensor([[ 0.3335, 0.1907, -0.0211]])
<!--
### Direct Usage (Transformers)
<details><summary>Click to see the direct usage in Transformers</summary>
</details>
-->
<!--
### Downstream Usage (Sentence Transformers)
You can finetune this model on your own dataset.
<details><summary>Click to expand</summary>
</details>
-->
<!--
### Out-of-Scope Use
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
-->
nsfw-ir-eval| Metric | Value |
|---|---|
| cosine_accuracy@1 | 0.1863 |
| cosine_accuracy@3 | 0.3174 |
| cosine_accuracy@5 | 0.3702 |
| cosine_accuracy@10 | 0.4382 |
| cosine_precision@1 | 0.1863 |
| cosine_precision@3 | 0.1058 |
| cosine_precision@5 | 0.074 |
| cosine_precision@10 | 0.0438 |
| cosine_recall@1 | 0.1863 |
| cosine_recall@3 | 0.3174 |
| cosine_recall@5 | 0.3702 |
| cosine_recall@10 | 0.4382 |
| cosine_ndcg@10 | 0.3066 |
| cosine_mrr@10 | 0.2651 |
| cosine_map@100 | 0.2746 |
| query | positive | negative0 | negative1 | negative2 | negative3 | |
|---|---|---|---|---|---|---|
| type | string | string | string | string | string | string |
| modality | text | image | image | image | image | image |
| details | <ul><li>min: 46 tokens</li><li>mean: 74.73 tokens</li><li>max: 108 tokens</li></ul> |
| query | positive | negative0 | negative1 | negative2 | negative3 |
|---|---|---|---|---|---|
| <code>Jane Doe kneels with her skirt hiked, her large breasts jiggling as she deepthroats a thick penis while licking the shaft, her curvaceous body pressed against the viewer’s face and her smooth thighs spread wide to show her dripping pussy and the thick tail pressed against her ass.</code> | <code>./Images/12354799.jpg</code> | <code>./Images/12371705.jpg</code> | <code>./Images/11812526.jpg</code> | <code>./Images/11742962.jpg</code> | <code>./Images/11978446.jpg</code> |
| <code>Isabelle from Animal Crossing stands with her tied blonde hair and green bikini top and bottom, her big breasts spilling through the cleavage as green hearts hover around her head and her thick thighs and yellow fur draw a female-only, animal-eyed focus.</code> | <code>./Images/11651564.jpg</code> | <code>./Images/13035434.jpg</code> | <code>./Images/13000601.jpg</code> | <code>./Images/11979417.jpg</code> | <code>./Images/11790567.jpg</code> |
| <code>Ambrosius Goldenloin fucks the hairy, piercing-adorned Nimona with a thick, juicy cock as she moans and clenches around his balls.</code> | <code>./Images/10880184.jpg</code> | <code>./Images/11855995.jpg</code> | <code>./Images/12893082.jpg</code> | <code>./Images/11948541.jpg</code> | <code>./Images/12449120.jpg</code> |
{
"loss": "CachedMultipleNegativesRankingLoss",
"matryoshka_dims": [
2048,
1536,
1024,
512,
256,
128,
64
],
"matryoshka_weights": [
1,
1,
1,
1,
1,
1,
1
],
"n_dims_per_step": -1
}
| query | positive | negative0 | negative1 | negative2 | negative3 | |
|---|---|---|---|---|---|---|
| type | string | string | string | string | string | string |
| modality | text | image | image | image | image | image |
| details | <ul><li>min: 46 tokens</li><li>mean: 75.79 tokens</li><li>max: 133 tokens</li></ul> |
| query | positive | negative0 | negative1 | negative2 | negative3 |
|---|---|---|---|---|---|
| <code>May sits with her legs spread, her massive breasts barely contained by her bikini as she grips her huge cock and thick, long penis, precum leaking out while she looks over her shoulder with a smile.</code> | <code>./Images/11897115.jpg</code> | <code>./Images/12829919.jpg</code> | <code>./Images/12813676.jpg</code> | <code>./Images/12136766.jpg</code> | <code>./Images/12403205.jpg</code> |
| <code>On a sunny beach, Mythra from Xenoblade Chronicles 2 wears a skimpy sling bikini, her blonde hair and large breasts on full display as she kneels with arms up, cheeks flushed in an ahegao, enduring deep penetration from a big-penised ugly man while cum trickles from her lactating nipples and a thick toe curls between her fat ass cheeks.</code> | <code>./Images/12313417.jpg</code> | <code>./Images/12710154.jpg</code> | <code>./Images/12739902.jpg</code> | <code>./Images/11840408.jpg</code> | <code>./Images/12339885.jpg</code> |
| <code>Lisa from Genshin Impact kneels in the center of a gangbang, taking all three large penises deep in her mouth as thick saliva and lipstick marks glisten on their dark skin and her own light skin, while the tattooed, ugly man and his companions thrust into her mouth and onto her face, overwhelming her with big balls and big breasts.</code> | <code>./Images/12110929.jpg</code> | <code>./Images/12259516.jpg</code> | <code>./Images/12317214.jpg</code> | <code>./Images/11592249.jpg</code> | <code>./Images/12261530.jpg</code> |
{
"loss": "CachedMultipleNegativesRankingLoss",
"matryoshka_dims": [
2048,
1536,
1024,
512,
256,
128,
64
],
"matryoshka_weights": [
1,
1,
1,
1,
1,
1,
1
],
"n_dims_per_step": -1
}
per_device_train_batch_size: 48num_train_epochs: 1learning_rate: 2e-05warmup_steps: 0.1bf16: Trueper_device_eval_batch_size: 48dataloader_num_workers: 8batch_sampler: no_duplicatesper_device_train_batch_size: 48num_train_epochs: 1max_steps: -1learning_rate: 2e-05lr_scheduler_type: linearlr_scheduler_kwargs: Nonewarmup_steps: 0.1optim: adamw_torch_fusedoptim_args: Noneweight_decay: 0.0adam_beta1: 0.9adam_beta2: 0.999adam_epsilon: 1e-08optim_target_modules: Nonegradient_accumulation_steps: 1average_tokens_across_devices: Truemax_grad_norm: 1.0label_smoothing_factor: 0.0bf16: Truefp16: Falsebf16_full_eval: Falsefp16_full_eval: Falsetf32: Nonegradient_checkpointing: Falsegradient_checkpointing_kwargs: Nonetorch_compile: Falsetorch_compile_backend: Nonetorch_compile_mode: Noneuse_liger_kernel: Falseliger_kernel_config: Noneuse_cache: Falseneftune_noise_alpha: Nonetorch_empty_cache_steps: Noneauto_find_batch_size: Falselog_on_each_node: Truelogging_nan_inf_filter: Trueinclude_num_input_tokens_seen: nolog_level: passivelog_level_replica: warningdisable_tqdm: Falseproject: huggingfacetrackio_space_id: Nonetrackio_bucket_id: Nonetrackio_static_space_id: Noneper_device_eval_batch_size: 48prediction_loss_only: Trueeval_on_start: Falseeval_do_concat_batches: Trueeval_use_gather_object: Falseeval_accumulation_steps: Noneinclude_for_metrics: []batch_eval_metrics: Falsesave_only_model: Falsesave_on_each_node: Falseenable_jit_checkpoint: Falsepush_to_hub: Falsehub_private_repo: Nonehub_model_id: Nonehub_strategy: every_savehub_always_push: Falsehub_revision: Noneload_best_model_at_end: Falseignore_data_skip: Falserestore_callback_states_from_checkpoint: Falsefull_determinism: Falseseed: 42data_seed: Noneuse_cpu: Falseaccelerator_config: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}parallelism_config: Nonedataloader_drop_last: Falsedataloader_num_workers: 8dataloader_pin_memory: Truedataloader_persistent_workers: Falsedataloader_prefetch_factor: Noneremove_unused_columns: Truelabel_names: Nonetrain_sampling_strategy: randomlength_column_name: lengthddp_find_unused_parameters: Noneddp_bucket_cap_mb: Noneddp_broadcast_buffers: Falseddp_static_graph: Noneddp_backend: Noneddp_timeout: 1800fsdp: Nonefsdp_config: Nonedeepspeed: Nonedebug: []skip_memory_metrics: Truedo_predict: Falseresume_from_checkpoint: Nonewarmup_ratio: Nonelocal_rank: -1prompts: Nonebatch_sampler: no_duplicatesmulti_dataset_batch_sampler: proportionalrouter_mapping: {}learning_rate_mapping: {}| Epoch | Step | Training Loss | Validation Loss | nsfw-ir-eval_cosine_ndcg@10 |
|---|---|---|---|---|
| 0.3125 | 280 | 14.1777 | - | - |
| 0.3237 | 290 | 13.0856 | - | - |
| 0.3348 | 300 | 13.0595 | - | - |
| 0.3460 | 310 | 13.2660 | - | - |
| 0.3571 | 320 | 13.9253 | - | - |
| 0.3683 | 330 | 13.0266 | - | - |
| 0.3795 | 340 | 12.9428 | - | - |
| 0.3906 | 350 | 13.0304 | - | - |
| 0.4018 | 360 | 13.0024 | - | - |
| 0.4129 | 370 | 12.4377 | - | - |
| 0.4241 | 380 | 12.8503 | - | - |
| 0.4353 | 390 | 11.5343 | - | - |
| 0.4464 | 400 | 13.6251 | - | - |
| 0.4576 | 410 | 12.6396 | - | - |
| 0.4688 | 420 | 12.0347 | - | - |
| 0.4799 | 430 | 12.5446 | - | - |
| 0.4911 | 440 | 12.1837 | - | - |
| 0.5022 | 450 | 13.3048 | - | - |
| 0.5134 | 460 | 13.1663 | - | - |
| 0.5246 | 470 | 12.7172 | - | - |
| 0.5357 | 480 | 13.5921 | - | - |
| 0.5469 | 490 | 12.6573 | - | - |
| 0.5580 | 500 | 12.0380 | - | - |
| 0.5692 | 510 | 12.3582 | - | - |
| 0.5804 | 520 | 12.2693 | - | - |
| 0.5915 | 530 | 12.0021 | - | - |
| 0.6027 | 540 | 13.1601 | - | - |
| 0.6138 | 550 | 11.7692 | - | - |
| 0.625 | 560 | 12.3722 | - | - |
| 0.6362 | 570 | 11.3196 | - | - |
| 0.6473 | 580 | 11.6348 | - | - |
| 0.6585 | 590 | 11.8007 | - | - |
| 0.6696 | 600 | 12.9399 | - | - |
| 0.6808 | 610 | 12.2507 | - | - |
| 0.6920 | 620 | 12.3191 | - | - |
| 0.7031 | 630 | 11.2547 | - | - |
| 0.7143 | 640 | 12.8182 | - | - |
| 0.7254 | 650 | 11.6674 | - | - |
| 0.7366 | 660 | 10.7994 | - | - |
| 0.7478 | 670 | 11.8420 | - | - |
| 0.7589 | 680 | 11.9707 | - | - |
| 0.7701 | 690 | 12.0791 | - | - |
| 0.7812 | 700 | 11.6418 | - | - |
| 0.7924 | 710 | 11.9785 | - | - |
| 0.8036 | 720 | 11.1946 | - | - |
| 0.8147 | 730 | 12.6947 | - | - |
| 0.8259 | 740 | 12.2069 | - | - |
| 0.8371 | 750 | 11.7020 | - | - |
| 0.8482 | 760 | 12.0197 | - | - |
| 0.8594 | 770 | 12.8374 | - | - |
| 0.8705 | 780 | 11.4478 | - | - |
| 0.8817 | 790 | 11.5673 | - | - |
| 0.8929 | 800 | 11.5145 | - | - |
| 0.9040 | 810 | 11.6466 | - | - |
| 0.9152 | 820 | 11.0412 | - | - |
| 0.9263 | 830 | 11.7764 | - | - |
| 0.9375 | 840 | 11.4838 | - | - |
| 0.9487 | 850 | 11.5468 | - | - |
| 0.9598 | 860 | 12.9759 | - | - |
| 0.9710 | 870 | 11.7273 | - | - |
| 0.9821 | 880 | 12.1682 | - | - |
| 0.9933 | 890 | 13.0278 | - | - |
| 1.0 | 896 | - | 12.2338 | 0.3066 |
| -1 | -1 | - | - | 0.3066 |
@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",
}
@misc{kusupati2024matryoshka,
title={Matryoshka Representation Learning},
author={Aditya Kusupati and Gantavya Bhatt and Aniket Rege and Matthew Wallingford and Aditya Sinha and Vivek Ramanujan and William Howard-Snyder and Kaifeng Chen and Sham Kakade and Prateek Jain and Ali Farhadi},
year={2024},
eprint={2205.13147},
archivePrefix={arXiv},
primaryClass={cs.LG}
}
@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}
}
<!--
## Glossary
*Clearly define terms in order to be accessible across audiences.*
-->
<!--
## Model Card Authors
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
-->
<!--
## Model Card Contact
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
-->