Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks
Paper • 1908.10084 • Published • 13
How to use zlf18/projfinetuned with sentence-transformers:
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("zlf18/projfinetuned")
sentences = [
"Guitar Inspector",
"Account Executive Establish linear and digital agency and direct client relationships in the Atlanta market and surrounding territories.\nDevelop plans, quarterly & annually, to drive revenue and market share across all station platforms.\nContinually prospect, develop and maintain new, non-traditional linear and digital revenue opportunities.\nUnderstand client needs and then collaborate with internal teams to build customized, coordinated solutions.\nCollaborate and relationship-build across various internal departments including: sales, marketing, traffic, finance as well as external (3rd party) vendors.\nManage execution, both traditional and non-traditional, from pre-sell through post-recap.\nOther duties assigned. Desire and ability to prospect & close new business across the full Paramount Global portfolio.\nMarket knowledge and ability to adapt as the linear/streaming business evolves.\nCandidate must be self-motivated, detail oriented and able to handle more than one project at once in a fast-paced environment.\nPersuasiveness, sales skills, ability to demonstrate leadership and teamwork.\nExcellent communication and presentation skills, computer proficiency required.\nBachelor’s degree preferred.\nThree to five years of multi-platform sales experience preferred.\nPrevious media/sponsorship sales experience preferred.\nWide Orbit, Strata and Excel proficiency preferred. CBS Atlanta, WUPA-TV is searching for an energetic and extremely motivated multi-platform sales professional. Ideal candidate will possess strong presentation and communication skills, experience working with advertising agencies and clients directly, growing market share, and closing new business and digital.\nOrganizations that wish to receive job vacancy notices from this posting’s television station should contact sf_recruitingsupport@paramount.com.",
"Guitar Inspector Place product on workstation for a thorough inspection. Inspection for cosmetic finish flaws, sharp uneven surface, test for sound deficiencies, replace damaged parts, and adjust components to meet product criteria specifications\nExcellent product knowledge of all models in current and past production\nAccepted file types: pdf, doc, docx, txt, rtf 1-2 years’ experience and/or training, preferably in production inspection and guitar playing experience\nHigh School Diploma or equivalent\nStrong guitar building, woodworking and finishing skills, in addition to a full understanding of raw material specifications\nGuitar playing background\nExperience with use of calipers, micrometer, digital multimeter, guitar building hand tools, feeler gauges, soldering equipment, and buffing wheel Fender Musical Instruments Corporation is a world-famous brand with offices across the globe. Fender was born in Southern California and has built a worldwide influence beyond the studio and the stage. A Fender is more than an instrument; it’s a cultural symbol that resonates globally.\nWe are searching for a Guitar Inspector to join our team. The Guitar Inspector for Distribution is regularly required to stand, walk, use hands to handle grip, grasp, feel; reach with hands and arms. Incumbent must thoroughly inspect product (Guitars and Amps) each unit requires detailed trouble shooting and quality to identify possible mechanical or cosmetic defects. Employee is required to fully understand product specifications referencing to product criteria to perform necessary adjustments, minor repairs and tune test product to meet specifications. Use of hand tools are required for the job- caliper, file, truss rod wrench, screwdriver, etc.\nInterested in building your career at Fender? Get future opportunities sent straight to your email.",
"Engineering Manager, Customer-Facing Data Products The New York Times Company Lead a team of engineers, promoting a culture of collaboration, innovation, and continuous improvement.\nHire and develop engineering talent within the team.\nOversee the execution of roadmap items and increase productivity and delivery\nCollaborate with product managers and partners to define product requirements and roadmaps.\nGuide technical decisions and architectural design for the team's projects.\nMonitor and report on initiative progress and risks.\nExperience collaborating with product and partners to meet shared goals.\nDemonstrate support and understanding of our value of journalistic independence and a strong commitment to our mission to seek the truth and help people understand the world. Experience coaching engineers, helping them make an impact while growing in their careers.\n2+ years experience as an Engineering Manager leading a data engineering team building production data pipelines and data products.\n5+ years of full-time data engineering experience shipping real-time solutions with event-driven architectures and stream-processing frameworks.\nExperience with AWS and their service offerings and tools.\nUnderstanding of modern API design principles and technologies, including REST, GraphQL, and gRPC for data serving.\nExperience developing pipelines with Apache Kafka, Apache Flink, or Spark Streaming.\nUnderstanding of modern data platforms, including data lake technologies and medallion architectures.\nThe New York Times Company will provide reasonable accommodations as required by applicable federal, state, and/or local laws. Individuals seeking an accommodation for the application or interview process should email reasonable.accommodations@nytimes.com. Emails sent for unrelated issues, such as following up on an application, will not receive a response.\nThe Company encourages those with criminal histories to apply, and will consider their applications in a manner consistent with applicable \"Fair Chance\" laws, including but not limited to the NYC Fair Chance Act, the Los Angeles Fair Chance Initiative for Hiring Ordinance, the San Francisco Fair Chance Ordinance, the Los Angeles County Fair Chance Ordinance for Employers, and the California Fair Chance Act. Office: New York, NY Department: Software Engineering\nThe mission of The New York Times is to seek the truth and help people understand the world. That means independent journalism is at the heart of all we do as a company. It’s why we have a world-renowned newsroom that sends journalists to report on the ground from nearly 160 countries. It’s why we focus deeply on how our readers will experience our journalism, from print to audio to a world-class digital and app destination. And it’s why our business strategy centers on making journalism so good that it’s worth paying for.\nThe New York Times is looking for an Engineering Manager to join the Data Platform mission to lead a new engineering team focused on creating data products designed to meet NYT's most important real-time needs, including behavioral and targeting use cases. You will build a team of engineers focused on deploying and managing real-time pipelines and APIs in an event-driven architecture to process event streams and serve aggregated data for customer-facing use cases. You will report to the Director of Data Platform.\nThis is a hybrid role based in our New York City headquarters.\nThe New York Times Company is committed to being the world’s best source of independent, reliable and quality journalism. To do so, we embrace a diverse workforce that has a broad range of backgrounds and experiences across our ranks, at all levels of the organization. We encourage people from all backgrounds to apply.\nPlease beware of fraudulent job postings. Scammers may post fraudulent job opportunities, and they may even make fraudulent employment offers. This is done by bad actors to collect personal information and money from victims. All legitimate job opportunities from The New York Times will be accessible through The New York Times careers site . The New York Times will not ask job applicants for financial information or for payment, and will not refer you to a third party to do so. You should never send money to anyone who suggests they can provide employment with The New York Times."
]
embeddings = model.encode(sentences)
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [4, 4]This is a sentence-transformers model finetuned from sentence-transformers/all-MiniLM-L6-v2. 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': 256, 'do_lower_case': False, 'architecture': '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()
)
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("zlf18/projfinetuned")
# Run inference
sentences = [
'Customer Engineering Manager, State Local Education, Public Sector',
"Customer Engineering Manager, State Local Education, Public Sector Google Lead a team of Customer Engineers and build a thriving growth culture. Focus on talent strategy and skills development to deliver on successful cloud transformation outcomes for our customers and accelerate business goals for your territory.\nFoster strong partnerships with key customers across the book of business. Provide leadership related to cloud, transformation and relevant industry trends.\nPartner with Google Cloud Sales leadership to define technical go-to-market strategies and execution plan for the team's book of business.\nBalance technical leadership with operational excellence; lead workload and opportunity review meetings and provide insight into how to achieve a technical agreement and migration strategy, working directly with our customers, partners, and prospects.\nWork cross-functionally across Google, our partners, and your team to resolve technical roadblocks including capacity needs, constraints and product issues affecting customer satisfaction. Bachelor's degree or equivalent practical experience.\n10 years of experience with cloud native architecture in a customer-facing or support role.\n3 years of leadership experience, such as people management, team lead, mentorship, or coaching.\nExperience as a Pre-Sales Manager or a people manager in a technical customer-facing role within a Sales Engineering team.\nAbility to travel up to 50% of the time as needed.\n2 years of experience supporting or selling to state, county, local municipal agencies, and academic institutions.\nExperience with software life-cycles, building tools, and architecting and developing software for scalable, distributed systems, including data platform, AI/ML including Generative AI and infrastructure.\nExperience managing a team through sales processes, operations and career development, including account mapping, quota setting, quarterly/annual performance management, and managing sensitive information.\nExperience presenting to technical stakeholders and executive leaders, including delivering messages by the audience, asking tactical questions, and leading conversations that drive business opportunities.\nGoogle is a global company and, in order to facilitate efficient collaboration and communication globally, English proficiency is a requirement for all roles unless stated otherwise in the job posting. The Google Cloud Platform team helps customers transform and build what's next for their business — all with technology built in the cloud. Our products are developed for security, reliability and scalability, running the full stack from infrastructure to applications to devices and hardware. Our teams are dedicated to helping our customers — developers, small and large businesses, educational institutions and government agencies — see the benefits of our technology come to life. As part of an entrepreneurial team in this rapidly growing business, you will play a key role in understanding the needs of our customers and help shape the future of businesses of all sizes use technology to connect with customers, employees and partners.\nGoogle Cloud accelerates every organization’s ability to digitally transform its business and industry. We deliver enterprise-grade solutions that leverage Google’s cutting-edge technology, and tools that help developers build more sustainably. Customers in more than 200 countries and territories turn to Google Cloud as their trusted partner to enable growth and solve their most critical business problems.\nTo all recruitment agencies: Google does not accept agency resumes. Please do not forward resumes to our jobs alias, Google employees, or any other organization location. Google is not responsible for any fees related to unsolicited resumes.",
"Cook 4 - Full Time, $32.58/hour Aulani, A Disney Resort & Spa Prepares, seasons and cooks to order menu items for all meals throughout the day, including Breakfast, Lunch and Dinner meal periods\nPortions and arranges food on serving dishes and is responsible for portion control and plate presentation\nMay cook, mix, and/or season ingredients to make dressings, sauces, gravies, batters, fillings and spreads\nMay wash, peel, slice, scoop, dice and julienne vegetables and fruits\nPrepares, measures, mixes (following recipes) and/or cooks and garnishes basic appetizers (hot or cold), salads, pastas, sandwich fillings, Waffles and other food items\nSome knowledge of cooking equipment such as grill, gas range, electric range, broiler, deep fat fryer, serving table, waffle iron, griddle, skillets and other standard kitchen equipment\nAbility to prepare products according to recipe guidelines\nKnowledge and understanding of kitchen safety and sanitation including temperature requirements\nHas good judgment of food quality and production, understands the impact of spoilage\nAbility to assist Chef in preparing items for Guests with special dietary needs\nCleans kitchen equipment and practices HACCP (Hazard Analysis and Critical Control Points) Procedures\nExplore our commitments and our work to create a better world through our stories, experiences, operations, and philanthropy. Experience in culinary field/high volume restaurant minimum 3-6 months, or up to 1 year\nAbility to multi task and work in a very fast paced team environment\nDemonstrates a desire to work in a guest service and team environment\nDemonstrates passion and enthusiasm for working in the kitchen\nStrong listening skills and ability to follow direction\nEnrolled in a culinary education program or equivalent\nRecommendation from school\nFood Safety Certification or equivalent\nKnowledge of Hawaiian/Japanese language preferred\nBe Part of the Story There are many different brands and businesses to explore. Once you've found the opportunity that is right for you, take the next step by completing your application.\nThere are many different brands and businesses to explore. Once you've found the opportunity that is right for you, take the next step by completing your application.\nGet the latest job opportunities as they become available.\nJob Category Select a Job Category Administration Animation and Visual Effects Architecture and Design Asset Management Banking Building, Construction and Facilities Business Strategy and Development Call Center Communications Creative Culinary Data Science and Analytics Disneyland Resort Casting Hourly Engineering Finance and Accounting Food and Beverage Gaming and Interactive Governmental Affairs Graphic Design Health Services Horticulture and Landscaping Hotel and Resorts Human Resources Legal and Business Affairs Licensing Maritime and Cruise Operations Marketing and Digital Media Merchandising Operations Production Project Management Publishing Quality Assurance Research and Development Retail Operations Sales Sciences and Animal Programs Security Social Responsibility Sports and Recreation Stage Productions Supply Chain Management Talent Technology Theme Park Operations Walt Disney World Casting Hourly\nJob Level Select Professional Operations / Production Internships / Programs Management Business Support / Administrative Executive Talent 100% full coverage of healthcare for you and your eligible dependents\nFree theme park admission and much more!\nCombining the natural beauty and spirit of the Hawaiian islands with a touch of Disney magic, Aulani, a Disney Resort & Spa embraces and celebrates Hawaiian culture and storytelling. Situated on 21 acres of oceanfront property on the island of O‘ahu, the resort was uniquely designed for families to discover the culture, history and traditions of Hawai‘i against a backdrop of blue skies and beautiful views. Cast members are integral to bringing these stories of Hawai‘i to life, while upholding Disney’s renowned service and enchanting entertainment offerings.\nThe Walt Disney Company, together with its subsidiaries and affiliates, is a leading diversified international family entertainment and media enterprise that includes three core business segments: Disney Entertainment, ESPN, and Disney Experiences. From humble beginnings as a cartoon studio in the 1920s to its preeminent name in the entertainment industry today, Disney proudly continues its legacy of creating world-class stories and experiences for every member of the family. Disney’s stories, characters and experiences reach consumers and guests from every corner of the globe. With operations in more than 40 countries, our employees and cast members work together to create entertainment experiences that are both universally and locally cherished.\nWhere Does Your Story Begin? Explore Disney Careers and the Life at Disney blog to learn about all the amazing opportunities waiting to be discovered at The Walt Disney Company.\nExplore Disney Careers and the Life at Disney blog to learn about all the amazing opportunities waiting to be discovered at The Walt Disney Company.\nOur senior executives bring tremendous experience, visionary thinking and a shared commitment to excellence, creativity and innovation to the day to day operation of the company.\nAt Disney, we are committed to creating a better world. A world of belonging where each person feels seen, heard, and understood. A world filled with hope and promise.\nHeroes Work Here reflects the long history of respect and appreciation Disney has for the U.S. Armed Services. We recognize the commitment and dedication it takes to serve your country, both as military personnel and military spouses, and value the leadership skills and sense of purpose it has instilled in you.",
]
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.5033, 0.0885],
# [0.5033, 1.0000, 0.0802],
# [0.0885, 0.0802, 1.0000]])
sentence_0 and sentence_1| sentence_0 | sentence_1 | |
|---|---|---|
| type | string | string |
| details |
|
|
| sentence_0 | sentence_1 |
|---|---|
UX Researcher |
UX Researcher Dropbox Design and conduct user research studies, including interviews, surveys, and A/B testing. |
Senior PC Support Technician |
Senior PC Support Technician Public Storage Diagnose systems and equipment failures and perform corrective actions to resolve any issues. |
Full Stack Software Engineer, GSCCE |
Full Stack Software Engineer, GSCCE Boeing Designs, develops, analyzes, and maintains software systems that meet industry, customer and internal quality, safety, security and certification standards. |
MultipleNegativesRankingLoss with these parameters:{
"scale": 20.0,
"similarity_fct": "cos_sim",
"gather_across_devices": false
}
per_device_train_batch_size: 16per_device_eval_batch_size: 16num_train_epochs: 1multi_dataset_batch_sampler: round_robinoverwrite_output_dir: Falsedo_predict: Falseeval_strategy: noprediction_loss_only: Trueper_device_train_batch_size: 16per_device_eval_batch_size: 16per_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: 1max_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}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: 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{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}
}
Base model
sentence-transformers/all-MiniLM-L6-v2