SentenceTransformer based on BAAI/bge-base-en-v1.5
This is a sentence-transformers model finetuned from BAAI/bge-base-en-v1.5. It maps sentences & paragraphs to a 768-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
Model Details
Model Description
- Model Type: Sentence Transformer
- Base model: BAAI/bge-base-en-v1.5
- Maximum Sequence Length: 512 tokens
- Output Dimensionality: 768 dimensions
- Similarity Function: Cosine Similarity
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, 'architecture': 'BertModel'})
(1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': True, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
(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 = [
"user: I've been using my ceramic straightener and that shine serum, but my hair stays wet too long. I need a fast-drying hair towel.\nassistant: Makes sense. Are you looking for a specific material?\nuser: Yeah, something microfiber and pink would be perfect.\nassistant: Got it, let me check what we have.\nuser: Awesome, I just want it to seriously cut my drying time.",
'Dimstexp 1 Pack Microfiber Hair Towel for Women, Drying Curly Hair, Hair Towel Wrap & Anti Frizz Hair Products, Hair Wraps for Women, Curly Hair Products, Microfiber Towel and Hair Wrap(Pink)\nBrand: Dimstexp Category: Beauty & Personal Care > Hair Care > Hair Accessories > Hair Drying Towels Features: <ul> <li> Say No To Dripping Hair! Always get water on your pajamas after shower? Enough! You need a hair wrap for your hair, a specially designed curly hair product. A turban that is easy to use. </li> <li> Say No To The Sore Neck! Still use clumsy bath towel to dry your hair? Enough! Time to try hair wraps for women. The microfiber towel for hair is lightweight, ideal anti frizz hair products. </li> <li> Say No To Vigorously Rubbing! Always rub your tender hair with a regular towel? Enough! Your curly hair needs something specially designed. Try this hair towel wrap. </li> <li> Say No To Frizzy Hair! Always get frizzy and curly hair after using a hairdryer for a long time? Enough! Try our microfiber hair towel, wicking most moisture, reducing hair blowing time. </li> <li> Say Yes To This Hair Wrap! Always love it after you use it. Perfect curly hair products for women who want healthier hair. You just need to twist and fasten the elastic loop. </li> </ul> Details: Color: Pink Brand: Dimstexp Towel form type: Hair Towel Age Range (Description): Adult Material: Microfiber Product Dimensions: 25.6"L x 9.8"W Number of Items: 1 Pattern: Solid Special Feature: Lightweight Theme: No Theme Product Care Instructions: Hand Wash Only Shape: Rectangular Size: Small Unit Count: 1 Count Fabric Type: 85% Polyester/ 15% Polyamide Item Weight: 3.52 ounces Manufacturer: Dimstexp Item model number: 2021001 Best Sellers Rank: {\'Beauty & Personal Care\': 419275, \'Hair Drying Towels\': 651} Date First Available: February 2, 2021',
'Revlon Perfect Heat 1875W Shine Boosting Hair Dryer, RV484\nCategory: Beauty Description: Give yourself shinier, softer hair with less frizz. Ion Technology – This revolutionary technology uses negative ions to reduce the water droplets on your hair allowing for more moisture to be maintained thus less frizz, faster drying and healthier hair. Ceramic technology – Delivers high, even heat distribution and is gentler on the hair during the drying and styling process thus healthier looking hair. Concentrator attachment can be used for more precise drying and styling. Volumizing diffuser attachment will help add volume from the hair roots out. Removable lint filter will allow for easy cleaning, maintenance and extend the life of your hair dryer. Cold shot option releases cool air for setting your style.',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 768]
# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities)
# tensor([[1.0000, 0.6581, 0.4492],
# [0.6581, 1.0000, 0.3357],
# [0.4492, 0.3357, 1.0000]])
Training Details
Training Dataset
Unnamed Dataset
- Size: 7,392 training samples
- Columns: anchor, positive, negative_1, negative_2, negative_3, and negative_4
- Approximate statistics based on the first 1000 samples:
anchor positive negative_1 negative_2 negative_3 negative_4 type string string string string string string details min: 48 tokensmean: 101.31 tokensmax: 187 tokens min: 9 tokensmean: 294.8 tokensmax: 512 tokens min: 15 tokensmean: 336.81 tokensmax: 512 tokens min: 14 tokensmean: 343.74 tokensmax: 512 tokens min: 13 tokensmean: 335.72 tokensmax: 512 tokens min: 10 tokensmean: 340.44 tokensmax: 512 tokens - Samples:
anchor positive negative_1 negative_2 negative_3 negative_4 user: I liked the Shrinky Dinks and Blume Doll before, but now I worry craft kits make too much mess at home.assistant: What kind of mess concerns you most: sticky residue, scattered small parts, or glue cleanup? And would you want a kit that needs minimal prep?user: Glue cleanup is the worst. I'd like something where you just add water and skip glue entirely.assistant: Do you prefer making several small items or one big project? And do surprise collectible pieces inside the kit interest you?user: Several small ones sound fun, and surprise figures would keep my kid engaged without the glue hassle. Canal Toys - So Slime DIY - Slime Factory - Make your own 10 Slimes Just add water No glue, no mess Multi, 13.5" x 3.15" x 12.25"Brand: Canal Toys Category: Toys & Games > Novelty & Gag Toys > Slime & Putty Toys Features: Factory To Spin Slime Mixtures Add Components And Spin With Handle To Combine Shaker. Storage Containers To Hold Your Slime Glitter, Confetti And Figurines To Create Your Own Style Of Slime Description: Make your own shimmery slime with a surprise! This Slime Factory makes it fun and easy to create custom slime. Combine slime colors, confetti, glitter and surprise figurines to for the coolest slime around. Includes everything you need just add water! No glue required. Includes assorted metallic, neon and pastel slime powder colors. Simply pour one slime powder, glitter and water into the mixer. Mix well and then add a surprise figurine. Which 4 surprises figures will you get?! Styles and colors will vary. Includes 1 Mixer, 1 Workstation, 10 Slime Powder Packs, 3 Colo... Shrinky Dinks Cool Stuff Activity Set Kids Art and Craft ActivityBrand: Shrinky Dinks Category: Toys & Games > Arts & Crafts > Craft Kits Features: 51 piece set Color, bake and shrink a dinosaur, robot, shark, space ship and more Make figurines, magnets and key chains Includes 21 preprinted and precut Shrinky Dinks, 8 color pencils, 8 stands, 6 pipe cleaners, 2 key chains, 6 magnets and easy instructions Recommended for children 5 years of age and older Description: Shrinky Dinks Cool Stuff Activity Set is an awesome way to spend a day indoors! Color, bake and shrink a bat, monster truck, eyeball, alien, insects and more. Shrinky Dinks sheets are made of a special thin, flexible plastic which, when heated in an oven, shrink and harden without altering their color or shape. We precut all the fun shapes in every one of our kits to make them easy to work with! Includes 21 preprinted and precut Shrinky Dinks, 8 color pencils, 8 stands, 6 pipe cleaners, 2 key chains, 6 magnets and easy ins... Keemanman Strawberry Butter Slime, Scented DIY Slime Supplies Kit for Girls and Boys, Stress Relief Toy for Kids Education, Party Favor, Gift and Birthday (7oz)Brand: Keemanman Category: Toys & Games > Novelty & Gag Toys > Slime & Putty Toys Features: SUPER FUN: It is a DIY slime meaning it comes in two layers that you get to mix yourself. It starts off with a pink snow butter slime that is scented. It is then topped off with a milk-colored snow slime that is scented like milk. And every slime comes with some strawberry slices sprinkled on top! HIGH QUALITY & NON STICKY: Comes with newest PS material Containers that slime won't stick to the lid, you can store your slime after playing with so it doesn't dry up. Less sticky than others' slime, so try ours to get rid of stickiness. Great consistency, amazing texture, not crumbly and dry like other clays. SAFE & GENTLE: Components are high-grade materials, hypoallergenic, and non-staining. It is nonirritating to the skin or eyes. Absolute... Elmer's Gue Premade Slime, Slime Kit, Includes Fun, Unique Add-Ins, Party Pack, 20 CountBrand: Elmer's Category: Toys & Games > Novelty & Gag Toys > Slime & Putty Toys Features: Perfect for parties, families, classrooms, and more. Pre-made slime comes ready to play out of the jar; just add the mix-ins. Safe, nontoxic. Contains 20 jars of slime, each with its own set of add-ins. Description: Spread the fun with the Elmer’s Gue Party Pack! It’s 20 jars of premade slime that’s fun to share at parties, with the family, in classrooms, and more. Plus, each variety of Gue comes with its own unique set of mix-ins that transform the slime’s texture and add fun effects. Stretch it, squish it, twist it; explore all the fun ways to play with Elmer’s Gue! Details: Brand: Elmer's Age Range (Description): Kid Color: 20/Pkg Cartoon Character: Elmer Item Dimensions LxWxH: 2.88 x 15.38 x 11.94 inches Material: Plastic Seasons: All Seasons Included Components: slime kit Item Weight: 4.1 pounds Number of... Keemanman 12 Pack Butter Slime Kit with Blue Stitch, Elephant, Unicorn, Watermelon, Lemon, Peach, O-REO, Cherry, Latte, Coffe and Candy Charms, Scented DIY Slime, Stress Relief Toy for Girls and BoysBrand: Keemanman Category: Toys & Games > Novelty & Gag Toys > Slime & Putty Toys Features: SUPER FUN: 12 pack upgrade butter slime kit in blue, purple, orange, pink, yellow, light orange, white, red, light blue, brown and blue, as vibrant as pictures, come with realistic blue stitch, elephant, unicorn, watermelon, lemon, peach, o-reo, cherry, latte, coffee and candy charms. Keep your little artists busy and hours of fun, and they are excellent tool to relieve stress. HIGH QUALITY & NON STICKY: They are incredibly satisfying to play with - squeeze it, twist it, smash it or create arts with it, super smooth, soft & spreadable. You can store your slime after playing with so it doesn't dry up. Less sticky than traditional slime. Great consistency, amazing texture, not crumbly and dry like oth... user: I really liked that steam hairsetter and my collapsible hard hat dryer from before. Now I need a sturdy plug-in nail drill for doing my own manicures.assistant: Great to hear those worked out! Looking for something lightweight and professional?user: Yeah, something slim and powerful with a few bits for filing and buffing. L'UGX Professional Rechargeable Nail Drill Machine, Brushless 35000RPM Cordless Nail Drill, Portable Electrical File for Acrylic, Gel, Manicure PedicureBrand: L'UGX Category: Beauty & Personal Care > Foot, Hand & Nail Care > Nail Art & Polish > False Nails & Accessories > Acrylic Nail Tools Features: 【Professional Brushless Nail Drill for Longer Use】Upgrade brushless and cordless motor, can be used more than 15,000 hours. No vibration for smooth and long-time operation. The professional nail drill with a unique safety protection system to avoid the motor excessive temperature rise. Silent without jitter(30-40 dB). 【Rechargeable & Portable】With a large battery capacity(3000mA). Being fully charged for 2 hours, L'UGX acrylic nail drill will work up to 10 hours. It is equipped with an LED screen that can display the current revolutions number of the machine and the remaining battery power. Compact light weight and portable. 【Powerful E-file the Highest Speed to 35000RPM】 The speed is adj... HK White Nail Dryer Portable Drying for Nail Polish Manicure Paints Professional Nd-01Category: Beauty Description: Description 100% brand new in retail package Portable nail dryer for both hands and toe nails Suitable for drying nail polish / nail art decoration / nail paints The dryer will switch on automatically when the reset stand is pressed, convenience to use! Nail polish would be dry in minutes! Handy, light & convenience to use! Size: Approx: 15cm x 10cm x 6cm Package include 1x Brand new Nail Dryer Belle Pink Electric Pen Shape Nail Drill Art Manicure File Tool 6 BitsCategory: Beauty Description: Bellehome-Make Belle at homeProduct Advantages:*** Quiet and smooth, accepts all rotary tool accessories; Double Bearings Design and Double Insulated*** For professional studio use or home use*** Light weight drill makes working all day easy to do*** Modern design looks great in any home or salonSpecifications:* Color: Pink* Voltage: 110V ,60Hz* Size: 16cm (L) x 2.4cm (Diameter)Package includes:1 * Belle Electric Pen-Shape Nail Drill(Pink)1 * AC adapter6 * Sanding Bands Bits1 * User manual (in English)NOTE:You couldn't insert one bit directly.We will email the user tips to you which show how to insert the bit to the handpiece in 1-2 business days after your order, please read it carefully before you use.Or pls check the 2nd image and follow the below steps.How to Install :Step 1: Press shaft lock button, rotate the collet nut anticlockwise (but do not take the nut out)Step 2: Insert the... Fancii Professional Electric Manicure & Pedicure Nail File Set with Stand - The Complete Portable Nail Drill System with Buffer, Polisher, Shiner, Shaper and UV DryerBrand: Fancii Category: Beauty & Personal Care > Foot, Hand & Nail Care > Tools & Accessories > Nail Tools > Nail Files & Buffers Features: 5 interchangeable heads allow you to effortlessly file, buff, shine, and shape your nails just like at the salon Cordless design with easy operation for in-home and professional use on both natural and acrylic nails Battery operated with 2 AAA batteries (not included). The new and improved motor is quiet but powerful Ergonomic design ensures comfort, for use on both fingernails and toenails Built-in UV dryer accelerates nail polish drying time. No more waving your hands around in the air! Description: For a Perfect, Natural Shine The Fancii Manicure & Pedicure System is the perfect and effortless way to keep your toe nails and finger nails shiny and beautiful. The 5 high-quality, inte... Hot Tools Professional 1069S 1600 Watt Professional Turbo Hair Dryer, Silver/BlackCategory: Beauty Description: Designed to meet the stylist's demand for lightweight quiet dryers with the heat and airflow needed for salon use. user: I was looking at my vintage cherry side table and thought it needs a small decorative object. I worry handmade items might look inconsistent or low quality.assistant: Are you open to a handcrafted piece if it is made by experienced artisans with high-quality material? Would you prefer something mythical or a regular animal for the table?user: Mythical sounds nice. But I want assurance the handmade detail is good and not cheaply done. Maintenance should also be simple.assistant: A compressed-air clean is an easy option for dust. Do you like the idea of a tiny dragon representing luck, or would another creature fit your decor better?user: A tiny dragon for luck fits well. As long as each piece is carefully made and not mass-produced, I'm interested. 2" Tall Tiny Dragon Hand Blown Glass Mythical Animal Figurine Miniature Fantasy Crystal Collectible DecorBrand: Mr_air_thai_Glass_Blown Category: Home & Kitchen > Home Décor Products > Home Décor Accents > Collectible Figurines Features: HANDCRAFTED: High-quality glass hand-blown into dragon shapes in their natural form. UNIQUE DESIGN: Every piece is slightly different due to the hand-blowing process. As such is the nature of the items, details may vary from piece to piece thus no two are alike making them special indeed. CAPTIVATING DECOR: In the Chinese culture, the dragon represents good luck, strength, health, imperial power and authority. CHARMING PIECE: If you love mythical creatures, then this miniature Chinese dragon is for you! You can mix and match with other fantasy animal decorative pieces to create fairy tale land in your own home. CARE AND HANDLING: If possible, use a can of compressed air to clean your glass figurine to remove dust and dirt. To remove fingerprints, glas... Willow Tree Angel of Mine, sculpted hand-painted memory boxBrand: Willow Tree Category: Home & Kitchen > Home Décor Products > Home Décor Accents > Decorative Accessories > Decorative Boxes Features: Sentiment written inside box: ”So loved, so very loved”. Includes Enclosure Card 5.25”d x 4"w x 2”h hand-painted wood box with bas-relief resin carving on hinged lid. Ready to display on a shelf, table or mantel. To clean, dust with soft brush or cloth. A message of love and friendship is written inside on the lid. Larger size is nice for jewelry, keys, notes, change. Packaged in fitted box ready for gift-giving. Artist Susan Lordi hand carves the original of each Willow Tree piece from her studio in Kansas City, MO. This piece is made from Susan's original carving and design, and painted by hand. The figure on this piece communicates through gesture, to represent an emotion or mark a memory. Willow Tree sculptures express love, closeness, healing, courage, hope… emotions of a life well l... Willow Tree Dreaming AngelBrand: DEMDACO Category: Home & Kitchen > Home Décor Products > Home Décor Accents > Collectible Figurines Features: Guarding your hopes and dreams Piece is 3.5" tall Artist Susan Lordi hand carves the original of each Willow Tree figurine from her art studio on Kansas City, Missouri Willow Tree is an intimate line of figurative sculptures that speak in quiet ways to heal, comfort, protect and inspire Arrives in a gift box, ready for gift giving with an enclosure card Description: Dreaming angel-guarding your hopes and dreams. willow tree is an intimate, personal line of figurative sculptures representing qualities and sentiments that help us feel close to others, heal wounds or treasure relationships. sUSAn lord carves each original piece with this thought in mind. her figures continue to evolve as she identifies emotions so important for us to convey and renders them in simple, pure gestures. these art forms beautifully express love, closeness, healing, cou... crystalsuncatcher Handmade Snail Art Glass Blown Reptiles Animal FigurineBrand: HDCRYSTALGIFTS Category: Home & Kitchen > Home Décor Products > Home Décor Accents > Collectible Figurines Features: Handmade Craft - Our craftsmen burn the glasses with high temperature fire to burn it to semisolid, and then use their mouths to blow the glass, and with their skillful hand, we got this elegant artwork. Unique Figurine - As you know, it’s a handmade figurine, every single conch is unique, no matter in colors or shapes will be a little bit different from the pictures, that called unique. By the way, the blown process may bring some bubbles which is normal, please understand. Elegant Decor - No matter for a home/party decor, or a birthday/anneversary gift, it can behave as well as you can imagine. Distinctive Gift - We know most of you are pragmatist, and we always choose practical gift to send. However, we want you to put your eyes to our figurine. You know, nowadays, a usable gift cannot sa... Willow Tree Beautiful Wishes, sculpted hand-painted figureBrand: Willow Tree Category: Home & Kitchen > Home Décor Products > Home Décor Accents > Collectible Figurines Features: Sentiment:: ”A gathering of beautiful wishes for you - love, health, happiness” written on Enclosure Card 5.5”h hand-painted resin figure. Ready to display on a shelf, table or mantel. To clean, dust with soft brush or cloth. A gift that expresses love and caring… or for those who love flowers! Packaged in fitted box ready for gift-giving. Artist Susan Lordi hand carves the original of each Willow Tree piece from her studio in Kansas City, MO. This piece is cast from Susan's original carving and painted by hand. This figure communicates through gesture, to represent an emotion or mark a memory. Willow Tree sculptures express love, closeness, healing, courage, hope… emotions of a life well lived. Description: TITLE: Beautiful Wishes SENTIMENT: A gathering of beautiful wishes for you - love, health, happiness G... - Loss: CachedMultipleNegativesRankingLoss with these parameters:
{ "scale": 20.0, "similarity_fct": "cos_sim", "mini_batch_size": 16, "gather_across_devices": false }
Training Hyperparameters
Non-Default Hyperparameters
per_device_train_batch_size: 64learning_rate: 2e-05weight_decay: 0.01num_train_epochs: 1.0warmup_ratio: 0.1bf16: Trueprompts: {'anchor': 'Represent this sentence for searching relevant passages: '}batch_sampler: no_duplicates
All Hyperparameters
overwrite_output_dir: Falsedo_predict: Falseeval_strategy: noprediction_loss_only: Trueper_device_train_batch_size: 64per_device_eval_batch_size: 8per_gpu_train_batch_size: Noneper_gpu_eval_batch_size: Nonegradient_accumulation_steps: 1eval_accumulation_steps: Nonetorch_empty_cache_steps: Nonelearning_rate: 2e-05weight_decay: 0.01adam_beta1: 0.9adam_beta2: 0.999adam_epsilon: 1e-08max_grad_norm: 1.0num_train_epochs: 1.0max_steps: -1lr_scheduler_type: linearlr_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: Nonelocal_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: Falseignore_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}parallelism_config: Nonedeepspeed: 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: Nonehub_model_id: Nonehub_strategy: every_savehub_private_repo: Nonehub_always_push: Falsehub_revision: Nonegradient_checkpointing: Falsegradient_checkpointing_kwargs: Noneinclude_inputs_for_metrics: Falseinclude_for_metrics: []eval_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: Noneinclude_tokens_per_second: Falseinclude_num_input_tokens_seen: Falseneftune_noise_alpha: Noneoptim_target_modules: Nonebatch_eval_metrics: Falseeval_on_start: Falseuse_liger_kernel: Falseliger_kernel_config: Noneeval_use_gather_object: Falseaverage_tokens_across_devices: Falseprompts: {'anchor': 'Represent this sentence for searching relevant passages: '}batch_sampler: no_duplicatesmulti_dataset_batch_sampler: proportionalrouter_mapping: {}learning_rate_mapping: {}
Training Logs
| Epoch | Step | Training Loss |
|---|---|---|
| 0.1724 | 20 | 2.2268 |
| 0.3448 | 40 | 1.4465 |
| 0.5172 | 60 | 1.3796 |
| 0.6897 | 80 | 1.3265 |
| 0.8621 | 100 | 1.2966 |
Framework Versions
- Python: 3.12.9
- Sentence Transformers: 5.1.0
- Transformers: 4.56.1
- PyTorch: 2.8.0+cu128
- Accelerate: 1.15.0
- Datasets: 5.0.1
- Tokenizers: 0.22.2
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",
}
CachedMultipleNegativesRankingLoss
@misc{gao2021scaling,
title={Scaling Deep Contrastive Learning Batch Size under Memory Limited Setup},
author={Luyu Gao and Yunyi Zhang and Jiawei Han and Jamie Callan},
year={2021},
eprint={2101.06983},
archivePrefix={arXiv},
primaryClass={cs.LG}
}