Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks
Paper • 1908.10084 • Published • 12
This is a sentence-transformers model finetuned from BAAI/bge-small-en-v1.5. 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.
SentenceTransformer(
(0): Transformer({'max_seq_length': 512, 'do_lower_case': True, 'architecture': '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()
)
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("shahamitkumar/resume-bge-small")
# Run inference
sentences = [
'exit interviews AND employee feedback',
'e l p S M E s i n t h e i r g l o b a l m a r k e t r e s e a r c h ● C u l t i v a t e d s t r o n g c l i e n t r e l a t i o n s h i p s a n d a c h i e v e d a 1 0 0 % j o b s u c c e s s s c o r e ● S h a r p e n e d a b i l i t y t o c o m m u n i c a t e e \x00 e c t i v e l y w i t h g l o b a l c l i e n t s a n d s t a k e h o l d e r s H u m a n R e s o u r c e s I n t e r n | P I A ( P a k i s t a n I n t e r n a t i o n a l A i r l i n e s ) | J u n e 2 0 2 1 - J u l y 2 0 2 1 ● C o n t r i b u t e d t o a s i g n i fi c a n t r e d u c t i o n i n w o r k f o r c e s i z e , w i t h n e a r l y 2 0 0 0 e m p l o y e e s o p t i n g f o r t h e V S S , l e a d i n g t o e n h a n c e d o p e r a t i o n a l a g i l i t y a n d c o s t s a v i n g s f o r t h e o r g a n i z a t i o n ● A s s i s t e d i n c o n d u c t i n g e x i t i n t e r v i e w s f o r d e p a r t i n g e m p l o y e e s , g a t h e r i n g v a l u a b l e f e e d b a c k t o i d e n t i f y a r e a s f o r i m p r o v e m e n',
'Settlement Process SKILLS • Investment decisioning • Funds Flow process • Prepaid card processing knowledge (VISA, MasterCard, Discover & FIS) • ACH Transaction processing system • ACH Migration Project Lead • Understanding of Debit & Prepaid card settlement Process • Funds flow process between Program Manager, Issuing Financial Ins. & Processor and the role of ODFI & RDFI. • Team Player and Proficient in MS E xcel • Fluent in [ English, Urdu & Punjabi ]',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 384]
# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities)
# tensor([[1.0000, 0.2549, 0.2693],
# [0.2549, 1.0000, 0.1984],
# [0.2693, 0.1984, 1.0000]])
sentence_0 and sentence_1| sentence_0 | sentence_1 | |
|---|---|---|
| type | string | string |
| details |
|
|
| sentence_0 | sentence_1 |
|---|---|
operations management AND marketing research |
be a great lead in customer service and effecting it with your behavior”. Advanced Operations Management: Analyzed supply chain system of Packages limited w.r.t dynamics. Marketing Research: Researched and presented solutions for the problem of low sales volume for “DeSOM” ADDITIONAL EXPERIENCE General Secretary , Business Management Club 2014 – 2015 • Conducted and promoted several university trips to Northern areas with my team of 12 members. Team Leader, Polo Club 2015 - 2016 • I was the team leader university polo club team. • Going to be a certified Customer Re lation M anager By BMW. HONORS, AWARDS & TRAININGS • 3rd Position representing LGU at LUMS supply chain summit. • 1st position in university for finishing the fairy meadow trek. • 1st position in university dramatic competition • Hands on experience on SAP for 2.5 years SKILLS & INTERESTS • Competent user of Microsoft Office, SAP & CRM systems. • Vast interest in travelling, hiking and keeping pet. Pets make your surroundin... |
Microsoft CRM AND sales strategy |
internet lead phone calls Selling a minimum number of products or bringing in a minimum of customers from the Internet, based on goals and objectives defined. INTECH Process Automation Microsoft CRM Administator July 2014 - December 2014 (6 months) Lahore, Pakistan Education COMSATS Institute of Information and Technology Master of Business Administration - MBA, Business Administration and Management, General · (2018 - 2019) COMSATS Institute of Information and Technology Bachelor's degree, Business/Managerial Economics · (2012 - 2016) Page 3 of 3 |
who has experience with SAP ERP and Oracle? |
SHAHRUKH ALI |
MultipleNegativesRankingLoss with these parameters:{
"scale": 20.0,
"similarity_fct": "cos_sim",
"gather_across_devices": false,
"directions": [
"query_to_doc"
],
"partition_mode": "joint",
"hardness_mode": null,
"hardness_strength": 0.0
}
per_device_train_batch_size: 32per_device_eval_batch_size: 32multi_dataset_batch_sampler: round_robindo_predict: Falseeval_strategy: noprediction_loss_only: Trueper_device_train_batch_size: 32per_device_eval_batch_size: 32gradient_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: 3max_steps: -1lr_scheduler_type: linearlr_scheduler_kwargs: Nonewarmup_ratio: Nonewarmup_steps: 0log_level: passivelog_level_replica: warninglog_on_each_node: Truelogging_nan_inf_filter: Trueenable_jit_checkpoint: Falsesave_on_each_node: Falsesave_only_model: Falserestore_callback_states_from_checkpoint: Falseuse_cpu: Falseseed: 42data_seed: Nonebf16: Falsefp16: Falsebf16_full_eval: Falsefp16_full_eval: Falsetf32: Nonelocal_rank: -1ddp_backend: Nonedebug: []dataloader_drop_last: Falsedataloader_num_workers: 0dataloader_prefetch_factor: Nonedisable_tqdm: Falseremove_unused_columns: Truelabel_names: Noneload_best_model_at_end: Falseignore_data_skip: Falsefsdp: []fsdp_config: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': 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: Nonedeepspeed: Nonelabel_smoothing_factor: 0.0optim: adamw_torch_fusedoptim_args: Nonegroup_by_length: Falselength_column_name: lengthproject: huggingfacetrackio_space_id: trackioddp_find_unused_parameters: Noneddp_bucket_cap_mb: Noneddp_broadcast_buffers: Falsedataloader_pin_memory: Truedataloader_persistent_workers: Falseskip_memory_metrics: Truepush_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_for_metrics: []eval_do_concat_batches: Trueauto_find_batch_size: Falsefull_determinism: Falseddp_timeout: 1800torch_compile: Falsetorch_compile_backend: Nonetorch_compile_mode: Noneinclude_num_input_tokens_seen: noneftune_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: Trueuse_cache: Falseprompts: Nonebatch_sampler: batch_samplermulti_dataset_batch_sampler: round_robinrouter_mapping: {}learning_rate_mapping: {}@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",
}
@misc{oord2019representationlearningcontrastivepredictive,
title={Representation Learning with Contrastive Predictive Coding},
author={Aaron van den Oord and Yazhe Li and Oriol Vinyals},
year={2019},
eprint={1807.03748},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/1807.03748},
}
Base model
BAAI/bge-small-en-v1.5