/ Модель

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

Лицензия
Apache 2.0
Библиотека
sentence-transformers
Опубликована
25 окт 2024

static-similarity-mrl-multilingual-v1

ЭмбеддингиТекст → embedding
3скачиваний за 30 дней84лайкавеса обновлены1 авг 2026

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

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

Русское описание этой модели ещё готовится. Пока можно заглянуть в карточку модели от автора ниже.

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

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

AFQMC

0,1664

Один прогон

Направление метрики неизвестно, сравнение не строится

MTEB

AILACasedocs

0,2202

Один прогон

Направление метрики неизвестно, сравнение не строится

MTEB

AILAStatutes

0,1663

Один прогон

Направление метрики неизвестно, сравнение не строится

MTEB

ARCChallenge

0,0435

Один прогон

Направление метрики неизвестно, сравнение не строится

MTEB

ATEC

0,2633

Один прогон

Направление метрики неизвестно, сравнение не строится

MTEB

AfriHateClassification

0,4305

15 результатов: 0,3523–0,5506

Направление метрики неизвестно, сравнение не строится

MTEB

Бенчмарки пользователейпока нет

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

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

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

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

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

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

Открыть на Hugging Face

Static Embeddings with BERT Multilingual uncased tokenizer finetuned on various datasets

This is a sentence-transformers model trained on the wikititles, tatoeba, talks, europarl, global_voices, muse, wikimatrix, opensubtitles, stackexchange, quora, wikianswers_duplicates, all_nli, simple_wiki, altlex, flickr30k_captions, coco_captions, nli_for_simcse and negation datasets. It maps sentences & paragraphs to a 1024-dimensional dense vector space and can be used for semantic textual similarity, paraphrase mining, text classification, clustering, and more.

Read our Static Embeddings blogpost to learn more about this model and how it was trained.

  • 0 Active Parameters: This model does not use any active parameters, instead consisting exclusively of averaging pre-computed token embeddings.
  • 100x to 400x faster: On CPU, this model is 100x to 400x faster than common options like multilingual-e5-small. On GPU, it's 10x to 25x faster.
  • Matryoshka: This model was trained with a Matryoshka loss, allowing you to truncate the embeddings for faster retrieval at minimal performance costs.
  • Evaluations: See Evaluations for details on performance on NanoBEIR, embedding speed, and Matryoshka dimensionality truncation.
  • Training Script: See train.py for the training script used to train this model from scratch.

See static-retrieval-mrl-en-v1 for an English static embedding model that has been finetuned specifically for retrieval tasks.

Model Details

Model Description

  • Model Type: Sentence Transformer

Model Sources

Full Model Architecture

SentenceTransformer(
  (0): StaticEmbedding(
    (embedding): EmbeddingBag(105879, 1024, mode='mean')
  )
)

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("tomaarsen/static-similarity-mrl-multilingual-v1")
# Run inference
sentences = [
    'It is known for its dry red chili powder .',
    'It is popular for dry red chili powder .',
    'These monsters will move in large groups .',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 1024]

# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]

This model was trained with Matryoshka loss, allowing this model to be used with lower dimensionalities with minimal performance loss. Notably, a lower dimensionality allows for much faster downstream tasks, such as clustering or classification. You can specify a lower dimensionality with the truncate_dim argument when initializing the Sentence Transformer model:

from sentence_transformers import SentenceTransformer

model = SentenceTransformer("sentence-transformers/static-similarity-mrl-multilingual-v1", truncate_dim=256)
embeddings = model.encode([
    "I used to hate him.",
    "Раньше я ненавидел его."
])
print(embeddings.shape)
# => (2, 256)

Evaluation

We've evaluated the model on 5 languages which have a lot of benchmarks across various tasks on MTEB.

We want to reiterate that this model is not intended for retrieval use cases. Instead, we evaluate on Semantic Textual Similarity (STS), Classification, and Pair Classification. We compare against the excellent and small multilingual-e5-small model.

Across all measured languages, static-similarity-mrl-multilingual-v1 reaches an average 92.3% for STS, 95.52% for Pair Classification, and 86.52% for Classification relative to multilingual-e5-small.

To make up for this performance reduction, static-similarity-mrl-multilingual-v1 is approximately ~125x faster on CPU and ~10x faster on GPU devices than multilingual-e5-small. Due to the super-linear nature of attention models, versus the linear nature of static embedding models, the speedup will only grow larger as the number of tokens to encode increases.

Matryoshka Evaluation

Lastly, we experimented with the impacts on English STS on MTEB performance when we did Matryoshka-style dimensionality reduction by truncating the output embeddings to a lower dimensionality.

English STS MTEB performance vs Matryoshka dimensionality reduction

As you can see, you can easily reduce the dimensionality by 2x or 4x with minor (0.15% or 0.56%) performance hits. If the speed of your downstream task or your storage costs are a bottleneck, this should allow you to alleviate some of those concerns.

Training Details

