metadata
base_model: sentence-transformers/multi-qa-MiniLM-L6-cos-v1
datasets: []
language: []
library_name: sentence-transformers
metrics:
- pearson_cosine
- spearman_cosine
- pearson_manhattan
- spearman_manhattan
- pearson_euclidean
- spearman_euclidean
- pearson_dot
- spearman_dot
- pearson_max
- spearman_max
pipeline_tag: sentence-similarity
tags:
- sentence-transformers
- sentence-similarity
- feature-extraction
- generated_from_trainer
- dataset_size:3192024
- loss:CosineSimilarityLoss
widget:
- source_sentence: Must have experience in interdisciplinary collaboration
sentences:
- >-
Nurse Coordinator specializing in advanced heart failure programs at The
Queen's Health System. Skilled in patient care coordination, clinical
assessments, and interdisciplinary collaboration. Experienced in
managing complex health cases and ensuring compliance with healthcare
regulations. Proficient in utilizing advanced medical technologies and
technologies to enhance patient outcomes. Strong background in nonprofit
healthcare environments, contributing to optimal health and wellness
initiatives.
- >-
Administrative Assistant in the judiciary with experience at the
Minnesota Judicial Branch and Mayo Clinic. Skilled in managing
administrative tasks, coordinating schedules, and supporting judicial
processes. Proficient in office software and communication tools.
Previous roles include bank teller positions, enhancing customer service
and financial transactions. Strong organizational skills and attention
to detail, contributing to efficient operations in high-pressure
environments.
- >-
Area Manager in facilities services with expertise in managing public
parks, campgrounds, and recreational facilities. Skilled in operational
management, team leadership, and customer service. Proven track record
in enhancing service delivery and operational efficiency. Previous roles
include Management Team and Accounts Payable Manager, demonstrating
versatility across various industries. Strong background in office
management and office operations, contributing to a well-rounded
understanding of facility management practices.
- source_sentence: Must have a customer service orientation
sentences:
- >-
Research Assistant in biotechnology with expertise in Molecular Biology,
Protein Expression, Purification, and Crystallization. Currently
employed at Seagen, contributing to innovative cancer treatments. Holds
a B.S. in Biochemistry and minors in Chemistry and Spanish. Previous
experience includes roles as a Manufacturing Technician at AGC Biologics
and undergraduate research at NG Lab and Mueller Lab, focusing on
recombinant human proteins and protein processing. Proficient in leading
project cooperation and public speaking.
- >-
Instructional Developer with a Master's in Human Resource Development,
specializing in learning solutions across various media platforms.
Experienced in storyboarding, animation, videography, and
post-production. Proven track record in e-learning design and
development, team leadership, and creative problem-solving. Currently
employed at The University of Texas Health Science Center at Houston,
focusing on enhancing organizational value through tailored corporate
learning. Previous roles include Learning Consultant at Strategic Ascent
and Assistant Manager at Cicis Pizza. Strong background in healthcare
and professional training industries.
- >-
Human Resource professional with expertise in hiring, compliance,
benefits, and compensation within the hospitality and semiconductor
industries. Currently a Talent Acquisition Specialist at MKS
Instruments, skilled in relationship building and attention to detail.
Previous roles include Recruitment Manager at Block by Block and Talent
Acquisition Specialist at Manpower. Proficient in advanced computer
skills and a customer service orientation. Experienced in staffing
management and recruitment strategies, with a strong focus on enhancing
workforce capabilities and fostering client relationships.
- source_sentence: Must be proficient in graphic design software
sentences:
- >-
Senior Software Engineer with expertise in developing innovative
solutions for the aviation and defense industries. Currently at Delta
Flight Products, specializing in aircraft cabin interiors and avionics.
Proficient in backend ETL processes, REST API development, and software
development life cycle. Previous experience includes roles at Cisco,
Thales, Safran, and FatPipe Networks, focusing on enhancing operational
efficiency and user experience. Holds multiple patents for web
application design and deployment. Strong background in collaborating
with cross-functional teams to deliver high-quality software solutions.
- >-
Client Advisor in financial services with a strong background in luxury
goods and retail. Currently at Louis Vuitton, specializing in client
relationship management and personalized service. Previously worked at
Salvatore Ferragano, enhancing client engagement and driving sales.
Experienced in marketing management from SkPros, focusing on brand
strategy and market analysis. Proficient in leveraging data to inform
decision-making and improve client experiences.
- >-
Weld Process Specialist at Airgas with expertise in industrial
automation and chemicals. Skilled in Resistance weld gun calibration,
schedule database management, and asset locating matrix creation.
Previous experience as a Welding Engineer at R&E Automated, providing
support in automation systems for manufacturing applications. Proficient
in DCEN and various welding techniques, including Fanuc and Motoman.
Background includes roles in drafting and welding, enhancing fabrication
efficiency and quality. Strong foundation in mechanical design and
engineering principles, with a focus on improving performance and
performance in manufacturing environments.
- source_sentence: Must have experience in pharmaceutical marketing
sentences:
- >-
Brand Influencer specializing in Black Literary, Culture, and Lifestyle.
Certified UrbanAg with over 20 years of experience in urban agriculture
consulting and retail operations. Currently supervises community gardens
at Chicago Botanic Garden, educating residents on organic growing
methods and addressing nutrition, food security, and healthy lifestyle
options. Previously served as president of Af-Am Bookstore,
demonstrating entrepreneurial skills and community engagement. Expertise
in marketing and advertising, with a focus on enhancing community
engagement and promoting sustainable practices.
- >-
Experienced Studio Manager and Executive Producer in media production,
specializing in immersive entertainment and virtual environments.
Proficient in business planning, team building, fundraising, and
management. Co-founder of Dirty Secret, focusing on brand activation and
custom worlds. Previous roles at Wevr involved production coordination
and project management, with a strong background in arts and design.
Holds a degree from California State University-Los Angeles.
- >-
Owner and CEO of Cake N Wings, a catering company specializing in food
and travel PR. Experienced in public relations across health,
technology, and entertainment sectors. Proven track record in developing
innovative urban cuisine and enhancing customer experiences. Previous
roles include account executive at Development Counsellors International
and public relations manager at Creole Restaurant. Skilled in brand
development, event management, and community engagement.
- source_sentence: Must have experience in software development
sentences:
- >-
Multi-skilled Business Analytics professional with a Master’s in
Business Analytics and a dual MBA. Experienced in data analytics,
predictive modeling, and project management within the health and
wellness sector. Proficient in extracting, summarizing, and analyzing
claims databases and healthcare analytics. Skilled in statistical
analysis, database management, and data visualization. Previous roles
include Business Analytics Advisor at Cigna Healthcare and Informatics
Senior Specialist at Cigna Healthcare. Strong leadership and project
management abilities, with a solid foundation in healthcare economics
and outcomes observational research. Familiar with Base SAS 9.2, SAS EG,
SAS EM, SAS JMP, Tableau, and Oracle Crystal Ball.
- >-
Assistant Vice President in commercial real estate financing with a
strong background in banking. Experienced in business banking and branch
management, having held roles as Assistant Vice President and Business
Banking Officer. Proven track record in business development and branch
operations within a large independent bank. Skilled in building client
relationships and driving financial growth. Holds expertise in managing
diverse teams and enhancing operational efficiency. Previous experience
includes branch management across multiple branches, demonstrating a
commitment to community engagement and financial wellness.
- >-
CEO of IMPROVLearning, specializing in e-learning and driver education.
Founded and managed multiple ventures in training, healthcare, and real
estate. Proven track record of expanding product offerings and achieving
recognition on the Inc 500/5000 list. Active board member of the LA
Chapter of the Entrepreneur Organization, contributing to the growth of
over 3 million students. Experienced in venture capital and
entrepreneurship, with a focus on innovative training solutions and
community engagement. Active member of various organizations, including
the Entrepreneurs' Organization and the Los Angeles County Business
Federation.
model-index:
- name: >-
SentenceTransformer based on
sentence-transformers/multi-qa-MiniLM-L6-cos-v1
results:
- task:
type: semantic-similarity
name: Semantic Similarity
dataset:
name: validation
type: validation
metrics:
- type: pearson_cosine
value: 0.9594453206302572
name: Pearson Cosine
- type: spearman_cosine
value: 0.860568334150162
name: Spearman Cosine
- type: pearson_manhattan
value: 0.9436690128729379
name: Pearson Manhattan
- type: spearman_manhattan
value: 0.8604275677997159
name: Spearman Manhattan
- type: pearson_euclidean
value: 0.9443183012069103
name: Pearson Euclidean
- type: spearman_euclidean
value: 0.8605683342374743
name: Spearman Euclidean
- type: pearson_dot
value: 0.9594453207129489
name: Pearson Dot
- type: spearman_dot
value: 0.8605683341225518
name: Spearman Dot
- type: pearson_max
value: 0.9594453207129489
name: Pearson Max
- type: spearman_max
value: 0.8605683342374743
name: Spearman Max
SentenceTransformer based on sentence-transformers/multi-qa-MiniLM-L6-cos-v1
This is a sentence-transformers model finetuned from sentence-transformers/multi-qa-MiniLM-L6-cos-v1. It maps sentences & paragraphs to a 384-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
Model Details
Model Description
- Model Type: Sentence Transformer
- Base model: sentence-transformers/multi-qa-MiniLM-L6-cos-v1
- Maximum Sequence Length: 512 tokens
- Output Dimensionality: 384 tokens
- 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': False}) with Transformer model: BertModel
(1): Pooling({'word_embedding_dimension': 384, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
(2): Normalize()
)
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 = [
'Must have experience in software development',
"CEO of IMPROVLearning, specializing in e-learning and driver education. Founded and managed multiple ventures in training, healthcare, and real estate. Proven track record of expanding product offerings and achieving recognition on the Inc 500/5000 list. Active board member of the LA Chapter of the Entrepreneur Organization, contributing to the growth of over 3 million students. Experienced in venture capital and entrepreneurship, with a focus on innovative training solutions and community engagement. Active member of various organizations, including the Entrepreneurs' Organization and the Los Angeles County Business Federation.",
'Multi-skilled Business Analytics professional with a Master’s in Business Analytics and a dual MBA. Experienced in data analytics, predictive modeling, and project management within the health and wellness sector. Proficient in extracting, summarizing, and analyzing claims databases and healthcare analytics. Skilled in statistical analysis, database management, and data visualization. Previous roles include Business Analytics Advisor at Cigna Healthcare and Informatics Senior Specialist at Cigna Healthcare. Strong leadership and project management abilities, with a solid foundation in healthcare economics and outcomes observational research. Familiar with Base SAS 9.2, SAS EG, SAS EM, SAS JMP, Tableau, and Oracle Crystal Ball.',
]
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
Semantic Similarity
- Dataset:
validation
- Evaluated with
EmbeddingSimilarityEvaluator
Metric | Value |
---|---|
pearson_cosine | 0.9594 |
spearman_cosine | 0.8606 |
pearson_manhattan | 0.9437 |
spearman_manhattan | 0.8604 |
pearson_euclidean | 0.9443 |
spearman_euclidean | 0.8606 |
pearson_dot | 0.9594 |
spearman_dot | 0.8606 |
pearson_max | 0.9594 |
spearman_max | 0.8606 |
Training Details
Training Dataset
Unnamed Dataset
- Size: 3,192,024 training samples
- Columns:
sentence_0
,sentence_1
, andlabel
- Approximate statistics based on the first 1000 samples:
sentence_0 sentence_1 label type string string float details - min: 6 tokens
- mean: 9.15 tokens
- max: 17 tokens
- min: 53 tokens
- mean: 93.6 tokens
- max: 150 tokens
- min: 0.0
- mean: 0.5
- max: 1.0
- Samples:
sentence_0 sentence_1 label Must have experience in software development
Executive Assistant with a strong background in real estate and financial services. Experienced in managing executive schedules, coordinating communications, and supporting investment banking operations. Proficient in office management software and adept at multitasking in fast-paced environments. Previous roles at Blackstone, Piper Sandler, and Broe Real Estate Group, where responsibilities included supporting high-level executives and enhancing operational efficiency. Skilled in fostering relationships and facilitating smooth transitions in fast-paced settings.
0.0
Must have experience in overseeing service delivery for health initiatives
Director of Solution Strategy in health, wellness, and fitness, specializing in relationship building and strategy execution. Experienced in overseeing service delivery and performance management for telehealth and digital health initiatives at Blue Cross Blue Shield of Massachusetts. Proven track record in vendor lifecycle management, contract strategy, and operational leadership. Skilled in developing standardized wellness programs and enhancing client satisfaction through innovative solutions. Strong background in managing cross-functional teams and driving performance metrics in health engagement and wellness services.
1.0
Must have experience collaborating with Fortune 500 companies
Senior Sales and Business Development Manager in the energy sector, specializing in increasing profitable sales for small to large companies. Proven track record in relationship building, team management, and strategy development. Experienced in collaborating with diverse stakeholders, including Fortune 500 companies and small to large privately held companies. Previous roles include Vice President of Operations at NovaStar LP and Director of Sales at NovaStar Mortgage and Athlon Solutions. Strong communicator and team player, with a focus on customer needs and operational efficiency.
1.0
- Loss:
CosineSimilarityLoss
with these parameters:{ "loss_fct": "torch.nn.modules.loss.MSELoss" }
Training Hyperparameters
Non-Default Hyperparameters
eval_strategy
: stepsper_device_train_batch_size
: 128per_device_eval_batch_size
: 128num_train_epochs
: 1.0multi_dataset_batch_sampler
: round_robin
All Hyperparameters
Click to expand
overwrite_output_dir
: Falsedo_predict
: Falseeval_strategy
: stepsprediction_loss_only
: Trueper_device_train_batch_size
: 128per_device_eval_batch_size
: 128per_gpu_train_batch_size
: Noneper_gpu_eval_batch_size
: Nonegradient_accumulation_steps
: 1eval_accumulation_steps
: Nonetorch_empty_cache_steps
: Nonelearning_rate
: 5e-05weight_decay
: 0.0adam_beta1
: 0.9adam_beta2
: 0.999adam_epsilon
: 1e-08max_grad_norm
: 1num_train_epochs
: 1.0max_steps
: -1lr_scheduler_type
: linearlr_scheduler_kwargs
: {}warmup_ratio
: 0.0warmup_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
: Falsefp16
: 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}deepspeed
: Nonelabel_smoothing_factor
: 0.0optim
: adamw_torchoptim_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
: 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
: Falseeval_on_start
: Falseeval_use_gather_object
: Falsebatch_sampler
: batch_samplermulti_dataset_batch_sampler
: round_robin
Training Logs
Epoch | Step | Training Loss | validation_spearman_max |
---|---|---|---|
0.0200 | 500 | 0.1362 | - |
0.0401 | 1000 | 0.0533 | - |
0.0601 | 1500 | 0.0433 | - |
0.0802 | 2000 | 0.0386 | - |
0.1002 | 2500 | 0.0356 | - |
0.1203 | 3000 | 0.0345 | - |
0.1403 | 3500 | 0.0326 | - |
0.1604 | 4000 | 0.0323 | - |
0.1804 | 4500 | 0.0313 | - |
0.2005 | 5000 | 0.0305 | - |
0.2205 | 5500 | 0.0298 | - |
0.2406 | 6000 | 0.0296 | - |
0.2606 | 6500 | 0.0291 | - |
0.2807 | 7000 | 0.0286 | - |
0.3007 | 7500 | 0.0286 | - |
0.3208 | 8000 | 0.0281 | - |
0.3408 | 8500 | 0.0278 | - |
0.3609 | 9000 | 0.0273 | - |
0.3809 | 9500 | 0.0276 | - |
0.4010 | 10000 | 0.0274 | - |
0.4210 | 10500 | 0.0266 | - |
0.4411 | 11000 | 0.0261 | - |
0.4611 | 11500 | 0.0264 | - |
0.4812 | 12000 | 0.0256 | - |
0.5012 | 12500 | 0.0254 | - |
0.5213 | 13000 | 0.0251 | - |
0.5413 | 13500 | 0.0249 | - |
0.5614 | 14000 | 0.0253 | - |
0.5814 | 14500 | 0.0247 | - |
0.6015 | 15000 | 0.0254 | - |
0.6215 | 15500 | 0.0246 | - |
0.6416 | 16000 | 0.0251 | - |
0.6616 | 16500 | 0.0248 | - |
0.6817 | 17000 | 0.0247 | - |
0.7017 | 17500 | 0.0246 | - |
0.7218 | 18000 | 0.0242 | - |
0.7418 | 18500 | 0.024 | - |
0.7619 | 19000 | 0.0247 | - |
0.7819 | 19500 | 0.0238 | - |
0.8020 | 20000 | 0.0244 | 0.8603 |
0.8220 | 20500 | 0.024 | - |
0.8421 | 21000 | 0.0244 | - |
0.8621 | 21500 | 0.0242 | - |
0.8822 | 22000 | 0.0239 | - |
0.9022 | 22500 | 0.0237 | - |
0.9223 | 23000 | 0.0241 | - |
0.9423 | 23500 | 0.0242 | - |
0.9624 | 24000 | 0.0238 | - |
0.9824 | 24500 | 0.0236 | - |
1.0 | 24938 | - | 0.8606 |
Framework Versions
- Python: 3.11.6
- Sentence Transformers: 3.0.1
- Transformers: 4.44.1
- PyTorch: 2.4.0+cu121
- Accelerate: 0.33.0
- Datasets: 2.21.0
- 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",
}