Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
dense
Generated from Trainer
dataset_size:111470
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Run this model with HF Jobs
Run redis/model-b-structured on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/redis/model-b-structured. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/redis/model-b-structured on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use redis/model-b-structured with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use redis/model-b-structured with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("redis/model-b-structured") sentences = [ "when was the first elephant brought to america", "Old Bet The first elephant brought to the United States was in 1796, aboard the America which set sail from Calcutta for New York on December 3, 1795.[4] However, it is not certain that this was Old Bet.[2] The first references to Old Bet start in 1804 in Boston as part of a menagerie.[1] In 1808, while residing in Somers, New York, Hachaliah Bailey purchased the menagerie elephant for $1,000 and named it \"Old Bet\".[5][6]", "Cronus Rhea secretly gave birth to Zeus in Crete, and handed Cronus a stone wrapped in swaddling clothes, also known as the Omphalos Stone, which he promptly swallowed, thinking that it was his son.", "Renal artery One or two accessory renal arteries are frequently found, especially on the left side since they usually arise from the aorta, and may come off above (more common) or below the main artery. Instead of entering the kidney at the hilus, they usually pierce the upper or lower part of the organ." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Add new SentenceTransformer model
Browse filesFiles changed (4)
1234567{"word_embedding_dimension": 768,"pooling_mode_cls_token": true,"pooling_mode_mean_tokens": false,"pooling_mode_max_tokens": false,"pooling_mode_mean_sqrt_len_tokens": false,"pooling_mode_weightedmean_tokens": false,1234567{"word_embedding_dimension": 384,"pooling_mode_cls_token": false,"pooling_mode_mean_tokens": true,"pooling_mode_max_tokens": false,"pooling_mode_mean_sqrt_len_tokens": false,"pooling_mode_weightedmean_tokens": false,
6 unmodified lines7891011121345 unmodified lines596061626364653 unmodified lines697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161173 unmodified lines1211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681693 unmodified lines1731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342359 unmodified lines24524624724824925025125221 unmodified lines27427527627727827928028128228328428528628729 unmodified lines31731831932032132232332432532632732832933033133233333433533633733833911 unmodified lines35135235335435535635735835936036136236336436536636736836937037119 unmodified lines39139239339439539639719 unmodified lines417418419420421422423158 unmodified lines5825835845855865875885895905915925935945955965975985996006016026036046056066076086 unmodified lines- generated_from_trainer- dataset_size:713743- loss:MultipleNegativesRankingLossbase_model: Alibaba-NLP/gte-modernbert-basewidget:- source_sentence: 'Abraham Lincoln: Why is the Gettysburg Address so memorable?'sentences:45 unmodified lines- cosine_mrr@10- cosine_map@100model-index:- name: SentenceTransformer based on Alibaba-NLP/gte-modernbert-baseresults:- task:type: information-retrieval3 unmodified linestype: NanoMSMARCOmetrics:- type: cosine_accuracy@1value: 0.38name: Cosine Accuracy@1- type: cosine_accuracy@3value: 0.54name: Cosine Accuracy@3- type: cosine_accuracy@5value: 0.68name: Cosine Accuracy@5- type: cosine_accuracy@10value: 0.8name: Cosine Accuracy@10- type: cosine_precision@1value: 0.38name: Cosine Precision@1- type: cosine_precision@3value: 0.18name: Cosine Precision@3- type: cosine_precision@5value: 0.136name: Cosine Precision@5- type: cosine_precision@10value: 0.08name: Cosine Precision@10- type: cosine_recall@1value: 0.38name: Cosine Recall@1- type: cosine_recall@3value: 0.54name: Cosine Recall@3- type: cosine_recall@5value: 0.68name: Cosine Recall@5- type: cosine_recall@10value: 0.8name: Cosine Recall@10- type: cosine_ndcg@10value: 0.5686686381597302name: Cosine Ndcg@10- type: cosine_mrr@10value: 0.49702380952380953name: Cosine Mrr@10- type: cosine_map@100value: 0.5063338862610184name: Cosine Map@100- task:type: information-retrieval3 unmodified linestype: NanoNQmetrics:- type: cosine_accuracy@1value: 0.4name: Cosine Accuracy@1- type: cosine_accuracy@3value: 0.56name: Cosine Accuracy@3- type: cosine_accuracy@5value: 0.6name: Cosine Accuracy@5- type: cosine_accuracy@10value: 0.66name: Cosine Accuracy@10- type: cosine_precision@1value: 0.4name: Cosine Precision@1- type: cosine_precision@3value: 0.2name: Cosine Precision@3- type: cosine_precision@5value: 0.12800000000000003name: Cosine Precision@5- type: cosine_precision@10value: 0.07name: Cosine Precision@10- type: cosine_recall@1value: 0.36name: Cosine Recall@1- type: cosine_recall@3value: 0.54name: Cosine Recall@3- type: cosine_recall@5value: 0.58name: Cosine Recall@5- type: cosine_recall@10value: 0.63name: Cosine Recall@10- type: cosine_ndcg@10value: 0.5105228253020769name: Cosine Ndcg@10- type: cosine_mrr@10value: 0.48852380952380947name: Cosine Mrr@10- type: cosine_map@100value: 0.4728184565167554name: Cosine Map@100- task:type: nano-beir3 unmodified linestype: NanoBEIR_meanmetrics:- type: cosine_accuracy@1value: 0.39name: Cosine Accuracy@1- type: cosine_accuracy@3value: 0.55name: Cosine Accuracy@3- type: cosine_accuracy@5value: 0.64name: Cosine Accuracy@5- type: cosine_accuracy@10value: 0.73name: Cosine Accuracy@10- type: cosine_precision@1value: 0.39name: Cosine Precision@1- type: cosine_precision@3value: 0.19name: Cosine Precision@3- type: cosine_precision@5value: 0.132name: Cosine Precision@5- type: cosine_precision@10value: 0.07500000000000001name: Cosine Precision@10- type: cosine_recall@1value: 0.37name: Cosine Recall@1- type: cosine_recall@3value: 0.54name: Cosine Recall@3- type: cosine_recall@5value: 0.63name: Cosine Recall@5- type: cosine_recall@10value: 0.7150000000000001name: Cosine Recall@10- type: cosine_ndcg@10value: 0.5395957317309036name: Cosine Ndcg@10- type: cosine_mrr@10value: 0.4927738095238095name: Cosine Mrr@10- type: cosine_map@100value: 0.48957617138888687name: Cosine Map@100---# SentenceTransformer based on Alibaba-NLP/gte-modernbert-baseThis is a [sentence-transformers](https://www.SBERT.net) model finetuned from [Alibaba-NLP/gte-modernbert-base](https://huggingface.co/Alibaba-NLP/gte-modernbert-base). It maps sentences & paragraphs to a 768-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:** [Alibaba-NLP/gte-modernbert-base](https://huggingface.co/Alibaba-NLP/gte-modernbert-base) <!-- at revision e7f32e3c00f91d699e8c43b53106206bcc72bb22 -->- **Maximum Sequence Length:** 128 tokens- **Output Dimensionality:** 768 dimensions- **Similarity Function:** Cosine Similarity<!-- - **Training Dataset:** Unknown --><!-- - **Language:** Unknown -->9 unmodified lines```SentenceTransformer((0): Transformer({'max_seq_length': 128, 'do_lower_case': False, 'architecture': 'ModernBertModel'})(1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': True, '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': False, 'include_prompt': True}))```21 unmodified lines]embeddings = model.encode(sentences)print(embeddings.shape)# [3, 768]# Get the similarity scores for the embeddingssimilarities = model.similarity(embeddings, embeddings)print(similarities)# tensor([[ 1.0000, 1.0000, -0.0629],# [ 1.0000, 1.0000, -0.0629],# [-0.0629, -0.0629, 1.0001]])```<!--29 unmodified lines* Datasets: `NanoMSMARCO` and `NanoNQ`* Evaluated with [<code>InformationRetrievalEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.InformationRetrievalEvaluator)| Metric | NanoMSMARCO | NanoNQ ||:--------------------|:------------|:-----------|| cosine_accuracy@1 | 0.38 | 0.4 || cosine_accuracy@3 | 0.54 | 0.56 || cosine_accuracy@5 | 0.68 | 0.6 || cosine_accuracy@10 | 0.8 | 0.66 || cosine_precision@1 | 0.38 | 0.4 || cosine_precision@3 | 0.18 | 0.2 || cosine_precision@5 | 0.136 | 0.128 || cosine_precision@10 | 0.08 | 0.07 || cosine_recall@1 | 0.38 | 0.36 || cosine_recall@3 | 0.54 | 0.54 || cosine_recall@5 | 0.68 | 0.58 || cosine_recall@10 | 0.8 | 0.63 || **cosine_ndcg@10** | **0.5687** | **0.5105** || cosine_mrr@10 | 0.497 | 0.4885 || cosine_map@100 | 0.5063 | 0.4728 |#### Nano BEIR11 unmodified lines| Metric | Value ||:--------------------|:-----------|| cosine_accuracy@1 | 0.39 || cosine_accuracy@3 | 0.55 || cosine_accuracy@5 | 0.64 || cosine_accuracy@10 | 0.73 || cosine_precision@1 | 0.39 || cosine_precision@3 | 0.19 || cosine_precision@5 | 0.132 || cosine_precision@10 | 0.075 || cosine_recall@1 | 0.37 || cosine_recall@3 | 0.54 || cosine_recall@5 | 0.63 || cosine_recall@10 | 0.715 || **cosine_ndcg@10** | **0.5396** || cosine_mrr@10 | 0.4928 || cosine_map@100 | 0.4896 |<!--## Bias, Risks and Limitations19 unmodified lines| | anchor | positive | negative ||:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|| type | string | string | string || details | <ul><li>min: 6 tokens</li><li>mean: 15.96 tokens</li><li>max: 53 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 15.93 tokens</li><li>max: 53 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 16.72 tokens</li><li>max: 59 tokens</li></ul> |* Samples:| anchor | positive | negative ||:-------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------|19 unmodified lines| | anchor | positive | negative ||:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|| type | string | string | string || details | <ul><li>min: 7 tokens</li><li>mean: 15.47 tokens</li><li>max: 70 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 15.48 tokens</li><li>max: 70 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 16.76 tokens</li><li>max: 67 tokens</li></ul> |* Samples:| anchor | positive | negative ||:-------------------------------------------------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------|158 unmodified lines### Training Logs| Epoch | Step | Training Loss | Validation Loss | NanoMSMARCO_cosine_ndcg@10 | NanoNQ_cosine_ndcg@10 | NanoBEIR_mean_cosine_ndcg@10 ||:------:|:----:|:-------------:|:---------------:|:--------------------------:|:---------------------:|:----------------------------:|| 0 | 0 | - | 2.2389 | 0.6530 | 0.6552 | 0.6541 || 0.0448 | 250 | 1.0022 | 0.4154 | 0.6615 | 0.5429 | 0.6022 || 0.0897 | 500 | 0.3871 | 0.3658 | 0.6042 | 0.4458 | 0.5250 || 0.1345 | 750 | 0.3575 | 0.3479 | 0.5819 | 0.5160 | 0.5489 || 0.1793 | 1000 | 0.3454 | 0.3355 | 0.5976 | 0.5595 | 0.5785 || 0.2242 | 1250 | 0.337 | 0.3284 | 0.5901 | 0.4544 | 0.5223 || 0.2690 | 1500 | 0.3291 | 0.3235 | 0.6138 | 0.5729 | 0.5933 || 0.3138 | 1750 | 0.323 | 0.3182 | 0.6210 | 0.5608 | 0.5909 || 0.3587 | 2000 | 0.3206 | 0.3141 | 0.6139 | 0.5474 | 0.5807 || 0.4035 | 2250 | 0.3151 | 0.3120 | 0.6275 | 0.5665 | 0.5970 || 0.4484 | 2500 | 0.3132 | 0.3093 | 0.6059 | 0.5349 | 0.5704 || 0.4932 | 2750 | 0.3087 | 0.3072 | 0.6011 | 0.5305 | 0.5658 || 0.5380 | 3000 | 0.3065 | 0.3051 | 0.5816 | 0.5057 | 0.5436 || 0.5829 | 3250 | 0.3044 | 0.3033 | 0.5959 | 0.5203 | 0.5581 || 0.6277 | 3500 | 0.3053 | 0.3018 | 0.5817 | 0.5185 | 0.5501 || 0.6725 | 3750 | 0.3028 | 0.3006 | 0.5744 | 0.5052 | 0.5398 || 0.7174 | 4000 | 0.3018 | 0.2996 | 0.5783 | 0.5190 | 0.5487 || 0.7622 | 4250 | 0.3011 | 0.2994 | 0.5679 | 0.4959 | 0.5319 || 0.8070 | 4500 | 0.3009 | 0.2979 | 0.5689 | 0.5068 | 0.5378 || 0.8519 | 4750 | 0.2985 | 0.2975 | 0.5687 | 0.5135 | 0.5411 || 0.8967 | 5000 | 0.2995 | 0.2971 | 0.5687 | 0.5105 | 0.5396 |### Framework Versions6 unmodified lines7891011121345 unmodified lines596061626364653 unmodified lines697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161173 unmodified lines1211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681693 unmodified lines1731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342359 unmodified lines24524624724824925025125225321 unmodified lines27527627727827928028128228328428528628728829 unmodified lines31831932032132232332432532632732832933033133233333433533633733833934011 unmodified lines35235335435535635735835936036136236336436536636736836937037137219 unmodified lines39239339439539639739819 unmodified lines418419420421422423424158 unmodified lines5835845855865875885895905915925935945955965975985996006016026036046056066076086096 unmodified lines- generated_from_trainer- dataset_size:713743- loss:MultipleNegativesRankingLossbase_model: sentence-transformers/all-MiniLM-L6-v2widget:- source_sentence: 'Abraham Lincoln: Why is the Gettysburg Address so memorable?'sentences:45 unmodified lines- cosine_mrr@10- cosine_map@100model-index:- name: SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2results:- task:type: information-retrieval3 unmodified linestype: NanoMSMARCOmetrics:- type: cosine_accuracy@1value: 0.26name: Cosine Accuracy@1- type: cosine_accuracy@3value: 0.52name: Cosine Accuracy@3- type: cosine_accuracy@5value: 0.6name: Cosine Accuracy@5- type: cosine_accuracy@10value: 0.62name: Cosine Accuracy@10- type: cosine_precision@1value: 0.26name: Cosine Precision@1- type: cosine_precision@3value: 0.1733333333333333name: Cosine Precision@3- type: cosine_precision@5value: 0.12name: Cosine Precision@5- type: cosine_precision@10value: 0.062name: Cosine Precision@10- type: cosine_recall@1value: 0.26name: Cosine Recall@1- type: cosine_recall@3value: 0.52name: Cosine Recall@3- type: cosine_recall@5value: 0.6name: Cosine Recall@5- type: cosine_recall@10value: 0.62name: Cosine Recall@10- type: cosine_ndcg@10value: 0.45904886208148177name: Cosine Ndcg@10- type: cosine_mrr@10value: 0.40519047619047627name: Cosine Mrr@10- type: cosine_map@100value: 0.4260102142025637name: Cosine Map@100- task:type: information-retrieval3 unmodified linestype: NanoNQmetrics:- type: cosine_accuracy@1value: 0.32name: Cosine Accuracy@1- type: cosine_accuracy@3value: 0.5name: Cosine Accuracy@3- type: cosine_accuracy@5value: 0.6name: Cosine Accuracy@5- type: cosine_accuracy@10value: 0.62name: Cosine Accuracy@10- type: cosine_precision@1value: 0.32name: Cosine Precision@1- type: cosine_precision@3value: 0.1733333333333333name: Cosine Precision@3- type: cosine_precision@5value: 0.128name: Cosine Precision@5- type: cosine_precision@10value: 0.066name: Cosine Precision@10- type: cosine_recall@1value: 0.3name: Cosine Recall@1- type: cosine_recall@3value: 0.47name: Cosine Recall@3- type: cosine_recall@5value: 0.58name: Cosine Recall@5- type: cosine_recall@10value: 0.6name: Cosine Recall@10- type: cosine_ndcg@10value: 0.4619884812398348name: Cosine Ndcg@10- type: cosine_mrr@10value: 0.4272222222222222name: Cosine Mrr@10- type: cosine_map@100value: 0.42411471333193373name: Cosine Map@100- task:type: nano-beir3 unmodified linestype: NanoBEIR_meanmetrics:- type: cosine_accuracy@1value: 0.29000000000000004name: Cosine Accuracy@1- type: cosine_accuracy@3value: 0.51name: Cosine Accuracy@3- type: cosine_accuracy@5value: 0.6name: Cosine Accuracy@5- type: cosine_accuracy@10value: 0.62name: Cosine Accuracy@10- type: cosine_precision@1value: 0.29000000000000004name: Cosine Precision@1- type: cosine_precision@3value: 0.1733333333333333name: Cosine Precision@3- type: cosine_precision@5value: 0.124name: Cosine Precision@5- type: cosine_precision@10value: 0.064name: Cosine Precision@10- type: cosine_recall@1value: 0.28name: Cosine Recall@1- type: cosine_recall@3value: 0.495name: Cosine Recall@3- type: cosine_recall@5value: 0.59name: Cosine Recall@5- type: cosine_recall@10value: 0.61name: Cosine Recall@10- type: cosine_ndcg@10value: 0.4605186716606583name: Cosine Ndcg@10- type: cosine_mrr@10value: 0.41620634920634925name: Cosine Mrr@10- type: cosine_map@100value: 0.4250624637672487name: Cosine Map@100---# SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2). It maps sentences & paragraphs to a 384-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:** [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) <!-- at revision c9745ed1d9f207416be6d2e6f8de32d1f16199bf -->- **Maximum Sequence Length:** 128 tokens- **Output Dimensionality:** 384 dimensions- **Similarity Function:** Cosine Similarity<!-- - **Training Dataset:** Unknown --><!-- - **Language:** Unknown -->9 unmodified lines```SentenceTransformer((0): Transformer({'max_seq_length': 128, 'do_lower_case': False, 'architecture': 'BertModel'})(1): Pooling({'word_embedding_dimension': 384, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})(2): Normalize())```21 unmodified lines]embeddings = model.encode(sentences)print(embeddings.shape)# [3, 384]# Get the similarity scores for the embeddingssimilarities = model.similarity(embeddings, embeddings)print(similarities)# tensor([[ 1.0000, 1.0000, -0.0482],# [ 1.0000, 1.0000, -0.0482],# [-0.0482, -0.0482, 1.0000]])```<!--29 unmodified lines* Datasets: `NanoMSMARCO` and `NanoNQ`* Evaluated with [<code>InformationRetrievalEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.InformationRetrievalEvaluator)| Metric | NanoMSMARCO | NanoNQ ||:--------------------|:------------|:----------|| cosine_accuracy@1 | 0.26 | 0.32 || cosine_accuracy@3 | 0.52 | 0.5 || cosine_accuracy@5 | 0.6 | 0.6 || cosine_accuracy@10 | 0.62 | 0.62 || cosine_precision@1 | 0.26 | 0.32 || cosine_precision@3 | 0.1733 | 0.1733 || cosine_precision@5 | 0.12 | 0.128 || cosine_precision@10 | 0.062 | 0.066 || cosine_recall@1 | 0.26 | 0.3 || cosine_recall@3 | 0.52 | 0.47 || cosine_recall@5 | 0.6 | 0.58 || cosine_recall@10 | 0.62 | 0.6 || **cosine_ndcg@10** | **0.459** | **0.462** || cosine_mrr@10 | 0.4052 | 0.4272 || cosine_map@100 | 0.426 | 0.4241 |#### Nano BEIR11 unmodified lines| Metric | Value ||:--------------------|:-----------|| cosine_accuracy@1 | 0.29 || cosine_accuracy@3 | 0.51 || cosine_accuracy@5 | 0.6 || cosine_accuracy@10 | 0.62 || cosine_precision@1 | 0.29 || cosine_precision@3 | 0.1733 || cosine_precision@5 | 0.124 || cosine_precision@10 | 0.064 || cosine_recall@1 | 0.28 || cosine_recall@3 | 0.495 || cosine_recall@5 | 0.59 || cosine_recall@10 | 0.61 || **cosine_ndcg@10** | **0.4605** || cosine_mrr@10 | 0.4162 || cosine_map@100 | 0.4251 |<!--## Bias, Risks and Limitations19 unmodified lines| | anchor | positive | negative ||:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|| type | string | string | string || details | <ul><li>min: 6 tokens</li><li>mean: 16.07 tokens</li><li>max: 53 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 16.03 tokens</li><li>max: 53 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 16.81 tokens</li><li>max: 58 tokens</li></ul> |* Samples:| anchor | positive | negative ||:-------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------|19 unmodified lines| | anchor | positive | negative ||:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|| type | string | string | string || details | <ul><li>min: 6 tokens</li><li>mean: 15.52 tokens</li><li>max: 74 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 15.51 tokens</li><li>max: 74 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 16.79 tokens</li><li>max: 69 tokens</li></ul> |* Samples:| anchor | positive | negative ||:-------------------------------------------------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------|158 unmodified lines### Training Logs| Epoch | Step | Training Loss | Validation Loss | NanoMSMARCO_cosine_ndcg@10 | NanoNQ_cosine_ndcg@10 | NanoBEIR_mean_cosine_ndcg@10 ||:------:|:----:|:-------------:|:---------------:|:--------------------------:|:---------------------:|:----------------------------:|| 0 | 0 | - | 0.7908 | 0.5540 | 0.5931 | 0.5735 || 0.0448 | 250 | 0.7632 | 0.4756 | 0.5373 | 0.5302 | 0.5337 || 0.0897 | 500 | 0.5825 | 0.4308 | 0.5277 | 0.4949 | 0.5113 || 0.1345 | 750 | 0.5438 | 0.4161 | 0.5180 | 0.5039 | 0.5110 || 0.1793 | 1000 | 0.5277 | 0.4070 | 0.5008 | 0.4875 | 0.4942 || 0.2242 | 1250 | 0.516 | 0.4012 | 0.4983 | 0.4779 | 0.4881 || 0.2690 | 1500 | 0.5049 | 0.3962 | 0.4923 | 0.4777 | 0.4850 || 0.3138 | 1750 | 0.4966 | 0.3931 | 0.4789 | 0.4769 | 0.4779 || 0.3587 | 2000 | 0.493 | 0.3894 | 0.4792 | 0.4616 | 0.4704 || 0.4035 | 2250 | 0.4852 | 0.3866 | 0.4828 | 0.4749 | 0.4788 || 0.4484 | 2500 | 0.4815 | 0.3841 | 0.4589 | 0.4559 | 0.4574 || 0.4932 | 2750 | 0.4761 | 0.3820 | 0.4647 | 0.4539 | 0.4593 || 0.5380 | 3000 | 0.4747 | 0.3796 | 0.4588 | 0.4493 | 0.4540 || 0.5829 | 3250 | 0.4722 | 0.3786 | 0.4588 | 0.4458 | 0.4523 || 0.6277 | 3500 | 0.4725 | 0.3774 | 0.4587 | 0.4537 | 0.4562 || 0.6725 | 3750 | 0.4692 | 0.3766 | 0.4561 | 0.4621 | 0.4591 || 0.7174 | 4000 | 0.4664 | 0.3763 | 0.4584 | 0.4395 | 0.4489 || 0.7622 | 4250 | 0.4659 | 0.3747 | 0.4645 | 0.4586 | 0.4616 || 0.8070 | 4500 | 0.464 | 0.3742 | 0.4619 | 0.4479 | 0.4549 || 0.8519 | 4750 | 0.4662 | 0.3739 | 0.4590 | 0.4498 | 0.4544 || 0.8967 | 5000 | 0.4662 | 0.3739 | 0.4590 | 0.4620 | 0.4605 |### Framework Versions
3 unmodified lines45678910111213143 unmodified lines"transformers": "4.57.3","pytorch": "2.9.1+cu128"},"prompts": {"query": "","document": ""},"default_prompt_name": null,"similarity_fn_name": "cosine","model_type": "SentenceTransformer"}3 unmodified lines45678910111213143 unmodified lines"transformers": "4.57.3","pytorch": "2.9.1+cu128"},"model_type": "SentenceTransformer","prompts": {"query": "","document": ""},"default_prompt_name": null,"similarity_fn_name": "cosine"}
9 unmodified lines10111213149 unmodified lines"name": "1","path": "1_Pooling","type": "sentence_transformers.models.Pooling"}]9 unmodified lines10111213141516171819209 unmodified lines"name": "1","path": "1_Pooling","type": "sentence_transformers.models.Pooling"},{"idx": 2,"name": "2","path": "2_Normalize","type": "sentence_transformers.models.Normalize"}]
1_Pooling/config.json+3-3
README.md+111-110
config_sentence_transformers.json+2-2
modules.json+6