Training Datasets

  • Dataset: wikititles at d92a4d2
  • Size: 14,700,458 training samples
  • Columns: english and non_english
  • Approximate statistics based on the first 1000 samples:
    englishnon_english
    typestringstring
    detailsmin: 4 charactersmean: 18.33 charactersmax: 84 charactersmin: 4 charactersmean: 17.19 charactersmax: 109 characters
  • Samples:
    englishnon_english
    Le VintrouЛе-Вентру
    GreeningBegrünung
    Warrapواراب (توضيح)
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: tatoeba at cec1343
  • Size: 4,138,956 training samples
  • Columns: english and non_english
  • Approximate statistics based on the first 1000 samples:
    englishnon_english
    typestringstring
    detailsmin: 5 charactersmean: 31.59 charactersmax: 196 charactersmin: 6 charactersmean: 30.95 charactersmax: 161 characters
  • Samples:
    englishnon_english
    I used to hate him.Раньше я ненавидел его.
    It is nothing less than an insult to her.それはまさに彼女に対する侮辱だ。
    I've apologized, so lay off, OK?謝ったんだから、さっきのはチャラにしてよ。
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: talks at 0c70bc6
  • Size: 9,750,031 training samples
  • Columns: english and non_english
  • Approximate statistics based on the first 1000 samples:
    englishnon_english
    typestringstring
    detailsmin: 5 charactersmean: 94.41 charactersmax: 493 charactersmin: 4 charactersmean: 82.49 charactersmax: 452 characters
  • Samples:
    englishnon_english
    (Laughter) EC: But beatbox started here in New York.(Skratt) EC: Fast beatbox började här i New York.
    I did not have enough money to buy food, and so to forget my hunger, I started singing."食べ物を買うお金もなかった だから 空腹を忘れるために 歌を歌い始めたの」
    That is another 25 million barrels a day.那时还要增加两千五百万桶的原油。
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: europarl at 11007ec
  • Size: 4,990,000 training samples
  • Columns: english and non_english
  • Approximate statistics based on the first 1000 samples:
    englishnon_english
    typestringstring
    detailsmin: 0 charactersmean: 147.77 charactersmax: 668 charactersmin: 0 charactersmean: 153.13 charactersmax: 971 characters
  • Samples:
    englishnon_english
    (SK) I would like to stress three key points in relation to this issue.(SK) Chtěla bych zdůraznit tři klíčové body, které jsou s tímto tématem spojeny.
    Women have a higher recorded rate of unemployment, especially long term unemployment.Blandt kvinder registreres større arbejdsløshed, især blandt langtidsarbejdsløse.
    You will recall that we have occasionally had disagreements over how to interpret Rule 166 of our Rules of Procedure and that certain Members thought that the Presidency was not applying it properly, since it was not giving the floor for points of order that did not refer to the issue that was being debated at that moment.De husker nok, at vi til tider har været uenige om fortolkningen af artikel 166 i vores forretningsorden, og at nogle af medlemmerne mente, at formanden ikke anvendte den korrekt, eftersom han ikke gav ordet til indlæg til forretningsordenen, når det ikke drejede sig om det spørgsmål, der blev drøftet på det pågældende tidspunkt.
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: global_voices at 4cc20ad
  • Size: 1,099,099 training samples
  • Columns: english and non_english
  • Approximate statistics based on the first 1000 samples:
    englishnon_english
    typestringstring
    detailsmin: 5 charactersmean: 115.13 charactersmax: 740 charactersmin: 3 charactersmean: 119.89 charactersmax: 801 characters
  • Samples:
    englishnon_english
    Generation 9/11: Cristina Balli (USA) from British Council USA on Vimeo.Генерација 9/11: Кристина Бали (САД) од Британскиот совет САД на Вимео.
    Jamaica: Mapping the state of emergency · Global VoicesJamaica: Mapeando el estado de emergencia
    It takes more than courage or bravery to do such a... http://fb.me/12T47y0MlΘέλει κάτι παραπάνω από κουράγιο ή ανδρεία για να κάνεις κάτι τέτοιο... http://fb.me/12T47y0Ml
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: muse at 238c077
  • Size: 1,368,274 training samples
  • Columns: english and non_english
  • Approximate statistics based on the first 1000 samples:
    englishnon_english
    typestringstring
    detailsmin: 3 charactersmean: 7.38 charactersmax: 16 charactersmin: 1 charactersmean: 7.33 charactersmax: 18 characters
  • Samples:
    englishnon_english
    metrometrou
    suggest제안
    nnwnno
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: wikimatrix at 74a4cb1
  • Size: 9,688,498 training samples
  • Columns: english and non_english
  • Approximate statistics based on the first 1000 samples:
    englishnon_english
    typestringstring
    detailsmin: 16 charactersmean: 124.31 charactersmax: 418 charactersmin: 11 charactersmean: 129.99 charactersmax: 485 characters
  • Samples:
    englishnon_english
    3) A set of wikis to support collaboration activities and disseminate information about good practices.3) Un conjunt de wikis per donar suport a les activitats de col·laboració i difusió d'informació sobre bones pràctiques.
    Daily cruiseferry services operate to Copenhagen and Frederikshavn in Denmark, and to Kiel in Germany.Dịch vụ phà du lịch hàng ngày vận hành tới Copenhagen và Frederikshavn tại Đan Mạch, và tới Kiel tại Đức.
    In late April 1943, Philipp was ordered to report to Hitler's headquarters, where he stayed for most of the next four months.Sent i april 1943 fick Philipp ordern att rapportera till Hitlers högkvarter, där han stannade i fyra månader.
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: opensubtitles at d86a387
  • Size: 4,990,000 training samples
  • Columns: english and non_english
  • Approximate statistics based on the first 1000 samples:
    englishnon_english
    typestringstring
    detailsmin: 0 charactersmean: 34.43 charactersmax: 220 charactersmin: 0 charactersmean: 26.99 charactersmax: 118 characters
  • Samples:
    englishnon_english
    Would you send a tomato juice, black coffee and a masseur?هل لك أن ترسل لي عصير طماطم قهوة سوداء.. والمدلك!
    To hear the angels singلكى تسمع غناء الملائكه
    Brace yourself." تمالك نفسك " بريكر
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: stackexchange at 1c9657a
  • Size: 250,519 training samples
  • Columns: post1 and post2
  • Approximate statistics based on the first 1000 samples:
    post1post2
    typestringstring
    detailsmin: 77 charactersmean: 669.56 charactersmax: 3982 charactersmin: 81 charactersmean: 641.44 charactersmax: 4053 characters
  • Samples:
    post1post2
    New user question about passwords Just got a refurbished computer with Ubuntu as the OS. Have never even heard of the OS and now I'm trying to learn. When I boot the system, it starts up great. But, if I try to navigate around, it requires a password. Is there a trick to finding the initial password? Please advise.How do I reset a lost administrative password? I'm working on a Ubuntu system, and my client has completely forgotten his administrative password. He doesn't even remember entering one; however it is there. I've tried the suggestions on the website, and I have been unsuccessful in deleting the password so that I can download applets required for running some files. Is there a solution?
    Reorder a list of string randomly but constant in a period of time I need to reorder a list in a random way but I want to have the same result on a short period of time ... So I have: var list = new String[] { "Angie", "David", "Emily", "James" } var shuffled = list.OrderBy(v => "4a78926c")).ToList(); But I always get the same order ... I could use Guid.NewGuid() but then I would have a different result in a short period of time. How can I do this?Randomize a List What is the best way to randomize the order of a generic list in C#? I've got a finite set of 75 numbers in a list I would like to assign a random order to, in order to draw them for a lottery type application.
    Made a mistake on check need help to fix I wrote a check and put the amount in the pay to order spot. Can I just mark it out, put the name in the spot and finish writing the check?How to correct a mistake made when writing a check? I think I know the answer to this, but I'm not sure, and it's a good question, so I'll ask: What is the accepted/proper way to correct a mistake made on a check? For instance, I imagine that in any given January, some people accidentally date a check in the previous year. Is there a way to correct such a mistake, or must a check be voided (and wasted)? Pointers to definitive information (U.S., Canada, and elsewhere) are helpful.
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: quora at 451a485
  • Size: 101,762 training samples
  • Columns: anchor, positive, and negative
  • Approximate statistics based on the first 1000 samples:
    anchorpositivenegative
    typestringstringstring
    detailsmin: 16 charactersmean: 53.47 charactersmax: 249 charactersmin: 16 charactersmean: 52.63 charactersmax: 237 charactersmin: 14 charactersmean: 54.67 charactersmax: 292 characters
  • Samples:
    anchorpositivenegative
    What food should I try in Brazil?Which foods should I try in Brazil?What meat should one eat in Argentina?
    What is the best way to get a threesome?How does one find a threesome?How is the experience of a threesome?
    Whether I do CA or MBA? Which is better?Which is better CA or MBA?Which is better CA or IT?
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: wikianswers_duplicates at 9af6367
  • Size: 9,990,000 training samples
  • Columns: anchor and positive
  • Approximate statistics based on the first 1000 samples:
    anchorpositive
    typestringstring
    detailsmin: 14 charactersmean: 47.39 charactersmax: 151 charactersmin: 15 charactersmean: 47.58 charactersmax: 154 characters
  • Samples:
    anchorpositive
    Did Democritus belive matter was continess?Why did democritus call the smallest pice of matter atomos?
    Tell you about the most ever done to satisfy a customer?How do you satisfy your client or customer?
    How is a chemical element different from a compound?How is a chemical element different to a compound?
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: all_nli at d482672
  • Size: 557,850 training samples
  • Columns: anchor, positive, and negative
  • Approximate statistics based on the first 1000 samples:
    anchorpositivenegative
    typestringstringstring
    detailsmin: 18 charactersmean: 34.88 charactersmax: 193 charactersmin: 15 charactersmean: 46.49 charactersmax: 181 charactersmin: 16 charactersmean: 50.47 charactersmax: 204 characters
  • Samples:
    anchorpositivenegative
    A person on a horse jumps over a broken down airplane.A person is outdoors, on a horse.A person is at a diner, ordering an omelette.
    Children smiling and waving at cameraThere are children presentThe kids are frowning
    A boy is jumping on skateboard in the middle of a red bridge.The boy does a skateboarding trick.The boy skates down the sidewalk.
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: simple_wiki at 60fd9b4
  • Size: 102,225 training samples
  • Columns: text and simplified
  • Approximate statistics based on the first 1000 samples:
    textsimplified
    typestringstring
    detailsmin: 18 charactersmean: 149.3 charactersmax: 573 charactersmin: 16 charactersmean: 123.58 charactersmax: 576 characters
  • Samples:
    textsimplified
    The next morning , it had a small CDO and well-defined bands , and the system , either a weak tropical storm or a strong tropical depression , likely reached its peak .The next morning , it had a small amounts of convection near the center and well-defined bands , and the system , either a weak tropical storm or a strong tropical depression , likely reached its peak .
    The region of measurable parameter space that corresponds to a regime is very often loosely defined . Examples include the superfluid regime '' , the steady state regime '' or `` the femtosecond regime '' .This is common if a regime is threatened by another regime .
    The Lamborghini Diablo is a high-performance mid-engined sports car that was built by Italian automaker Lamborghini between 1990 and 2001 .The Lamborghini Diablo is a sport car that was built by Lamborghini from 1990 to 2001 .
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: altlex at 97eb209
  • Size: 112,696 training samples
  • Columns: text and simplified
  • Approximate statistics based on the first 1000 samples:
    textsimplified
    typestringstring
    detailsmin: 13 charactersmean: 131.03 charactersmax: 492 charactersmin: 13 charactersmean: 112.41 charactersmax: 492 characters
  • Samples:
    textsimplified
    Reinforcement and punishment are the core tools of operant conditioning .Principles of operant conditioning :
    The Japanese Ministry of Health , Labour and Welfare defines `` hikikomori '' as people who refuse to leave their house and , thus , isolate themselves from society in their homes for a period exceeding six months .The Japanese Ministry of Health , Labour and Welfare defines hikikomori as people who refuse to leave their house for over six months .
    It has six rows of black spines and has a pair of long , clubbed spines on the head .It has a pair of long , clubbed spines on the head .
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    

