BGE-base-en-v1.5-Hotpotqa
This is a sentence-transformers model finetuned from BAAI/bge-small-en on the sentence-transformers/hotpotqa dataset. It maps sentences & paragraphs to a 384-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
Model Details
Model Description
- Model Type: Sentence Transformer
- Base model: BAAI/bge-small-en
- Maximum Sequence Length: 512 tokens
- Output Dimensionality: 384 tokens
- Similarity Function: Cosine Similarity
- Training Dataset:
- Language: en
- License: apache-2.0
Model Sources
- Documentation: Sentence Transformers Documentation
- Repository: Sentence Transformers on GitHub
- Hugging Face: Sentence Transformers on Hugging Face
Full Model Architecture
SentenceTransformer(
(0): Transformer({'max_seq_length': 512, 'do_lower_case': True}) with Transformer model: BertModel
(1): Pooling({'word_embedding_dimension': 384, 'pooling_mode_cls_token': True, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
(2): Normalize()
)
Usage
Direct Usage (Sentence Transformers)
First install the Sentence Transformers library:
pip install -U sentence-transformers
Then you can load this model and run inference.
from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
model = SentenceTransformer("sentence_transformers_model_id")
# Run inference
sentences = [
'Red Velvet is a 2012 play by Lolita Chakrabarti, dealing with the biography of a 19th century actor born in which year ?',
'Red Velvet (play) Red Velvet is a 2012 play by Lolita Chakrabarti, dealing with the biography of the 19th century actor Ira Aldridge and his taking the role of "Othello". It premiered at the Tricycle Theatre (directed by its new artistic director Indhu Rubasingham) from 11 October to 24 November 2012, with Aldridge played by Adrian Lester.',
"Herbert Campbell Herbert Campbell (22 December 1844 – 19 July 1904) born Herbert Edward Story was an English comedian and actor who appeared in music hall, Victorian burlesques and musical comedies during the Victorian era. He was famous for starring, for forty years, in the Theatre Royal, Drury Lane's annual Christmas pantomimes, predominantly as a dame.",
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 384]
# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]
Evaluation
Metrics
Triplet
- Dataset:
dim_384
- Evaluated with
TripletEvaluator
Metric | Value |
---|---|
cosine_accuracy | 0.8699 |
dot_accuracy | 0.1301 |
manhattan_accuracy | 0.8738 |
euclidean_accuracy | 0.8699 |
max_accuracy | 0.8738 |
Triplet
- Dataset:
dim_256
- Evaluated with
TripletEvaluator
Metric | Value |
---|---|
cosine_accuracy | 0.8682 |
dot_accuracy | 0.1319 |
manhattan_accuracy | 0.8762 |
euclidean_accuracy | 0.8681 |
max_accuracy | 0.8762 |
Triplet
- Dataset:
dim_128
- Evaluated with
TripletEvaluator
Metric | Value |
---|---|
cosine_accuracy | 0.8663 |
dot_accuracy | 0.1387 |
manhattan_accuracy | 0.8742 |
euclidean_accuracy | 0.8657 |
max_accuracy | 0.8742 |
Triplet
- Dataset:
dim_64
- Evaluated with
TripletEvaluator
Metric | Value |
---|---|
cosine_accuracy | 0.8635 |
dot_accuracy | 0.1509 |
manhattan_accuracy | 0.8728 |
euclidean_accuracy | 0.8637 |
max_accuracy | 0.8728 |
Training Details
Training Dataset
sentence-transformers/hotpotqa
- Dataset: sentence-transformers/hotpotqa at f07d3cd
- Size: 76,064 training samples
- Columns:
anchor
,positive
, andnegative
- Approximate statistics based on the first 1000 samples:
anchor positive negative type string string string details - min: 8 tokens
- mean: 24.08 tokens
- max: 95 tokens
- min: 23 tokens
- mean: 100.12 tokens
- max: 512 tokens
- min: 15 tokens
- mean: 88.02 tokens
- max: 512 tokens
- Samples:
anchor positive negative What nationality was the player named MVP in 2017 World Baseball Classic – Pool C ?
2017 World Baseball Classic – Pool C Pool C of the First Round of the 2017 World Baseball Classic was held at Marlins Park, Miami, Florida, United States, from March 9 to 12, 2017, between Canada, Colombia, the Dominican Republic, and the United States. Pool C was a round-robin tournament. Each team played the other three teams once, with the top two teams – the Dominican Republic and the United States – advancing to Pool F, one of two second-round pools. Manny Machado of the Dominican Republic was named MVP for the first-round Pool C bracket of the WBC, after batting .357.
2017 World Baseball Classic – Qualifier 2 Qualifier 2 of the Qualifying Round of the 2017 World Baseball Classic was held at Estadio B'Air, Mexicali, Mexico from March 17 to 20, 2016.
Karl Kraepelin specialized in the study of what predatory arachnids?
Karl Kraepelin Karl Matthias Friedrich Magnus Kraepelin (14 December 1848 Neustrelitz – 28 June 1915 Hamburg), was a German naturalist who specialised in the study of scorpions, centipedes, spiders and solfugids, and was noted for his monograph ""Scorpiones und Pedipalpi"" (Berlin) in 1899, which was an exhaustive survey of the taxonomy of the Order Scorpiones. From 1889–1914 he was Director of the "Naturhistorisches Museum Hamburg ", which was destroyed during World War II, and worked on myriapods from 1901–1916.
Teuthology Teuthology (from Greek "τεῦθος" , "cuttlefish, squid", and -λογία , "-logia") is the study of cephalopods.
Who directed the 1990 American crime film in which Vito Pick me played a bit part?
Vito Picone Vito Picone (born March 20, 1941) is the lead singer of The Elegants, and along with Jimmy Mochella is a remaining original member. He has also played bit parts in "Goodfellas", "Analyze This", and "The Sopranos".
The Rookie (1990 film) The Rookie is a 1990 American buddy cop film directed by Clint Eastwood and produced by Howard G. Kazanjian, Steven Siebert and David Valdes. It was written from a screenplay conceived by Boaz Yakin and Scott Spiegel. The film stars Charlie Sheen, Clint Eastwood, Raúl Juliá, Sônia Braga, Lara Flynn Boyle, and Tom Skerritt. Eastwood plays a veteran police officer teamed up with a younger detective played by Sheen ("the rookie"), whose intent is to take down a German crime lord in downtown Los Angeles following months of investigation into an exotic car theft ring.
- Loss:
MatryoshkaLoss
with these parameters:{ "loss": "TripletLoss", "matryoshka_dims": [ 384, 256, 128, 64 ], "matryoshka_weights": [ 1, 1, 1, 1 ], "n_dims_per_step": -1 }
Evaluation Dataset
sentence-transformers/hotpotqa
- Dataset: sentence-transformers/hotpotqa at f07d3cd
- Size: 8,452 evaluation samples
- Columns:
anchor
,positive
, andnegative
- Approximate statistics based on the first 1000 samples:
anchor positive negative type string string string details - min: 10 tokens
- mean: 24.53 tokens
- max: 114 tokens
- min: 19 tokens
- mean: 103.87 tokens
- max: 407 tokens
- min: 17 tokens
- mean: 88.32 tokens
- max: 356 tokens
- Samples:
anchor positive negative Which actress, known for her role as Harper Munroe on the MTV comedy series "Happyland", starred alongside Laura Marano, Parker Mack, Michelle Clunie and Kathleen Wilhoite in the film A Sort of Homecoming?
A Sort of Homecoming (film) A Sort of Homecoming is an American drama directed by Maria Burton, her fifth feature film. The films stars Katherine McNamara, Laura Marano, Parker Mack, Michelle Clunie and Kathleen Wilhoite. The film premiered March 14, 2015 at the Omaha Film Festival.
Nellie Bellflower Nellie Bellflower (born May 1, 1946 in Phoenix, Arizona) is an American actress and voice artist who provided the voice of Princess Ariel in the Ruby-Spears animated television series "Thundarr the Barbarian". She has also been in "The Last Unicorn" (voice), Rankin/Bass "The Return of the King", "Americathon", the miniseries "East of Eden", and guest roles on various TV shows such as "Barnaby Jones", "Barney Miller", "Starsky and Hutch", and "Happy Days" as Fonzie's ex-fiancée Maureen Johnson, a.k.a. "The Lone Stripper", in the Season 2 episode of the series titled "Fonzie's Getting Married" (episode #13). Nellie has been involved in movie production with three projects: "The Girl in Melanie Klein" (2008), "Miss Pettigrew Lives for a Day" (2008) and "Finding Neverland" (2004), for which she was nominated for an Academy Award as Producer for Best Picture. She is married to Michael Mislove.
Between Pizza Fusion and Pizzeria Venti, which restaurant emphasizes organic ingredients and green building methods?
Pizza Fusion Pizza Fusion is a Deerfield Beach, Florida-based pizza restaurant chain. Using mostly organic ingredients and emphasizing green building methods, the restaurants operate under the tagline Saving the Earth, One Pizza at a Time.
Pizza Schmizza Pizza Schmizza is an American pizza chain with 23 locations throughout the Portland, Oregon area, and two in southern Oregon. Pizza Schmizza, primarily selling thin crust pizza by-the-slice.
What company distributed the stop motion spin-off special "The Year Without a Santa Claus," which aired on December 10, 1974?
A Miser Brothers' Christmas A Miser Brothers' Christmas is a stop motion spin-off special based on some of the characters from the 1974 Rankin-Bass special "The Year Without a Santa Claus". Distributed by Warner Bros. Animation under their Warner Premiere label (the rights holders of the post-1974 Rankin-Bass library) and Toronto-based Cuppa Coffee Studios, the one-hour special premiered on ABC Family on Saturday, December 13, 2008, during the network's annual The 25 Days of Christmas programming. Mickey Rooney and George S. Irving reprised their respective roles as Santa Claus and Heat Miser at ages 88 and 86. Snow Miser, originally portrayed by Dick Shawn who died in 1987, was voiced by Juan Chioran, while Mrs. Claus, voiced by Shirley Booth in the original, was portrayed by Catherine Disher (because Booth had died in 1992). The movie aimed to emulate the Rankin/Bass animation style. This is the last Christmas special to feature Mickey Rooney as Santa Claus, as he died in 2014, as well as the last time George Irving voiced Heat Miser, as he died in 2016.
Holidaze: The Christmas That Almost Didn't Happen Holidaze: The Christmas That Almost Didn't Happen is an American stop-motion animated Christmas television special directed by David H. Brooks, that originally aired in 2006 and produced by BixPix Entertainment, Once Upon a Frog and Madison Street Entertainment. The show's plot has Rusty Reindeer (Fred Savage) the brother of Rudolph the Red Nosed Reindeer joining a support group for depressed holiday icons, and he and the other characters search for the meaning of Christmas and help a young boy (Dylan and Cole Sprouse) to get on Santa's nice list. Rusty's cohorts include Candie, the Easter Bunny (Gladys Knight); Mr. C, the grouchy cherub (Paul Rodriguez); Albert, the Thanksgiving Turkey (Harland Williams); And Trick and Treat (Brenda Song and Emily Osment) the teenage Halloween Ghosts.
- Loss:
MatryoshkaLoss
with these parameters:{ "loss": "TripletLoss", "matryoshka_dims": [ 384, 256, 128, 64 ], "matryoshka_weights": [ 1, 1, 1, 1 ], "n_dims_per_step": -1 }
Training Hyperparameters
Non-Default Hyperparameters
eval_strategy
: stepsper_device_train_batch_size
: 32per_device_eval_batch_size
: 32gradient_accumulation_steps
: 16learning_rate
: 2e-05num_train_epochs
: 50lr_scheduler_type
: cosinewarmup_ratio
: 0.1bf16
: Truetf32
: Trueload_best_model_at_end
: Trueoptim
: adamw_torch_fusedresume_from_checkpoint
: bge-small-hotpotwa-matryoshkabatch_sampler
: no_duplicates
All Hyperparameters
Click to expand
overwrite_output_dir
: Falsedo_predict
: Falseeval_strategy
: stepsprediction_loss_only
: Trueper_device_train_batch_size
: 32per_device_eval_batch_size
: 32per_gpu_train_batch_size
: Noneper_gpu_eval_batch_size
: Nonegradient_accumulation_steps
: 16eval_accumulation_steps
: Nonelearning_rate
: 2e-05weight_decay
: 0.0adam_beta1
: 0.9adam_beta2
: 0.999adam_epsilon
: 1e-08max_grad_norm
: 1.0num_train_epochs
: 50max_steps
: -1lr_scheduler_type
: cosinelr_scheduler_kwargs
: {}warmup_ratio
: 0.1warmup_steps
: 0log_level
: passivelog_level_replica
: warninglog_on_each_node
: Truelogging_nan_inf_filter
: Truesave_safetensors
: Truesave_on_each_node
: Falsesave_only_model
: Falserestore_callback_states_from_checkpoint
: Falseno_cuda
: Falseuse_cpu
: Falseuse_mps_device
: Falseseed
: 42data_seed
: Nonejit_mode_eval
: Falseuse_ipex
: Falsebf16
: Truefp16
: Falsefp16_opt_level
: O1half_precision_backend
: autobf16_full_eval
: Falsefp16_full_eval
: Falsetf32
: Truelocal_rank
: 0ddp_backend
: Nonetpu_num_cores
: Nonetpu_metrics_debug
: Falsedebug
: []dataloader_drop_last
: Falsedataloader_num_workers
: 0dataloader_prefetch_factor
: Nonepast_index
: -1disable_tqdm
: Falseremove_unused_columns
: Truelabel_names
: Noneload_best_model_at_end
: Trueignore_data_skip
: Falsefsdp
: []fsdp_min_num_params
: 0fsdp_config
: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}fsdp_transformer_layer_cls_to_wrap
: Noneaccelerator_config
: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}deepspeed
: Nonelabel_smoothing_factor
: 0.0optim
: adamw_torch_fusedoptim_args
: Noneadafactor
: Falsegroup_by_length
: Falselength_column_name
: lengthddp_find_unused_parameters
: Noneddp_bucket_cap_mb
: Noneddp_broadcast_buffers
: Falsedataloader_pin_memory
: Truedataloader_persistent_workers
: Falseskip_memory_metrics
: Trueuse_legacy_prediction_loop
: Falsepush_to_hub
: Falseresume_from_checkpoint
: bge-small-hotpotwa-matryoshkahub_model_id
: Nonehub_strategy
: every_savehub_private_repo
: Falsehub_always_push
: Falsegradient_checkpointing
: Falsegradient_checkpointing_kwargs
: Noneinclude_inputs_for_metrics
: Falseeval_do_concat_batches
: Truefp16_backend
: autopush_to_hub_model_id
: Nonepush_to_hub_organization
: Nonemp_parameters
:auto_find_batch_size
: Falsefull_determinism
: Falsetorchdynamo
: Noneray_scope
: lastddp_timeout
: 1800torch_compile
: Falsetorch_compile_backend
: Nonetorch_compile_mode
: Nonedispatch_batches
: Nonesplit_batches
: Noneinclude_tokens_per_second
: Falseinclude_num_input_tokens_seen
: Falseneftune_noise_alpha
: Noneoptim_target_modules
: Nonebatch_eval_metrics
: Falsebatch_sampler
: no_duplicatesmulti_dataset_batch_sampler
: proportional
Training Logs
Epoch | Step | Training Loss | loss | dim_128_cosine_accuracy | dim_256_cosine_accuracy | dim_384_cosine_accuracy | dim_64_cosine_accuracy |
---|---|---|---|---|---|---|---|
0.3366 | 50 | 19.5758 | 19.3933 | 0.9552 | 0.9663 | 0.9668 | 0.9359 |
0.6731 | 100 | 19.4573 | 19.0971 | 0.9571 | 0.9646 | 0.9653 | 0.9450 |
1.0097 | 150 | 19.1409 | 18.4070 | 0.9385 | 0.9434 | 0.9473 | 0.9307 |
1.3462 | 200 | 18.6431 | 17.3292 | 0.9126 | 0.9164 | 0.9184 | 0.9094 |
1.6828 | 250 | 18.2288 | 16.8751 | 0.9063 | 0.9071 | 0.9100 | 0.9023 |
2.0194 | 300 | 18.0425 | 16.6981 | 0.9020 | 0.9032 | 0.9045 | 0.8990 |
2.3559 | 350 | 17.9458 | 16.6155 | 0.9037 | 0.9013 | 0.9022 | 0.8984 |
2.6925 | 400 | 17.8525 | 16.5536 | 0.8978 | 0.8971 | 0.8974 | 0.8948 |
3.0290 | 450 | 17.7529 | 16.5136 | 0.8980 | 0.8956 | 0.8953 | 0.8951 |
3.3656 | 500 | 17.6709 | 16.4824 | 0.8932 | 0.8914 | 0.8928 | 0.8907 |
3.7021 | 550 | 17.5348 | 16.4632 | 0.8863 | 0.8858 | 0.8859 | 0.8849 |
4.0387 | 600 | 17.4198 | 16.4601 | 0.8852 | 0.8862 | 0.8859 | 0.8839 |
4.3753 | 650 | 17.3673 | 16.4405 | 0.8854 | 0.8864 | 0.8865 | 0.8842 |
4.7118 | 700 | 17.2603 | 16.4356 | 0.8835 | 0.8838 | 0.8838 | 0.8807 |
5.0484 | 750 | 17.1807 | 16.4443 | 0.8850 | 0.8864 | 0.8859 | 0.8838 |
5.3849 | 800 | 17.1629 | 16.4202 | 0.8848 | 0.8862 | 0.8867 | 0.8842 |
5.7215 | 850 | 17.0747 | 16.4162 | 0.8854 | 0.8875 | 0.8869 | 0.8837 |
6.0581 | 900 | 17.0161 | 16.4192 | 0.8852 | 0.8863 | 0.8856 | 0.8856 |
6.3946 | 950 | 17.0146 | 16.4033 | 0.8849 | 0.8854 | 0.8856 | 0.8844 |
6.7312 | 1000 | 16.9393 | 16.4053 | 0.8829 | 0.8839 | 0.8848 | 0.8835 |
7.0677 | 1050 | 16.899 | 16.4162 | 0.8826 | 0.8829 | 0.8833 | 0.8818 |
7.4043 | 1100 | 16.9112 | 16.4051 | 0.8829 | 0.8835 | 0.8833 | 0.8820 |
7.7408 | 1150 | 16.8508 | 16.4044 | 0.8822 | 0.8825 | 0.8830 | 0.8820 |
8.0774 | 1200 | 16.8104 | 16.4063 | 0.8816 | 0.8816 | 0.8814 | 0.8817 |
8.4140 | 1250 | 16.8212 | 16.4040 | 0.8835 | 0.8822 | 0.8822 | 0.8820 |
8.7505 | 1300 | 16.7743 | 16.3934 | 0.8822 | 0.8824 | 0.8817 | 0.8810 |
9.0871 | 1350 | 16.7383 | 16.3963 | 0.8810 | 0.8820 | 0.8807 | 0.8800 |
9.4236 | 1400 | 16.743 | 16.4067 | 0.8819 | 0.8822 | 0.8819 | 0.8798 |
9.7602 | 1450 | 16.7047 | 16.3959 | 0.8804 | 0.8810 | 0.8810 | 0.8797 |
10.0968 | 1500 | 16.6782 | 16.3986 | 0.8788 | 0.8791 | 0.8796 | 0.8784 |
10.4333 | 1550 | 16.6708 | 16.4016 | 0.8794 | 0.8792 | 0.8797 | 0.8791 |
10.7699 | 1600 | 16.6485 | 16.3963 | 0.8790 | 0.8801 | 0.8791 | 0.8781 |
11.1064 | 1650 | 16.6205 | 16.4012 | 0.8779 | 0.8787 | 0.8793 | 0.8771 |
11.4430 | 1700 | 16.6095 | 16.4131 | 0.8786 | 0.8790 | 0.8794 | 0.8791 |
11.7796 | 1750 | 16.5891 | 16.4070 | 0.8807 | 0.8805 | 0.8810 | 0.8801 |
12.1161 | 1800 | 16.5619 | 16.3963 | 0.8794 | 0.8800 | 0.8797 | 0.8780 |
12.4527 | 1850 | 16.5467 | 16.3991 | 0.8796 | 0.8806 | 0.8804 | 0.8790 |
12.7892 | 1900 | 16.5398 | 16.3970 | 0.8792 | 0.8798 | 0.8801 | 0.8788 |
13.1258 | 1950 | 16.5047 | 16.3964 | 0.8796 | 0.8804 | 0.8804 | 0.8788 |
13.4623 | 2000 | 16.4985 | 16.4025 | 0.8793 | 0.8798 | 0.8807 | 0.8790 |
13.7989 | 2050 | 16.4852 | 16.4107 | 0.8801 | 0.8810 | 0.8800 | 0.8793 |
14.1355 | 2100 | 16.4526 | 16.3929 | 0.8797 | 0.8801 | 0.8809 | 0.8779 |
14.4720 | 2150 | 16.4343 | 16.4075 | 0.8788 | 0.8791 | 0.8797 | 0.8774 |
14.8086 | 2200 | 16.4244 | 16.4027 | 0.8804 | 0.8819 | 0.8820 | 0.8809 |
15.1451 | 2250 | 16.3947 | 16.4102 | 0.8791 | 0.8792 | 0.8803 | 0.8773 |
15.4817 | 2300 | 16.3827 | 16.4042 | 0.8804 | 0.8813 | 0.8813 | 0.8781 |
15.8183 | 2350 | 16.3719 | 16.4003 | 0.8801 | 0.8818 | 0.8820 | 0.8791 |
16.1548 | 2400 | 16.3403 | 16.4132 | 0.8781 | 0.8791 | 0.8799 | 0.8767 |
16.4914 | 2450 | 16.3357 | 16.4149 | 0.8804 | 0.8809 | 0.8807 | 0.8792 |
16.8279 | 2500 | 16.3203 | 16.4081 | 0.8804 | 0.8814 | 0.8816 | 0.8791 |
17.1645 | 2550 | 16.2986 | 16.4139 | 0.8798 | 0.8800 | 0.8820 | 0.8791 |
17.5011 | 2600 | 16.2923 | 16.4062 | 0.8786 | 0.8792 | 0.8799 | 0.8768 |
17.8376 | 2650 | 16.2649 | 16.4106 | 0.8800 | 0.8807 | 0.8814 | 0.8787 |
18.1742 | 2700 | 16.2505 | 16.4188 | 0.8786 | 0.8793 | 0.8803 | 0.8771 |
18.5107 | 2750 | 16.226 | 16.4149 | 0.8771 | 0.8781 | 0.8780 | 0.8766 |
18.8473 | 2800 | 16.2106 | 16.4230 | 0.8780 | 0.8799 | 0.8791 | 0.8767 |
19.1838 | 2850 | 16.2052 | 16.4351 | 0.8770 | 0.8777 | 0.8785 | 0.8745 |
19.5204 | 2900 | 16.186 | 16.4331 | 0.8777 | 0.8793 | 0.8792 | 0.8762 |
19.8570 | 2950 | 16.1496 | 16.4377 | 0.8774 | 0.8781 | 0.8780 | 0.8771 |
20.1935 | 3000 | 16.151 | 16.4407 | 0.8766 | 0.8780 | 0.8780 | 0.8751 |
20.5301 | 3050 | 16.1081 | 16.4426 | 0.8759 | 0.8775 | 0.8774 | 0.8749 |
20.8666 | 3100 | 16.0864 | 16.4412 | 0.8774 | 0.8781 | 0.8787 | 0.8746 |
21.2032 | 3150 | 16.0934 | 16.4547 | 0.8768 | 0.8783 | 0.8794 | 0.8746 |
21.5398 | 3200 | 16.0382 | 16.4589 | 0.8742 | 0.8752 | 0.8766 | 0.8723 |
21.8763 | 3250 | 16.0279 | 16.4668 | 0.8752 | 0.8766 | 0.8773 | 0.8728 |
22.2129 | 3300 | 16.0327 | 16.4737 | 0.8742 | 0.8768 | 0.8773 | 0.8727 |
22.5494 | 3350 | 15.979 | 16.4686 | 0.8740 | 0.8771 | 0.8771 | 0.8722 |
22.8860 | 3400 | 15.9622 | 16.4736 | 0.8743 | 0.8760 | 0.8765 | 0.8721 |
23.2225 | 3450 | 15.9881 | 16.4802 | 0.8743 | 0.8757 | 0.8755 | 0.8723 |
23.5591 | 3500 | 15.9482 | 16.4821 | 0.8725 | 0.8761 | 0.8761 | 0.8710 |
23.8957 | 3550 | 15.9228 | 16.4996 | 0.8726 | 0.8748 | 0.8751 | 0.8709 |
24.2322 | 3600 | 15.9418 | 16.4973 | 0.8709 | 0.8728 | 0.8734 | 0.8699 |
24.5688 | 3650 | 15.896 | 16.4985 | 0.8696 | 0.8716 | 0.8727 | 0.8686 |
24.9053 | 3700 | 15.8788 | 16.5172 | 0.8691 | 0.8715 | 0.8717 | 0.8662 |
25.2419 | 3750 | 15.9147 | 16.5062 | 0.8677 | 0.8706 | 0.8712 | 0.8662 |
25.5785 | 3800 | 15.857 | 16.5058 | 0.8683 | 0.8717 | 0.8732 | 0.8663 |
25.9150 | 3850 | 15.8291 | 16.5207 | 0.8674 | 0.8702 | 0.8706 | 0.8644 |
26.2516 | 3900 | 15.8802 | 16.5233 | 0.8678 | 0.8697 | 0.8714 | 0.8664 |
26.5881 | 3950 | 15.846 | 16.5170 | 0.8686 | 0.8713 | 0.8717 | 0.8655 |
26.9247 | 4000 | 15.8012 | 16.5336 | 0.8663 | 0.8682 | 0.8699 | 0.8635 |
Framework Versions
- Python: 3.10.10
- Sentence Transformers: 3.0.1
- Transformers: 4.41.2
- PyTorch: 2.1.2+cu121
- Accelerate: 0.33.0
- Datasets: 2.19.1
- Tokenizers: 0.19.1
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}
}
TripletLoss
@misc{hermans2017defense,
title={In Defense of the Triplet Loss for Person Re-Identification},
author={Alexander Hermans and Lucas Beyer and Bastian Leibe},
year={2017},
eprint={1703.07737},
archivePrefix={arXiv},
primaryClass={cs.CV}
}
- Downloads last month
- 5
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social
visibility and check back later, or deploy to Inference Endpoints (dedicated)
instead.
Model tree for rajatrc1705/bge-small-matryoshka-fine-tuned
Base model
BAAI/bge-small-enDataset used to train rajatrc1705/bge-small-matryoshka-fine-tuned
Evaluation results
- Cosine Accuracy on dim 384self-reported0.870
- Dot Accuracy on dim 384self-reported0.130
- Manhattan Accuracy on dim 384self-reported0.874
- Euclidean Accuracy on dim 384self-reported0.870
- Max Accuracy on dim 384self-reported0.874
- Cosine Accuracy on dim 256self-reported0.868
- Dot Accuracy on dim 256self-reported0.132
- Manhattan Accuracy on dim 256self-reported0.876
- Euclidean Accuracy on dim 256self-reported0.868
- Max Accuracy on dim 256self-reported0.876