ColBERT-style ettin-encoder-32m trained on NQ hard negatives (MNRL loss)
This is a Multi-Vector Encoder model finetuned from jhu-clsp/ettin-encoder-32m on the natural-questions-hard-negatives dataset using the sentence-transformers library. It maps inputs to sequences of 128-dimensional token-level vectors and scores them with late interaction (MaxSim), useful for semantic search with late interaction.
Model Details
Model Description
- Model Type: Multi-Vector Encoder
- Base model: jhu-clsp/ettin-encoder-32m
- Maximum Sequence Length: 7999 tokens
- Maximum Query Length: 32 tokens
- Maximum Document Length: 300 tokens
- Output Dimensionality: 128 dimensions
- Similarity Function: MaxSim
- Supported Modality: Text
- Training Dataset:
- natural-questions-hard-negatives
- Language: en
- License: mit
Model Sources
Full Model Architecture
MultiVectorEncoder(
(0): Transformer({'transformer_task': 'feature-extraction', 'modality_config': {'text': {'method': 'forward', 'method_output_name': 'last_hidden_state'}}, 'module_output_name': 'token_embeddings', 'query_length': 32, 'document_length': 300, 'architecture': 'ModernBertModel'})
(1): Dense({'in_features': 384, 'out_features': 128, 'bias': False, 'activation_function': 'torch.nn.modules.linear.Identity', 'module_input_name': 'token_embeddings', 'module_output_name': 'token_embeddings'})
(2): MultiVectorMask({'skiplist_words': [], 'skiplist_tasks': ['document'], 'keep_only_token_ids': None})
(3): Normalize({'module_input_name': 'token_embeddings', 'module_output_name': 'token_embeddings'})
)
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 MultiVectorEncoder
# Download from the 🤗 Hub
model = MultiVectorEncoder("evalstate/ettin-encoder-32m-colbert-nq-mnrl")
# Run inference: each input becomes a sequence of per-token vectors (variable length).
queries = [
'when is iron fist season 2 being released',
]
documents = [
'Iron Fist (season 2) The season was released on September 7, 2018, and consists of ten episodes. The season received mixed reviews from critics, but was considered a major improvement over the previous season. Netflix canceled the series on October 12, 2018.[1]',
"Jessica Jones (season 2) The season is scheduled to be released on March 8, 2018. It received mixed reviews from critics, who once again praised Ritter's performance, but felt the season suffered from pacing issues and a lack of a compelling villain after David Tennant's Kilgrave from season one.",
"Project Mc2 The first season of the series, consisting of three episodes, was released on August 7, 2015.[7] On April 6, 2016, Netflix announced that the series has been renewed for its second and third seasons. The second season was released on August 12, 2016,[8] and the third season was released on October 14, 2016.[9] Both consisted of six episodes. An extended 34-minute Valentine's Day special was released as the first and only episode of the fourth season on February 14, 2017.[10] A fifth season consisting of five episodes was released on September 15, 2017. The sixth season is scheduled to be released on November 7, 2017.[11]",
]
query_embeddings = model.encode_query(queries)
document_embeddings = model.encode_document(documents)
print(query_embeddings[0].shape, document_embeddings[0].shape)
# (10, 128) (56, 128)
# Get the MaxSim similarity scores
similarities = model.similarity(query_embeddings, document_embeddings)
print(similarities)
# tensor([[9.5260, 4.1375, 1.9155]])
Evaluation
Metrics
Multi Vector Information Retrieval
| Metric | NanoMSMARCO | NanoNQ | NanoNFCorpus |
|---|
| maxsim_accuracy@1 | 0.24 | 0.42 | 0.28 |
| maxsim_accuracy@3 | 0.36 | 0.56 | 0.36 |
| maxsim_accuracy@5 | 0.5 | 0.58 | 0.46 |
| maxsim_accuracy@10 | 0.56 | 0.68 | 0.58 |
| maxsim_precision@1 | 0.24 | 0.42 | 0.28 |
| maxsim_precision@3 | 0.12 | 0.1933 | 0.2333 |
| maxsim_precision@5 | 0.1 | 0.12 | 0.216 |
| maxsim_precision@10 | 0.056 | 0.072 | 0.164 |
| maxsim_recall@1 | 0.24 | 0.4 | 0.0102 |
| maxsim_recall@3 | 0.36 | 0.53 | 0.0249 |
| maxsim_recall@5 | 0.5 | 0.55 | 0.0394 |
| maxsim_recall@10 | 0.56 | 0.66 | 0.0584 |
| maxsim_ndcg@10 | 0.3845 | 0.5299 | 0.189 |
| maxsim_mrr@10 | 0.3294 | 0.5004 | 0.3564 |
| maxsim_map@100 | 0.3416 | 0.4917 | 0.0557 |
Multi Vector Nano BEIR
- Dataset:
NanoBEIR_mean
- Evaluated with MultiVectorNanoBEIREvaluator with these parameters:
{
"dataset_names": [
"msmarco",
"nq",
"nfcorpus"
],
"dataset_id": "sentence-transformers/NanoBEIR-en"
}
| Metric | Value |
|---|
| maxsim_accuracy@1 | 0.3133 |
| maxsim_accuracy@3 | 0.4267 |
| maxsim_accuracy@5 | 0.5133 |
| maxsim_accuracy@10 | 0.6067 |
| maxsim_precision@1 | 0.3133 |
| maxsim_precision@3 | 0.1822 |
| maxsim_precision@5 | 0.1453 |
| maxsim_precision@10 | 0.0973 |
| maxsim_recall@1 | 0.2167 |
| maxsim_recall@3 | 0.305 |
| maxsim_recall@5 | 0.3631 |
| maxsim_recall@10 | 0.4261 |
| maxsim_ndcg@10 | 0.3678 |
| maxsim_mrr@10 | 0.3954 |
| maxsim_map@100 | 0.2963 |
Multi Vector Nano BEIR
- Dataset:
NanoBEIR_mean
- Evaluated with MultiVectorNanoBEIREvaluator with these parameters:
{
"dataset_names": [
"msmarco",
"nq",
"nfcorpus"
],
"dataset_id": "sentence-transformers/NanoBEIR-en"
}
| Metric | Value |
|---|
| maxsim_accuracy@1 | 0.3133 |
| maxsim_accuracy@3 | 0.4267 |
| maxsim_accuracy@5 | 0.5133 |
| maxsim_accuracy@10 | 0.6067 |
| maxsim_precision@1 | 0.3133 |
| maxsim_precision@3 | 0.1822 |
| maxsim_precision@5 | 0.1453 |
| maxsim_precision@10 | 0.0973 |
| maxsim_recall@1 | 0.2167 |
| maxsim_recall@3 | 0.305 |
| maxsim_recall@5 | 0.3631 |
| maxsim_recall@10 | 0.4261 |
| maxsim_ndcg@10 | 0.3678 |
| maxsim_mrr@10 | 0.3954 |
| maxsim_map@100 | 0.2963 |
Training Details
Training Dataset
natural-questions-hard-negatives
- Dataset: natural-questions-hard-negatives
- Size: 96,658 training samples
- Columns: query, answer, negative_1, negative_2, negative_3, negative_4, and negative_5
- Approximate statistics based on the first 100 samples:
| query | answer | negative_1 | negative_2 | negative_3 | negative_4 | negative_5 |
|---|
| type | string | string | string | string | string | string | string |
| modality | text | text | text | text | text | text | text |
| details | min: 10 tokensmean: 12.27 tokensmax: 20 tokens | min: 33 tokensmean: 144.08 tokensmax: 300 tokens | min: 36 tokensmean: 145.82 tokensmax: 300 tokens | min: 25 tokensmean: 136.13 tokensmax: 300 tokens | min: 40 tokensmean: 147.76 tokensmax: 300 tokens | min: 44 tokensmean: 159.42 tokensmax: 300 tokens | min: 31 tokensmean: 154.12 tokensmax: 300 tokens |
- Samples:
| query | answer | negative_1 | negative_2 | negative_3 | negative_4 | negative_5 |
|---|
| when did richmond last play in a preliminary final | Richmond Football Club Richmond began 2017 with 5 straight wins, a feat it had not achieved since 1995. A series of close losses hampered the Tigers throughout the middle of the season, including a 5-point loss to the Western Bulldogs, 2-point loss to Fremantle, and a 3-point loss to the Giants. Richmond ended the season strongly with convincing victories over Fremantle and St Kilda in the final two rounds, elevating the club to 3rd on the ladder. Richmond's first final of the season against the Cats at the MCG attracted a record qualifying final crowd of 95,028; the Tigers won by 51 points. Having advanced to the first preliminary finals for the first time since 2001, Richmond defeated Greater Western Sydney by 36 points in front of a crowd of 94,258 to progress to the Grand Final against Adelaide, their first Grand Final appearance since 1982. The attendance was 100,021, the largest crowd to a grand final since 1986. The Crows led at quarter time and led by as many as 13, but the Tig... | Brisbane Bears However, the club was still struggling off-field. One of the Bears' biggest problems was its lack of support (both on and off the field) in Melbourne, the location of most of its away matches. In mid-1996, the struggling Fitzroy Football Club collapsed due to financial pressures and was seeking to merge its assets with another club. When a merger with North Melbourne in forming the North Fitzroy Kangaroos failed to win the support of the other AFL clubs, a deal for a merger was done between Fitzroy and the Bears. The new team was known as the Brisbane Lions, based at the Gabba, with Northey as the coach of the merged club. As such, the history of the Brisbane Bears as an individual entity ended after the 1996 season, with ten seasons of competition and the third-place finish in 1996 as its best performance. The Bears last match as a separate entity was a preliminary final on Saturday 21 September 1996 at the Melbourne Cricket Ground (where the Bears played their first VF... | Virginia Tech–West Virginia football rivalry Virginia Tech held the trophy in six of the nine years in which it was contested, but West Virginia leads the all-time series 28–23–1. The last game was played on September 3, 2017 at FedEx Field in Landover, MD; Virginia Tech won 31–24. | Martin Truex Jr. To start off the Round of 12, Truex scored his 6th win of the season at Charlotte after leading 91 out of 334 laps to secure a spot for the Round of 8. Just two weeks later, he scored another win at Kansas despite having a restart violation early in the race. | Adelaide Football Club Star midfielder for many years Patrick Dangerfield left the club at the end of the 2015 season (a season in which he won the club's best and fairest) and Don Pyke, a former premiership player and assistant coach with West Coast who had also been an assistant coach at Adelaide from 2005 to 2006, was appointed Adelaide's senior coach for at least three years.[9] Adelaide was widely tipped to slide out of the finals in 2016[27][28][29] but the Crows proved to be one of the successes of the season, comfortably qualifying for a home elimination final and defeating North Melbourne by 62 points, before being eliminated the next week by eventual beaten grand finalists, Sydney in the semi-finals. The club had a dominant 2017 season, winning their opening six games and never falling below second place for the entire season. Adelaide claimed their second McClelland Trophy as minor premiers.[30] The Adelaide Crows entered the 2017 finals series as favourites for the premiers... | Battle of Appomattox Court House The Battle of Appomattox Court House (Virginia, U.S.), fought on the morning of April 9, 1865, was one of the last battles of the American Civil War (1861–1865). It was the final engagement of Confederate States Army General-in-Chief, Robert E. Lee, and his Army of Northern Virginia before it surrendered to the Union Army of the Potomac under the Commanding General of the United States, Ulysses S. Grant. Lee, having abandoned the Confederate capital of Richmond, Virginia, after the nine and one-half month Siege of Petersburg and Richmond, retreated west, hoping to join his army with the remaining Confederate forces in North Carolina, the Army of Tennessee under Gen. Joseph E. Johnston. Union infantry and cavalry forces under Gen. Philip Sheridan pursued and cut off the Confederates' retreat at the central Virginia village of Appomattox Court House. Lee launched a last-ditch attack to break through the Union forces to his front, assuming the Union forc... |
| who sang what in the world's come over you | Jack Scott (singer) At the beginning of 1960, Scott again changed record labels, this time to Top Rank Records.[1] He then recorded four Billboard Hot 100 hits – "What in the World's Come Over You" (#5), "Burning Bridges" (#3) b/w "Oh Little One" (#34), and "It Only Happened Yesterday" (#38).[1] "What in the World's Come Over You" was Scott's second gold disc winner.[6] Scott continued to record and perform during the 1960s and 1970s.[1] His song "You're Just Gettin' Better" reached the country charts in 1974.[1] In May 1977, Scott recorded a Peel session for BBC Radio 1 disc jockey, John Peel. | Lover, You Should've Come Over "Lover, You Should've Come Over" is the seventh track on Jeff Buckley's album Grace. Inspired by the ending of the relationship between Buckley and Rebecca Moore,[1] it concerns the despondency of a young man growing older, finding that his actions represent a perspective he feels that he should have outgrown. Biographer and critic David Browne describes the lyrics as "confused and confusing" and the music as "a languid beauty."[1] | It's Christmas (All Over The World) "It's Christmas (All Over The World)" is a song recorded by Scottish singer Sheena Easton. It was released in November 1985 as the theme song from the soundtrack of Santa Claus: The Movie. The song was written by Bill House and John Hobbs. | The End of the World (Skeeter Davis song) "The End of the World" is a country pop song written by Arthur Kent and Sylvia Dee, for American singer Skeeter Davis. It had success in the 1960s and spawned many covers. | Israel Kamakawiwoʻole His voice became famous outside Hawaii when his album Facing Future was released in 1993. His medley of "Somewhere Over the Rainbow/What a Wonderful World" was released on his albums Ka ʻAnoʻi and Facing Future. It was subsequently featured in several films, television programs, and television commercials. | Make the World Go Away "Make the World Go Away'" is a country-popular music song composed by Hank Cochran. It has become a Top 40 popular success three times: for Timi Yuro (during 1963), for Eddy Arnold (1965), and for the brother-sister duo Donny and Marie Osmond (1975). The original version of the song was recorded by Ray Price during 1963. It has remained a country crooner standard ever since. |
| who produces the most wool in the world | Wool Global wool production is about 2 million tonnes per year, of which 60% goes into apparel. Wool comprises ca 3% of the global textile market, but its value is higher owing to dying and other modifications of the material.[1] Australia is a leading producer of wool which is mostly from Merino sheep but has been eclipsed by China in terms of total weight.[30] New Zealand (2016) is the third-largest producer of wool, and the largest producer of crossbred wool. Breeds such as Lincoln, Romney, Drysdale, and Elliotdale produce coarser fibers, and wool from these sheep is usually used for making carpets. | Baa, Baa, Black Sheep As with many nursery rhymes, attempts have been made to find origins and meanings for the rhyme, most which have no corroborating evidence.[1] Katherine Elwes Thomas in The Real Personages of Mother Goose (1930) suggested that the rhyme referred to resentment at the heavy taxation on wool.[5] This has particularly been taken to refer to the medieval English "Great" or "Old Custom" wool tax of 1275, which survived until the fifteenth century.[1] More recently the rhyme has been connected to the slave trade, particularly in the southern United States.[6] This explanation was advanced during debates over political correctness and the use and reform of nursery rhymes in the 1980s, but has no supporting historical evidence.[7] Rather than being negative, the wool of black sheep may have been prized as it could be made into dark cloth without dyeing.[6] | Raymond Group Raymond Group is an Indian branded fabric and fashion retailer, incorporated in 1925. It produces suiting fabric, with a capacity of producing 31 million meters of wool and wool-blended fabrics. Gautam Singhania is the chairman and managing director of the Raymond group.[3] | Silk in the Indian subcontinent Silk in the Indian subcontinent is a luxury good. In India, about 97% of the raw mulberry silk is produced in the five Indian states of Karnataka, Andhra Pradesh, Tamil Nadu, West Bengal and Jammu and Kashmir.[1] Mysore and North Bangalore, the upcoming site of a US$20 million "Silk City", contribute to a majority of silk production.[2] Another emerging silk producer is Tamil Nadu where mulberry cultivation is concentrated in Salem, Erode and Dharmapuri districts. Hyderabad, Andhra Pradesh and Gobichettipalayam, Tamil Nadu were the first locations to have automated silk reeling units.[3] yoyo quantity::: | F. W. Woolworth Company The two Woolworth brothers pioneered and developed merchandising, direct purchasing, sales, and customer service practices commonly used today. Despite its growing to be one of the largest retail chains in the world through most of the 20th century, increased competition led to its decline beginning in the 1980s, while its sporting goods division grew. The chain went out of business in July 1997, when the company decided to focus primarily on sporting goods and renamed itself Venator Group. By 2001, the company focused exclusively on the sporting goods market, changing its name to the present Foot Locker, Inc., changing its ticker symbol from its familiar Z in 2003 to its present ticker (NYSE:Â FL). | Silk Silk's absorbency makes it comfortable to wear in warm weather and while active. Its low conductivity keeps warm air close to the skin during cold weather. It is often used for clothing such as shirts, ties, blouses, formal dresses, high fashion clothes, lining, lingerie, pajamas, robes, dress suits, sun dresses and Eastern folk costumes. For practical use, silk is excellent as clothing that protects from many biting insects that would ordinarily pierce clothing, such as mosquitoes and horseflies. |
- Loss: MultiVectorMultipleNegativesRankingLoss with these parameters:
{
"scale": 1.0,
"similarity_fct": null,
"mini_batch_size": null,
"score_mini_batch_size": null,
"gather_across_devices": false
}
Training Hyperparameters
Non-Default Hyperparameters
per_device_train_batch_size: 64
max_steps: 20000
learning_rate: 3e-05
warmup_steps: 0.05
bf16: True
seed: 12
dataloader_num_workers: 2
batch_sampler: no_duplicates
All Hyperparameters
per_device_train_batch_size: 64
num_train_epochs: 3.0
max_steps: 20000
learning_rate: 3e-05
lr_scheduler_type: linear
lr_scheduler_kwargs: None
warmup_steps: 0.05
optim: adamw_torch_fused
optim_args: None
weight_decay: 0.0
adam_beta1: 0.9
adam_beta2: 0.999
adam_epsilon: 1e-08
optim_target_modules: None
gradient_accumulation_steps: 1
average_tokens_across_devices: True
max_grad_norm: 1.0
label_smoothing_factor: 0.0
bf16: True
fp16: False
bf16_full_eval: False
fp16_full_eval: False
tf32: None
activation_checkpointing: False
activation_checkpointing_kwargs: None
gradient_checkpointing: False
gradient_checkpointing_kwargs: None
torch_compile: False
torch_compile_backend: None
torch_compile_mode: None
use_liger_kernel: False
liger_kernel_config: None
use_cache: False
neftune_noise_alpha: None
torch_empty_cache_steps: None
auto_find_batch_size: False
log_on_each_node: True
logging_nan_inf_filter: True
include_num_input_tokens_seen: no
log_level: passive
log_level_replica: warning
disable_tqdm: False
project: huggingface
trackio_space_id: None
trackio_bucket_id: None
trackio_static_space_id: None
per_device_eval_batch_size: 8
prediction_loss_only: True
eval_on_start: False
eval_do_concat_batches: True
eval_use_gather_object: False
eval_accumulation_steps: None
include_for_metrics: []
batch_eval_metrics: False
save_only_model: False
save_on_each_node: False
enable_jit_checkpoint: False
push_to_hub: False
hub_private_repo: None
hub_model_id: None
hub_strategy: every_save
hub_always_push: False
hub_revision: None
load_best_model_at_end: False
ignore_data_skip: False
restore_callback_states_from_checkpoint: False
full_determinism: False
seed: 12
data_seed: None
use_cpu: False
accelerator_config: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
parallelism_config: None
dataloader_drop_last: False
dataloader_num_workers: 2
dataloader_pin_memory: True
dataloader_persistent_workers: False
dataloader_prefetch_factor: None
dataloader_multiprocessing_context: None
dataloader_in_order: True
remove_unused_columns: True
label_names: None
train_sampling_strategy: random
length_column_name: length
ddp_find_unused_parameters: None
ddp_bucket_cap_mb: None
ddp_broadcast_buffers: False
ddp_static_graph: None
ddp_backend: None
ddp_timeout: 1800
fsdp: None
fsdp_config: None
deepspeed: None
debug: []
skip_memory_metrics: True
do_predict: False
resume_from_checkpoint: None
local_rank: -1
prompts: None
batch_sampler: no_duplicates
multi_dataset_batch_sampler: proportional
router_mapping: {}
learning_rate_mapping: {}
warmup_ratio: None
max_length: None
Training Logs
| Epoch | Step | Training Loss | NanoMSMARCO_maxsim_ndcg@10 | NanoNQ_maxsim_ndcg@10 | NanoNFCorpus_maxsim_ndcg@10 | NanoBEIR_mean_maxsim_ndcg@10 |
|---|
| -1 | -1 | - | 0.1817 | 0.1628 | 0.0867 | 0.1437 |
| 0.0007 | 1 | 5.6960 | - | - | - | - |
| 0.0662 | 100 | 5.5748 | - | - | - | - |
| 0.1324 | 200 | 3.9932 | - | - | - | - |
| 0.1985 | 300 | 2.1751 | - | - | - | - |
| 0.2647 | 400 | 1.7097 | - | - | - | - |
| 0.3309 | 500 | 1.4724 | - | - | - | - |
| 0.3971 | 600 | 1.3487 | - | - | - | - |
| 0.4633 | 700 | 1.2385 | - | - | - | - |
| 0.5295 | 800 | 1.1474 | - | - | - | - |
| 0.5956 | 900 | 1.0737 | - | - | - | - |
| 0.6618 | 1000 | 1.0372 | - | - | - | - |
| 0.7280 | 1100 | 0.9760 | - | - | - | - |
| 0.7942 | 1200 | 0.9141 | - | - | - | - |
| 0.8604 | 1300 | 0.8845 | - | - | - | - |
| 0.9265 | 1400 | 0.8547 | - | - | - | - |
| 0.9927 | 1500 | 0.8290 | - | - | - | - |
| 1.0589 | 1600 | 0.7294 | - | - | - | - |
| 1.1251 | 1700 | 0.7135 | - | - | - | - |
| 1.1913 | 1800 | 0.7060 | - | - | - | - |
| 1.2574 | 1900 | 0.6896 | - | - | - | - |
| 1.3236 | 2000 | 0.6776 | 0.4682 | 0.5161 | 0.2648 | 0.4163 |
| 1.3898 | 2100 | 0.6759 | - | - | - | - |
| 1.4560 | 2200 | 0.6484 | - | - | - | - |
| 1.5222 | 2300 | 0.6376 | - | - | - | - |
| 1.5884 | 2400 | 0.6370 | - | - | - | - |
| 1.6545 | 2500 | 0.6182 | - | - | - | - |
| 1.7207 | 2600 | 0.6251 | - | - | - | - |
| 1.7869 | 2700 | 0.6147 | - | - | - | - |
| 1.8531 | 2800 | 0.6106 | - | - | - | - |
| 1.9193 | 2900 | 0.5924 | - | - | - | - |
| 1.9854 | 3000 | 0.5927 | - | - | - | - |
| 2.0516 | 3100 | 0.4991 | - | - | - | - |
| 2.1178 | 3200 | 0.4689 | - | - | - | - |
| 2.1840 | 3300 | 0.4634 | - | - | - | - |
| 2.2502 | 3400 | 0.4633 | - | - | - | - |
| 2.3163 | 3500 | 0.4587 | - | - | - | - |
| 2.3825 | 3600 | 0.4557 | - | - | - | - |
| 2.4487 | 3700 | 0.4603 | - | - | - | - |
| 2.5149 | 3800 | 0.4579 | - | - | - | - |
| 2.5811 | 3900 | 0.4520 | - | - | - | - |
| 2.6473 | 4000 | 0.4575 | 0.4787 | 0.5377 | 0.2855 | 0.4340 |
| 2.7134 | 4100 | 0.4493 | - | - | - | - |
| 2.7796 | 4200 | 0.4476 | - | - | - | - |
| 2.8458 | 4300 | 0.4557 | - | - | - | - |
| 2.9120 | 4400 | 0.4511 | - | - | - | - |
| 2.9782 | 4500 | 0.4496 | - | - | - | - |
| 3.0443 | 4600 | 0.3791 | - | - | - | - |
| 3.1105 | 4700 | 0.3415 | - | - | - | - |
| 3.1767 | 4800 | 0.3436 | - | - | - | - |
| 3.2429 | 4900 | 0.3364 | - | - | - | - |
| 3.3091 | 5000 | 0.3433 | - | - | - | - |
| 3.3752 | 5100 | 0.3502 | - | - | - | - |
| 3.4414 | 5200 | 0.3514 | - | - | - | - |
| 3.5076 | 5300 | 0.3494 | - | - | - | - |
| 3.5738 | 5400 | 0.3477 | - | - | - | - |
| 3.6400 | 5500 | 0.3496 | - | - | - | - |
| 3.7062 | 5600 | 0.3528 | - | - | - | - |
| 3.7723 | 5700 | 0.3445 | - | - | - | - |
| 3.8385 | 5800 | 0.3394 | - | - | - | - |
| 3.9047 | 5900 | 0.3460 | - | - | - | - |
| 3.9709 | 6000 | 0.3564 | 0.4289 | 0.5309 | 0.2562 | 0.4053 |
| 4.0371 | 6100 | 0.2985 | - | - | - | - |
| 4.1032 | 6200 | 0.2666 | - | - | - | - |
| 4.1694 | 6300 | 0.2719 | - | - | - | - |
| 4.2356 | 6400 | 0.2725 | - | - | - | - |
| 4.3018 | 6500 | 0.2717 | - | - | - | - |
| 4.3680 | 6600 | 0.2769 | - | - | - | - |
| 4.4341 | 6700 | 0.2740 | - | - | - | - |
| 4.5003 | 6800 | 0.2751 | - | - | - | - |
| 4.5665 | 6900 | 0.2839 | - | - | - | - |
| 4.6327 | 7000 | 0.2823 | - | - | - | - |
| 4.6989 | 7100 | 0.2775 | - | - | - | - |
| 4.7651 | 7200 | 0.2749 | - | - | - | - |
| 4.8312 | 7300 | 0.2819 | - | - | - | - |
| 4.8974 | 7400 | 0.2788 | - | - | - | - |
| 4.9636 | 7500 | 0.2736 | - | - | - | - |
| 5.0298 | 7600 | 0.2543 | - | - | - | - |
| 5.0960 | 7700 | 0.2146 | - | - | - | - |
| 5.1621 | 7800 | 0.2155 | - | - | - | - |
| 5.2283 | 7900 | 0.2278 | - | - | - | - |
| 5.2945 | 8000 | 0.2213 | 0.3627 | 0.5327 | 0.2267 | 0.3740 |
| 5.3607 | 8100 | 0.2319 | - | - | - | - |
| 5.4269 | 8200 | 0.2250 | - | - | - | - |
| 5.4931 | 8300 | 0.2254 | - | - | - | - |
| 5.5592 | 8400 | 0.2263 | - | - | - | - |
| 5.6254 | 8500 | 0.2312 | - | - | - | - |
| 5.6916 | 8600 | 0.2340 | - | - | - | - |
| 5.7578 | 8700 | 0.2239 | - | - | - | - |
| 5.8240 | 8800 | 0.2331 | - | - | - | - |
| 5.8901 | 8900 | 0.2305 | - | - | - | - |
| 5.9563 | 9000 | 0.2260 | - | - | - | - |
| 6.0225 | 9100 | 0.2183 | - | - | - | - |
| 6.0887 | 9200 | 0.1889 | - | - | - | - |
| 6.1549 | 9300 | 0.1867 | - | - | - | - |
| 6.2210 | 9400 | 0.1897 | - | - | - | - |
| 6.2872 | 9500 | 0.1965 | - | - | - | - |
| 6.3534 | 9600 | 0.1888 | - | - | - | - |
| 6.4196 | 9700 | 0.1922 | - | - | - | - |
| 6.4858 | 9800 | 0.1947 | - | - | - | - |
| 6.5520 | 9900 | 0.1944 | - | - | - | - |
| 6.6181 | 10000 | 0.1901 | 0.3955 | 0.4902 | 0.2176 | 0.3678 |
| 6.6843 | 10100 | 0.1981 | - | - | - | - |
| 6.7505 | 10200 | 0.1900 | - | - | - | - |
| 6.8167 | 10300 | 0.1961 | - | - | - | - |
| 6.8829 | 10400 | 0.1969 | - | - | - | - |
| 6.9490 | 10500 | 0.1956 | - | - | - | - |
| 7.0152 | 10600 | 0.1854 | - | - | - | - |
| 7.0814 | 10700 | 0.1612 | - | - | - | - |
| 7.1476 | 10800 | 0.1665 | - | - | - | - |
| 7.2138 | 10900 | 0.1669 | - | - | - | - |
| 7.2799 | 11000 | 0.1682 | - | - | - | - |
| 7.3461 | 11100 | 0.1693 | - | - | - | - |
| 7.4123 | 11200 | 0.1657 | - | - | - | - |
| 7.4785 | 11300 | 0.1681 | - | - | - | - |
| 7.5447 | 11400 | 0.1668 | - | - | - | - |
| 7.6109 | 11500 | 0.1673 | - | - | - | - |
| 7.6770 | 11600 | 0.1718 | - | - | - | - |
| 7.7432 | 11700 | 0.1664 | - | - | - | - |
| 7.8094 | 11800 | 0.1671 | - | - | - | - |
| 7.8756 | 11900 | 0.1699 | - | - | - | - |
| 7.9418 | 12000 | 0.1717 | 0.4060 | 0.5070 | 0.2151 | 0.3760 |
| 8.0079 | 12100 | 0.1658 | - | - | - | - |
| 8.0741 | 12200 | 0.1456 | - | - | - | - |
| 8.1403 | 12300 | 0.1472 | - | - | - | - |
| 8.2065 | 12400 | 0.1520 | - | - | - | - |
| 8.2727 | 12500 | 0.1486 | - | - | - | - |
| 8.3388 | 12600 | 0.1478 | - | - | - | - |
| 8.4050 | 12700 | 0.1435 | - | - | - | - |
| 8.4712 | 12800 | 0.1461 | - | - | - | - |
| 8.5374 | 12900 | 0.1453 | - | - | - | - |
| 8.6036 | 13000 | 0.1486 | - | - | - | - |
| 8.6698 | 13100 | 0.1472 | - | - | - | - |
| 8.7359 | 13200 | 0.1490 | - | - | - | - |
| 8.8021 | 13300 | 0.1534 | - | - | - | - |
| 8.8683 | 13400 | 0.1554 | - | - | - | - |
| 8.9345 | 13500 | 0.1526 | - | - | - | - |
| 9.0007 | 13600 | 0.1491 | - | - | - | - |
| 9.0668 | 13700 | 0.1347 | - | - | - | - |
| 9.1330 | 13800 | 0.1319 | - | - | - | - |
| 9.1992 | 13900 | 0.1331 | - | - | - | - |
| 9.2654 | 14000 | 0.1352 | 0.3971 | 0.5272 | 0.1955 | 0.3733 |
| 9.3316 | 14100 | 0.1336 | - | - | - | - |
| 9.3977 | 14200 | 0.1324 | - | - | - | - |
| 9.4639 | 14300 | 0.1332 | - | - | - | - |
| 9.5301 | 14400 | 0.1347 | - | - | - | - |
| 9.5963 | 14500 | 0.1340 | - | - | - | - |
| 9.6625 | 14600 | 0.1396 | - | - | - | - |
| 9.7287 | 14700 | 0.1340 | - | - | - | - |
| 9.7948 | 14800 | 0.1343 | - | - | - | - |
| 9.8610 | 14900 | 0.1325 | - | - | - | - |
| 9.9272 | 15000 | 0.1303 | - | - | - | - |
| 9.9934 | 15100 | 0.1399 | - | - | - | - |
| 10.0596 | 15200 | 0.1214 | - | - | - | - |
| 10.1257 | 15300 | 0.1238 | - | - | - | - |
| 10.1919 | 15400 | 0.1198 | - | - | - | - |
| 10.2581 | 15500 | 0.1195 | - | - | - | - |
| 10.3243 | 15600 | 0.1240 | - | - | - | - |
| 10.3905 | 15700 | 0.1240 | - | - | - | - |
| 10.4567 | 15800 | 0.1238 | - | - | - | - |
| 10.5228 | 15900 | 0.1256 | - | - | - | - |
| 10.5890 | 16000 | 0.1257 | 0.3863 | 0.5108 | 0.1925 | 0.3632 |
| 10.6552 | 16100 | 0.1255 | - | - | - | - |
| 10.7214 | 16200 | 0.1235 | - | - | - | - |
| 10.7876 | 16300 | 0.1240 | - | - | - | - |
| 10.8537 | 16400 | 0.1239 | - | - | - | - |
| 10.9199 | 16500 | 0.1240 | - | - | - | - |
| 10.9861 | 16600 | 0.1266 | - | - | - | - |
| 11.0523 | 16700 | 0.1140 | - | - | - | - |
| 11.1185 | 16800 | 0.1142 | - | - | - | - |
| 11.1846 | 16900 | 0.1166 | - | - | - | - |
| 11.2508 | 17000 | 0.1159 | - | - | - | - |
| 11.3170 | 17100 | 0.1109 | - | - | - | - |
| 11.3832 | 17200 | 0.1142 | - | - | - | - |
| 11.4494 | 17300 | 0.1189 | - | - | - | - |
| 11.5156 | 17400 | 0.1155 | - | - | - | - |
| 11.5817 | 17500 | 0.1113 | - | - | - | - |
| 11.6479 | 17600 | 0.1188 | - | - | - | - |
| 11.7141 | 17700 | 0.1146 | - | - | - | - |
| 11.7803 | 17800 | 0.1166 | - | - | - | - |
| 11.8465 | 17900 | 0.1161 | - | - | - | - |
| 11.9126 | 18000 | 0.1165 | 0.3894 | 0.5213 | 0.1925 | 0.3677 |
| 11.9788 | 18100 | 0.1135 | - | - | - | - |
| 12.0450 | 18200 | 0.1083 | - | - | - | - |
| 12.1112 | 18300 | 0.1098 | - | - | - | - |
| 12.1774 | 18400 | 0.1060 | - | - | - | - |
| 12.2435 | 18500 | 0.1080 | - | - | - | - |
| 12.3097 | 18600 | 0.1064 | - | - | - | - |
| 12.3759 | 18700 | 0.1140 | - | - | - | - |
| 12.4421 | 18800 | 0.1120 | - | - | - | - |
| 12.5083 | 18900 | 0.1055 | - | - | - | - |
| 12.5745 | 19000 | 0.1072 | - | - | - | - |
| 12.6406 | 19100 | 0.1075 | - | - | - | - |
| 12.7068 | 19200 | 0.1075 | - | - | - | - |
| 12.7730 | 19300 | 0.1080 | - | - | - | - |
| 12.8392 | 19400 | 0.1110 | - | - | - | - |
| 12.9054 | 19500 | 0.1102 | - | - | - | - |
| 12.9715 | 19600 | 0.1096 | - | - | - | - |
| 13.0377 | 19700 | 0.1069 | - | - | - | - |
| 13.1039 | 19800 | 0.1052 | - | - | - | - |
| 13.1701 | 19900 | 0.1042 | - | - | - | - |
| 13.2363 | 20000 | 0.1057 | 0.3845 | 0.5299 | 0.1890 | 0.3678 |
| -1 | -1 | - | 0.3845 | 0.5299 | 0.1890 | 0.3678 |
Training Time
- Training: 1.6 hours
- Evaluation: 58.2 seconds
- Total: 1.6 hours
Framework Versions
- Python: 3.12.12
- Sentence Transformers: 6.3.0
- Transformers: 5.24.1
- PyTorch: 2.15.0+cu132
- Accelerate: 1.16.0
- Datasets: 5.2.0
- Tokenizers: 0.23.3
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",
}
MultiVectorMultipleNegativesRankingLoss
@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}
}