flickr30k_captions

  • Dataset: flickr30k_captions at 0ef0ce3
  • Size: 158,881 training samples
  • Columns: caption1 and caption2
  • Approximate statistics based on the first 1000 samples:
    caption1caption2
    typestringstring
    detailsmin: 20 charactersmean: 63.19 charactersmax: 318 charactersmin: 13 charactersmean: 63.65 charactersmax: 205 characters
  • Samples:
    caption1caption2
    Four women pose for a photograph with a man in a bright yellow suit.A group of friends get their photo taken with a man in a green suit.
    A many dressed in army gear walks on the crash walking a brown dog.A man with army fatigues is walking his dog.
    Four people are sitting around a kitchen counter while one is drinking from a glass.A group of people sit around a breakfast bar.
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: coco_captions at bd26018
  • Size: 414,010 training samples
  • Columns: caption1 and caption2
  • Approximate statistics based on the first 1000 samples:
    caption1caption2
    typestringstring
    detailsmin: 30 charactersmean: 52.57 charactersmax: 151 charactersmin: 29 charactersmean: 52.71 charactersmax: 186 characters
  • Samples:
    caption1caption2
    THERE ARE FRIENDS ON THE BEACH POSING A group of people standing together on the beach while holding a woman.
    a lovely white bathroom with white shower curtain.A white toilet sitting in a bathroom next to a sink.
    Two drinking glass on a counter and a man holding a knife looking at something in front of him.A restaurant employee standing behind two cups on a counter.
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: nli_for_simcse at 926cae4
  • Size: 274,951 training samples
  • Columns: anchor, positive, and negative
  • Approximate statistics based on the first 1000 samples:
    anchorpositivenegative
    typestringstringstring
    detailsmin: 11 charactersmean: 87.69 charactersmax: 483 charactersmin: 7 charactersmean: 43.85 charactersmax: 244 charactersmin: 7 charactersmean: 43.87 charactersmax: 172 characters
  • Samples:
    anchorpositivenegative
    A white horse and a rider wearing a ale blue shirt, white pants, and a black helmet are jumping a hurdle.An equestrian is having a horse jump a hurdle.A competition is taking place in a kitchen.
    A group of people in a dome like building.A gathering inside a building.Cats are having a party.
    Home to thousands of sheep and a few scattered farming families, the area is characterized by the stark beauty of bare peaks, rugged fells, and the most remote lakes, combined with challenging, narrow roads.There are no wide and easy roads going through the area.There are more humans than sheep in the area.
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: negation at cd02256
  • Size: 10,000 training samples
  • Columns: anchor, entailment, and negative
  • Approximate statistics based on the first 1000 samples:
    anchorentailmentnegative
    typestringstringstring
    detailsmin: 9 charactersmean: 65.84 charactersmax: 275 charactersmin: 7 charactersmean: 34.06 charactersmax: 167 charactersmin: 9 charactersmean: 37.26 charactersmax: 166 characters
  • Samples:
    anchorentailmentnegative
    A boy with his hands above his head stands on a cement pillar above the cobblestones.A boy is standing on a pillar over the cobblestones.A boy is not standing on a pillar over the cobblestones.
    The man works hard in his home office.home based worker works harderhome based worker does not work harder
    Man in black shirt plays silver electric guitar.A man plays a silver electric guitar.A man does not play a silver electric guitar.
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    

Evaluation Datasets

  • Dataset: wikititles at d92a4d2
  • Size: 14,700,458 evaluation samples
  • Columns: english and non_english
  • Approximate statistics based on the first 1000 samples:
    englishnon_english
    typestringstring
    detailsmin: 4 charactersmean: 18.33 charactersmax: 77 charactersmin: 4 charactersmean: 17.3 charactersmax: 83 characters
  • Samples:
    englishnon_english
    Bjørvika比約維卡
    Old Mystic, ConnecticutОлд Мистик (Конектикат)
    Cystic fibrosis transmembrane conductance regulatorCFTR
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: tatoeba at cec1343
  • Size: 4,138,956 evaluation samples
  • Columns: english and non_english
  • Approximate statistics based on the first 1000 samples:
    englishnon_english
    typestringstring
    detailsmin: 5 charactersmean: 31.83 charactersmax: 235 charactersmin: 4 charactersmean: 31.7 charactersmax: 189 characters
  • Samples:
    englishnon_english
    You are not consistent in your actions.Je bent niet consequent in je handelen.
    Neither of them seemed old.Ninguno de ellos lucía viejo.
    Stand up, please.Устаните, молим Вас.
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: talks at 0c70bc6
  • Size: 9,750,031 evaluation samples
  • Columns: english and non_english
  • Approximate statistics based on the first 1000 samples:
    englishnon_english
    typestringstring
    detailsmin: 9 charactersmean: 94.78 charactersmax: 634 charactersmin: 4 charactersmean: 84.61 charactersmax: 596 characters
  • Samples:
    englishnon_english
    I'm earthed in my essence, and my self is suspended.Je suis ancrée, et mon moi est temporairement inexistant.
    It's not back on your shoulder.Dar nu e înapoi pe umăr.
    They're usually students who've never seen a desert.たいていの学生は砂漠を見たこともありません
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: europarl at 11007ec
  • Size: 10,000 evaluation samples
  • Columns: english and non_english
  • Approximate statistics based on the first 1000 samples:
    englishnon_english
    typestringstring
    detailsmin: 0 charactersmean: 148.52 charactersmax: 1215 charactersmin: 0 charactersmean: 154.44 charactersmax: 1316 characters
  • Samples:
    englishnon_english
    Mr Schmidt, Mr Trichet, I absolutely cannot go along with these proposals.Pane Schmidte, pane Trichete, s těmito návrhy nemohu vůbec souhlasit.
    The Council and Parliament recently adopted the regulation on the Single European Sky, one of the provisions of which was Community membership of Eurocontrol, so that Parliament has already indirectly expressed its views on this matter.Der Rat und das Parlament haben kürzlich die Verordnung über die Schaffung eines einheitlichen europäischen Luftraums verabschiedet, in der unter anderem die Mitgliedschaft der Gemeinschaft bei Eurocontrol festgelegt ist, so dass das Parlament seine Auffassungen hierzu indirekt bereits dargelegt hat.
    It was held over from the January part-session until this part-session.Ihre Behandlung wurde von der Januar-Sitzung auf die jetzige vertagt.
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: global_voices at 4cc20ad
  • Size: 1,099,099 evaluation samples
  • Columns: english and non_english
  • Approximate statistics based on the first 1000 samples:
    englishnon_english
    typestringstring
    detailsmin: 3 charactersmean: 115.61 charactersmax: 629 charactersmin: 3 charactersmean: 121.61 charactersmax: 664 characters
  • Samples:
    englishnon_english
    Haiti: Security vs. Relief? · Global VoicesHaïti : Zones rouges, zones vertes - sécurité contre aide humanitaire ?
    In order to prevent weapon smuggling through tunnels, his forces would have fought and killed Palestinians over a sustained period of time.Con el fin de impedir el contrabando de armas a través de túneles, sus fuerzas habrían combatido y muerto palestinos durante un largo período de tiempo.
    Tombstone of Vitalis, an ancient Roman cavalry officer, displayed in front of the Skopje City Museum.Lápida de Vitalis, un antiguo oficial romano de caballería, exhibida frente al Museo de la Ciudad de Skopje.
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: muse at 238c077
  • Size: 1,368,274 evaluation samples
  • Columns: english and non_english
  • Approximate statistics based on the first 1000 samples:
    englishnon_english
    typestringstring
    detailsmin: 3 charactersmean: 7.5 charactersmax: 17 charactersmin: 1 charactersmean: 7.39 charactersmax: 16 characters
  • Samples:
    englishnon_english
    generalisedγενικευμένη
    languagejazyku
    finalisedфинализиран
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: wikimatrix at 74a4cb1
  • Size: 9,688,498 evaluation samples
  • Columns: english and non_english
  • Approximate statistics based on the first 1000 samples:
    englishnon_english
    typestringstring
    detailsmin: 11 charactersmean: 122.6 charactersmax: 424 charactersmin: 10 charactersmean: 128.09 charactersmax: 579 characters
  • Samples:
    englishnon_english
    Along with the adjacent waters, it was declared a nature reserve in 2002.Juntament amb les aigües adjacents, va ser declarada reserva natural el 2002.
    Like her husband, Charlotte was a patron of astronomy.Stejně jako manžel byla Šarlota patronkou astronomie.
    Some of the music consists of simple sounds, such as a wind effect heard over the poem "Soon Alaska".Sommige muziekstukken bevatten eenvoudige geluiden, zoals het geluid van de wind tijdens het gedicht "Soon Alaska".
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: opensubtitles at d86a387
  • Size: 10,000 evaluation samples
  • Columns: english and non_english
  • Approximate statistics based on the first 1000 samples:
    englishnon_english
    typestringstring
    detailsmin: 0 charactersmean: 35.01 charactersmax: 200 charactersmin: 0 charactersmean: 27.79 charactersmax: 143 characters
  • Samples:
    englishnon_english
    - I don't need my medicine.-لا أحتاج لدوائي
    The Sovereign... Ah.(الطاغية)!
    The other two from your ship.الإثنان الأخران من سفينتك
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: stackexchange at 1c9657a
  • Size: 250,519 evaluation samples
  • Columns: post1 and post2
  • Approximate statistics based on the first 1000 samples:
    post1post2
    typestringstring
    detailsmin: 64 charactersmean: 669.92 charactersmax: 4103 charactersmin: 62 charactersmean: 644.68 charactersmax: 4121 characters
  • Samples:
    post1post2
    Find the particular solution for this linear ODE $y' '-2y'+5y=e^x \cos2x$. Find the particular solution for this linear ODE :$y' '-2y'+5y=e^x \cos2x$. How can I use Undetermined coefficients method ?Particular solution of $y''-4y'+5y = 4e^{2x} (\sin x)$ How do I find the particular solution of this second order inhomogenous differential equation? (Using undetermined coefficients). $y''-4y'+5y = 4e^{2x} (\sin x)$ I can find the generel homogenous solutions but I need help for the particular.
    Unbounded sequence has an divergent subsequence Show that if $(x_n)$ is unbounded, then there exists a subsequence $(x_{n_k})$ such that $\lim 1/(x_{n_k}) =0.$ I was thinking that $(x_n)$ is a subsequence of itself. WLOG, suppose $(x_n)$ does not have an upper bound. By Algebraic Limit Theorem, $\lim 1/(x_{n_k}) =0.$ Is there any flaws in my proof?Given the sequence $(x_n)$ is unbounded, show that there exist a subsequence $(x_{n_k})$ such that $\lim(1/x_n)=0$. Given the sequence $(x_n)$ is unbounded, show that there exist a subsequence $(x_{n_k})$ such that $\lim(1/x_{n_k})=0$. I guess I have to prove that $(x_{n_k})$ diverge, but I don't know how to carry on. Thanks.
    "The problem is who can we get to replace her" vs. "The problem is who we can get to replace her" "The problem is who can we get to replace her" vs. "The problem is who we can get to replace her" Which one is correct and why?Changing subject and verb positions in statements and questions We always change subject and verb positions in whenever we want to ask a question such as "What is your name?". But when it comes to statements like the following, which form is correct? I don't understand what are you talking about. I don't understand what you are talking about. Another example Do you know what time is it? Do you know what time it is? Another example Do you care how do I feel about this? Do you care how I feel about this?
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: quora at 451a485
  • Size: 101,762 evaluation samples
  • Columns: anchor, positive, and negative
  • Approximate statistics based on the first 1000 samples:
    anchorpositivenegative
    typestringstringstring
    detailsmin: 15 charactersmean: 52.48 charactersmax: 164 charactersmin: 12 charactersmean: 52.86 charactersmax: 162 charactersmin: 12 charactersmean: 56.18 charactersmax: 298 characters
  • Samples:
    anchorpositivenegative
    Is pornography an art?Can pornography be art?Does pornography involve the objectification of women?
    How can I improve my speaking in public?How can I improve my public speaking ability?How do I improve my vocabulary and English speaking skills? I am a 22 year old software engineer and come from a Telugu medium background. I am able to write well, but my speaking skills are poor.
    How do I develop better people skills?How can I get better people skills?How do I get better at Minecraft?
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: wikianswers_duplicates at 9af6367
  • Size: 10,000 evaluation samples
  • Columns: anchor and positive
  • Approximate statistics based on the first 1000 samples:
    anchorpositive
    typestringstring
    detailsmin: 14 charactersmean: 47.88 charactersmax: 145 charactersmin: 15 charactersmean: 47.76 charactersmax: 201 characters
  • Samples:
    anchorpositive
    Can you get pregnant if tubes are clamped?How long can your fallopian tubes stay clamped?
    Is there any object that are triangular prism?Is a trapezium the same as a triangular prism?
    Where is the neutral switch located on a 2000 ford explorer?Ford f150 1996 safety switch?
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: all_nli at d482672
  • Size: 6,584 evaluation samples
  • Columns: anchor, positive, and negative
  • Approximate statistics based on the first 1000 samples:
    anchorpositivenegative
    typestringstringstring
    detailsmin: 15 charactersmean: 72.82 charactersmax: 300 charactersmin: 12 charactersmean: 34.11 charactersmax: 126 charactersmin: 11 charactersmean: 36.38 charactersmax: 121 characters
  • Samples:
    anchorpositivenegative
    Two women are embracing while holding to go packages.Two woman are holding packages.The men are fighting outside a deli.
    Two young children in blue jerseys, one with the number 9 and one with the number 2 are standing on wooden steps in a bathroom and washing their hands in a sink.Two kids in numbered jerseys wash their hands.Two kids in jackets walk to school.
    A man selling donuts to a customer during a world exhibition event held in the city of AngelesA man selling donuts to a customer.A woman drinks her coffee in a small cafe.
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: simple_wiki at 60fd9b4
  • Size: 102,225 evaluation samples
  • Columns: text and simplified
  • Approximate statistics based on the first 1000 samples:
    textsimplified
    typestringstring
    detailsmin: 24 charactersmean: 147.36 charactersmax: 599 charactersmin: 19 charactersmean: 124.94 charactersmax: 540 characters
  • Samples:
    textsimplified
    It marks the southernmost point of the Bahà a de Banderas , upon which the port and resort city of Puerto Vallarta stands .It is the most southern point of the Bahà a de Banderas .
    The interiors of the stations resemble that of the former western Soviet nations , with chandeliers hanging from the corridors .Its interior resembles that of western former Soviet nations with chandeliers hanging from the corridors .
    The Senegal national football team , nicknamed the Lions of Teranga , is the national team of Senegal and is controlled by the Fà dà ration Sà nà galaise de Football .Senegal national football team is the national football team of Senegal .
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: altlex at 97eb209
  • Size: 112,696 evaluation samples
  • Columns: text and simplified
  • Approximate statistics based on the first 1000 samples:
    textsimplified
    typestringstring
    detailsmin: 9 charactersmean: 138.99 charactersmax: 592 charactersmin: 7 charactersmean: 119.43 charactersmax: 517 characters
  • Samples:
    textsimplified
    14,000 ) referred to as `` The bush '' within the media .14,000 ) called `` the bush '' in the media .
    The next day he told Elizabeth everything he knew regarding Catherine and her pregnancy .The next day he told Elizabeth everything .
    Alice Ivers and Warren Tubbs had four sons and three daughters together .Alice Ivers and Warren Tubbs had 4 sons and 3 daughters together .
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: flickr30k_captions at 0ef0ce3
  • Size: 158,881 evaluation samples
  • Columns: caption1 and caption2
  • Approximate statistics based on the first 1000 samples:
    caption1caption2
    typestringstring
    detailsmin: 12 charactersmean: 62.95 charactersmax: 279 charactersmin: 15 charactersmean: 63.34 charactersmax: 206 characters
  • Samples:
    caption1caption2
    A person wearing sunglasses, a visor, and a British flag is carrying 6 Heineken bottles.A woman wearing a blue visor is holding 5 bottles of Heineken beer.
    Two older people hold hands while walking down a street alley with a group of people.A group of senior citizens walking down narrow pathway.
    View of bicyclists from behind during a race.A Peloton of bicyclists riding down a road of tightly packed together houses.
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: coco_captions at bd26018
  • Size: 414,010 evaluation samples
  • Columns: caption1 and caption2
  • Approximate statistics based on the first 1000 samples:
    caption1caption2
    typestringstring
    detailsmin: 26 charactersmean: 51.9 charactersmax: 130 charactersmin: 28 charactersmean: 52.7 charactersmax: 135 characters
  • Samples:
    caption1caption2
    A blurry photo of a man next to a refrigeratorThe man in black is moving towards a refrigerator.
    A young child holding a remote control in it's hand.A boy holds a remote control up to the camera.
    a big airplane that is parked on some concreteA man standing next to a fighter jet under a cloudy sky.
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: nli_for_simcse at 926cae4
  • Size: 274,951 evaluation samples
  • Columns: anchor, positive, and negative
  • Approximate statistics based on the first 1000 samples:
    anchorpositivenegative
    typestringstringstring
    detailsmin: 9 charactersmean: 84.79 charactersmax: 598 charactersmin: 10 charactersmean: 44.26 charactersmax: 172 charactersmin: 9 charactersmean: 44.11 charactersmax: 134 characters
  • Samples:
    anchorpositivenegative
    a man waiting for train with a blue coat blue jeans while holing a rope.A man is waiting for a train.A man is sitting on a greyhound bus waiting to leave.
    Australia's floating dollar has apparently allowed the island continent to sail almost unscathed through the Asian crisis.Australia has a floating dollar that has made them impervious to the problem in Asia.Australia has a dollar that is heavily tied to Asia.
    A city street in front of a business with a construction worker and road cones.There is a city street with construction worker and road cones.There are no cones in front of the city street.
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    
  • Dataset: negation at cd02256
  • Size: 10,000 evaluation samples
  • Columns: anchor, entailment, and negative
  • Approximate statistics based on the first 1000 samples:
    anchorentailmentnegative
    typestringstringstring
    detailsmin: 26 charactersmean: 69.49 charactersmax: 229 charactersmin: 15 charactersmean: 34.88 charactersmax: 89 charactersmin: 16 charactersmean: 38.68 charactersmax: 87 characters
  • Samples:
    anchorentailmentnegative
    Two men, one standing and one seated on the ground are attempting to wrangle a bull as dust from the action is being kicked up.Two cowboys attempt to wrangle a bull.Two cowboys do not attempt to wrangle a bull.
    A woman dressed in black is silhouetted against a cloud darkened sky.A woman in black stands in front of a dark, cloudy backdrop.A woman in black does not stand in front of a dark, cloudy backdrop.
    A kid in a blue shirt playing on a playground.A kid playing on a playground wearing a blue shirtA kid not playing on a playground wearing a black shirt
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            512,
            256,
            128,
            64,
            32
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    

Training Hyperparameters

Non-Default Hyperparameters

  • eval_strategy: steps
  • per_device_train_batch_size: 2048
  • per_device_eval_batch_size: 2048
  • learning_rate: 0.2
  • num_train_epochs: 1
  • warmup_ratio: 0.1
  • bf16: True
  • batch_sampler: no_duplicates

All Hyperparameters

  • overwrite_output_dir: False
  • do_predict: False
  • eval_strategy: steps
  • prediction_loss_only: True
  • per_device_train_batch_size: 2048
  • per_device_eval_batch_size: 2048
  • 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: 0.2
  • weight_decay: 0.0
  • adam_beta1: 0.9
  • adam_beta2: 0.999
  • adam_epsilon: 1e-08
  • max_grad_norm: 1.0
  • num_train_epochs: 1
  • 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}
  • deepspeed: None
  • label_smoothing_factor: 0.0
  • optim: adamw_torch
  • 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: False
  • hub_always_push: False
  • gradient_checkpointing: False
  • gradient_checkpointing_kwargs: None
  • include_inputs_for_metrics: False
  • 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
  • dispatch_batches: None
  • split_batches: 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
  • eval_use_gather_object: False
  • batch_sampler: no_duplicates
  • multi_dataset_batch_sampler: proportional

Training Logs

EpochStepTraining Losswikititles losstatoeba losstalks losseuroparl lossglobal voices lossmuse losswikimatrix lossopensubtitles lossstackexchange lossquora losswikianswers duplicates lossall nli losssimple wiki lossaltlex lossflickr30k captions losscoco captions lossnli for simcse lossnegation loss
0.0000138.504------------------
0.0327100021.366115.26079.189211.67361.64316.689431.95793.01220.35415.18142.37564.947412.76990.56870.891121.006817.130210.89646.7603
0.065420009.837711.76377.16808.76971.60775.231027.48871.83750.33795.11072.20834.169012.03840.48370.713120.540117.838810.67067.0488
0.098230008.527910.87196.61608.31161.56384.729825.85721.67380.31525.10092.08933.733212.04520.42850.651920.215416.271510.76937.3144
0.130940007.820810.46145.49187.44211.44204.050524.90001.34620.29254.76432.11433.745711.65700.43900.653619.440516.091210.75377.2120
0.163650007.53479.53815.94897.40271.48584.027223.83351.24530.30273.12621.91703.753511.61860.40900.613118.932916.176910.11237.0750
0.196360007.18199.21755.32317.08361.47953.832823.16201.16090.29642.76531.94403.661011.21470.37140.585319.047816.44139.57906.8695
0.229170006.98529.03445.57736.79281.44093.923223.20981.17500.28772.92541.94113.546911.07440.42540.629319.044716.37749.53636.8393
0.261880006.81148.96205.14176.54661.48343.710022.98151.06790.29422.76872.02113.606311.34240.44470.622319.183616.56699.87856.8528
0.294590006.54878.63204.87106.51441.41563.571222.96601.02610.30513.08981.99813.430511.14480.37290.581418.886515.85819.52136.7567
0.3272100006.73988.56304.71796.50251.39313.569922.53190.99160.28703.33851.95803.580711.25920.41550.600919.138716.68369.63006.6613
0.3599110006.39158.40414.89856.27871.40813.508222.32040.95540.29162.93652.01763.390011.29560.39020.578318.644816.12419.53886.7295
0.3927120006.59028.18884.73266.19301.45503.499922.10700.97360.29352.96121.94493.328111.04770.38210.569618.322716.18489.47727.0029
0.4254130006.3418.18274.38386.10521.41653.394421.95520.90760.29913.22721.98223.349411.18910.37900.560018.439415.90009.56446.9056
0.4581140006.20678.15494.48336.07651.40553.390321.47850.89620.29192.88931.95403.307811.21000.35690.546118.766716.29789.23107.1290
0.4908150006.22378.07114.47556.00871.31853.288821.36890.84330.28613.01291.90843.327911.12360.37300.555318.271115.76489.52957.0092
0.5236160006.10588.02824.50765.87601.42343.304621.35680.82980.28262.84041.89203.291811.11400.38110.555018.289915.86309.48076.7585
0.5563170006.30387.86794.47805.84611.40163.227921.06240.82050.28043.13591.90663.320511.08820.39130.556918.069315.73469.28546.9239
0.5890180005.98247.78274.31995.74411.35823.198221.24440.80460.27972.74661.87173.311211.05530.39220.556818.035715.67329.64046.8331
0.6217190006.02757.72014.35915.81321.34663.188820.93110.80190.27652.76741.86703.308210.97250.39960.556018.634616.29659.37746.9957
0.6545200006.11617.64294.27025.72981.36703.143320.88990.78710.27612.74861.92303.295811.02070.35160.536118.229715.63639.63767.1608
0.6872210005.96087.58524.24195.77601.38383.187820.99660.78370.27612.70981.87153.229310.89350.35140.530718.142415.51019.53467.0668
0.7199220005.75947.55624.11235.61511.36053.095421.00320.76400.27692.60191.83783.237711.07440.36760.543118.222215.71039.88267.2662
0.7526230005.71187.47144.05315.59981.35463.077820.88200.75180.28002.75441.87563.231610.99860.35710.533418.447615.71619.66177.3730
0.7853240005.80247.44144.08295.63351.33833.071020.82170.74870.27132.60911.86953.236510.99290.34190.521318.406415.78319.77477.4290
0.8181250005.86087.43484.05715.56511.32943.051820.68310.73930.27842.63301.82933.219710.94160.34840.521318.635915.84639.68837.4697
0.8508260005.7427.41883.94835.49111.32883.040220.71870.73760.27722.68121.85403.241510.96190.35600.532318.638815.76889.67077.3793
0.8835270005.74297.39563.90165.43931.32773.012920.67480.73140.28202.65261.87983.186910.87440.34350.522818.519115.72649.57077.4266
0.9162280005.78257.37483.91005.42611.34203.014220.60130.72630.27642.67081.85293.174810.89510.34910.525718.491415.56639.65527.2807
0.9490290005.51797.35553.90465.39021.32832.988220.58280.71690.27322.67421.84573.176010.91260.34940.524618.561915.67469.65397.3694
0.9817300005.40447.33903.87425.37131.31272.979620.57030.71200.26692.56121.85363.160210.90680.34640.522918.538915.67889.56907.4148
1.000030560-7.33463.87285.36801.30662.978020.56350.71070.26722.50461.85143.159610.91530.34670.523318.552515.68159.56877.4302

Environmental Impact

Carbon emissions were measured using CodeCarbon.

  • Energy Consumed: 0.506 kWh
  • Carbon Emitted: 0.197 kg of CO2
  • Hours Used: 3.163 hours

Training Hardware

  • On Cloud: No
  • GPU Model: 1 x NVIDIA GeForce RTX 3090
  • CPU Model: 13th Gen Intel(R) Core(TM) i7-13700K
  • RAM Size: 31.78 GB

Framework Versions

  • Python: 3.11.6
  • Sentence Transformers: 3.3.0.dev0
  • Transformers: 4.45.2
  • PyTorch: 2.5.0+cu121
  • Accelerate: 1.0.0
  • Datasets: 2.20.0
  • Tokenizers: 0.20.1-dev.0

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",
}

MatryoshkaLoss

@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}
}

MultipleNegativesRankingLoss

@misc{henderson2017efficient,
    title={Efficient Natural Language Response Suggestion for Smart Reply},
    author={Matthew Henderson and Rami Al-Rfou and Brian Strope and Yun-hsuan Sung and Laszlo Lukacs and Ruiqi Guo and Sanjiv Kumar and Balint Miklos and Ray Kurzweil},
    year={2017},
    eprint={1705.00652},
    archivePrefix={arXiv},
    primaryClass={cs.CL}
}

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

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

GPU в ailist

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

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

Подбираем GPU…

Ревизия весов
b68f412

0 моделей