Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks
Paper • 1908.10084 • Published • 17
How to use XuanTruong03/ai-recruitment-embedder with sentence-transformers:
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("XuanTruong03/ai-recruitment-embedder")
sentences = [
"Chúng tôi đang tìm kiếm nhân sự hỗ trợ y tế chuyên nghiệp để đảm nhiệm việc điều phối bệnh nhân, quản lý hồ sơ bệnh án và giải quyết các thủ tục hành chính liên quan đến bảo hiểm tại phòng khám. Ứng viên cần thành thạo quy trình thăm khám, nắm vững nghiệp vụ thanh toán dịch vụ y tế và có khả năng giao tiếp khéo léo để mang lại trải nghiệm dịch vụ tối ưu cho khách hàng. Bạn sẽ chịu trách nhiệm chính trong việc theo dõi chỉ số sức khỏe cơ bản, đảm bảo an toàn vệ sinh môi trường làm việc theo quy định và phối hợp nhịp nhàng với đội ngũ bác sĩ để quy trình vận hành diễn ra thông suốt.",
"COMMISSION SPECIALIST Skills BUSINESS ADMINISTRATOR Project Manager Data Entry Business Manager Performance Analyst Results-focused, goal oriented, Business/Financial analyst with extensive experience in the business, nonprofit and health care sectors. MBA graduate with a focus on project management and administration. Superior analytical and quantitative skills with proficiency in data entry, Access, Excel, Crystal Reports and various statistical software. Research & Analysis Leadership & Supervision Program/Policy Development Data Entry Process Improvement Financial Cost Modeling Report Writing Clinical Forecasting Trending & Troubleshooting Software & Tools: MS Office 365 (Access, Excel, Outlook, PowerPoint, and Word), SharePoint, Visio, Sage ACT, Fastrax POS, Crystal Reports, Lotus Notes, Microsoft Expressions, IMA software, Stars software, QuickBooks, SPSS, GNU PSPP, Microsoft Dynamics. Advanced Access and Excel, including building databases, creating forms, pivot tables, t-tests, and standard deviations. Experience Commission Specialist Jan 2016 to Current Company Name - City , State Posts over 300,000 dollars in commissions each month. Reviews and processes commission statements from 15 insurance carriers per week. Posts all commissions with a 99 percent accuracy. Processes adjustments to correct commission errors and/or discrepancies. Analyses Excel spreadsheets with thousands of lines of revenue for consistency. Performs monthly reconciliation of cash to the general ledger which is used to calculate the monthly commission payments. Interacts with a variety of brokers and departments in Salesforce. Enters over 10 new service lines of coverage and completes 20 tasks per week in Salesforce. Inputs or adjusts 20 to 200 commission payment splits in proprietary commission system per month for biweekly revenue distribution. Business and Healthcare Instructor Jan 2015 to Jan 2016 Company Name - City , State Increased student enrolment by 20% year over year. Improved graduation rate in MA program by 25% with average GPA of 3.0. Assisted placement of 100 students in employed positions as medical assistance, medical coders and IT technicians. Edited 100 resumes for consistency, accuracy and relevancy. Taught 125 students in a year data entry, Excel, PowerPoint and Word. Improved accuracy of Stars Database by 10%. Client Specialist Jan 2014 to Jan 2016 Company Name - City , State Attained positive treatment goals for 50 residents over",
"RECREATION & SPORTS COORDINATOR Objective To gain a Recreation Supervisor position so that I can provide support to professional and part time staff. I am looking for the opportunity to guide day to day operations of high quality, community recreation facilities. I hope to provide the type of support and management conducive to a healthy work environment so that all staff can not only complete their roles & responsibilities, but also provide a facility that runs efficiently and offers exceptional service to members. Qualifications ACSM Exercise Physiologist TRX Qualified Instructor Personal Trainer AHA CPR/AED & First Aid Experience Company Name City , State Recreation & Sports Coordinator 03/2015 to Current Assisted in daily supervision and administration of facility and interacted with members to ensure programs were carried out in a safe and effective manner. Planned, organized and implemented recreation leagues and events throughout the calendar year. Supervised recreation programs, resolving any issues or disputes that may arise. Enforced safety and administered first aid to participants when required. Assisted supervisor in developing budget and developed innovative ways to increase revenue. Responsible for financial transactions including daily cash deposits and purchasing responsibilities including maintaining a purchasing card and receipt of sale. Company Name City , State Senior Health & Fitness Specialist Contractor 02/2013 to 03/2015 Developed and implemented programs to assess and increase the health and physical activity levels of various populations. Managed HealthCalc software program through the enrollment of new clients and maintained private records. Conducted health and wellness assessments for clients and assisted them with goal setting and strategies to improve and maintain their health and worksite wellness. Company Name City , State Health and Fitness Specialist 08/2012 to 02/2013 Developed and utilized special programs to connect with various health and wellness populations. Maintained great rapport with all customers ensuring all needs were handled in a timely manner. Entered appropriate documents into software database ensuring each participant was safe for physical activity assessments and participation. Company Name City , State Facility Manager 01/2010 to 05/2012 Supervised 40 staff at the university's 100,000 square foot facility and assisted in the new",
"PATIENT ADVOCATE Career Overview Skilled medical assistant with the sound knowledge of technical support, medical duties and clerical skills. Excellent communication skills along with very solid customer service knowledge. Core Strengths Active listening skills Energetic work attitude Strong organizational skills Healthcare billing proficiency Clinical training Medical Assisting specialist Computerized charting specialist CPR/BLS certified Medical coding capability Talent in obtaining/charting vital signs Patient positioning understanding Qualified in specimen collection/processing Microsoft Office Spreadsheet development Insurance processing Patient charting Health insurance processing Insurance eligibility verification Medical billing High customer service standards Conflict resolution proficiency Proficient with Microsoft Office Suite Microsoft Word, Excel, PowerPoint Detail oriented Planning/coordinating Excellent quantitative skills Accomplishments Honor Roll recipient OSHA Compliance Properly disposed of daily biohazard waste in compliance with federal and local regulations. Customer Interface Greeted customers upon entrance and handled all cash and credit transactions. Assisted customers over the phone regarding store operations, product, promotions and orders. Clinical Skills Monitored patient's respiration activity, blood pressure and blood glucose levels in response to medical administration. Work Experience Patient Advocate , 09/2014 Company Name - City , State Screen patients to Determine Eligibility Screen patients in Emergency room, throughout the hospital, and as walk-ins Help patients apply for Medicaid Coverage Send application and supported documents to Medicaid office Follow up with patients and Medicaid office Verify Insurance using Health XNet Certify accounts in Medicaid portal so client could bill Insurance Code account accurately to continue following up Tech , 05/2014 to 08/2014 Company Name - City , State Verified that information in the computer system was up-to-date and accurate. Developed patient care plans, including assessments, evaluations, and nursing diagnoses. Helped physicians examine and treat patients by assisting with instruments, injections and suture removal. Ensured HIPAA compliance. Maintained patient privacy and confidential patient information. Tested patients' blood glucose levels. Obtained vitals for a floor of 10 patients per shift. Support Center Rep , 03/2012 to 12/2013 Company Name - City , State Responsible for Answering Phones Scheduling Patients Sending Tech Calls to Triage Nurse Auditing Charts Verified that information in the computer system was up-to-date and accurate. Collected customer feedback"
]
embeddings = model.encode(sentences)
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [4, 4]This is a sentence-transformers model finetuned from bkai-foundation-models/vietnamese-bi-encoder. It maps sentences & paragraphs to a 768-dimensional dense vector space and can be used for retrieval.
SentenceTransformer(
(0): Transformer({'transformer_task': 'feature-extraction', 'modality_config': {'text': {'method': 'forward', 'method_output_name': 'last_hidden_state'}}, 'module_output_name': 'token_embeddings', 'architecture': 'RobertaModel'})
(1): Pooling({'embedding_dimension': 768, 'pooling_mode': 'mean', 'include_prompt': True})
)
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 = [
'Chúng tôi cần một chuyên viên hành chính có tư duy logic và kỹ năng tin học văn phòng thành thạo để điều phối lịch trình, quản lý dữ liệu và hỗ trợ công tác hậu cần cho ban lãnh đạo. Ứng viên sẽ đảm nhiệm việc giao tiếp với khách hàng, xử lý chứng từ kế toán sơ bộ và tổ chức các buổi đào tạo nội bộ một cách chuyên nghiệp. Người đảm nhận vị trí này cần có khả năng chịu áp lực cao, kỹ năng giải quyết vấn đề linh hoạt và kinh nghiệm vận hành quy trình văn phòng bài bản trong hơn một thập kỷ.',
'TEACHER Professional Summary Highly organized and detail-oriented Administrative Professional with more than 10 years experience supplying thorough, organized administrative support to senior executives. Skills Filing and data archiving, Employee training and development, Critical thinker, Microsoft Office (Excel, Publisher, PowerPoint, Word), Multi-line phone proficiency, Advanced clerical knowledge, Invoice processing, Accounting familiarity, Appointment setting, Social media knowledge, Works well under pressure, Excellent planner and coordinator, Accurate and detailed, Customer service-oriented, Articulate and well-spoken, Database management, Teaching/tutoring, Technological instruction, Effective time management Work History Teacher 08/2013 to Current Company Name – City , State Develop and implement engaging, effective, student-centered lessons in Reading, Phonics, Math, Science, Social Studies, Writing, and Language Arts. Use activities, songs/raps, and materials to enhance student learning and self-esteem. Create multi-sensory literacy and content based workstations. Conducted parent conferences, faculty and team meetings, Actively participated in activities which included: assessing student progress, assigning grades, taking attendance, recess duty, keeping parents/guardians informed through weekly progress reports/behavior charts, phone calls and email. Teacher Intern 01/2013 to 05/2013 Company Name – City , State Develop and implement engaging, effective, student-centered lessons in all subject areas for a diverse group of second grade special and regular education students. Use activities, songs, and materials to enhance student learning and self-esteem. Designed and implemented an interactive science unit on energy. Worked collaboratively with other teachers and professionals to create effective lessons that met the learning needs and abilities of all students. Legal Secretary/Office Manager 12/2011 to 12/2012 Company Name – City , State Managed office supplies, vendors, organization and upkeep. Screened applicant resumes and coordinated both phone and in-person interviews. Answered and managed incoming and outgoing calls while recording accurate messages. Contacted clients to schedule appointments and discuss the progress of cases. Worked as a team with attorneys, administrative assistants and fellow legal assistants. Entered new cases into company database. Developed, organized, and maintained filing and retrieval systems and files for court proceedings. Created, indexed and maintained client binders. Assisted attorneys in collecting information such as employment, medical and other records. Teller 08/2010 to 03/2011 Company Name – City , State Balanced daily cash deposits',
'MARKET CONSULTANT - HEALTHCARE ADVOCATE Professional Summary Ambitious and dedicated managed care professional with robust organizational, communication and customer service skills. Multi-disciplinary industry expertise with an emphasis in provider outreach, research\\analysis and data integrity. Seeking a position to partake in new and innovative improvement processes and proactive provider education efforts. Education and Training BBA : Business Administration Human Resources Management University of New Mexico - City , State Business Administration Human Resources Management Skill Highlights Government relations knowledge Provider education and communication Personal and professional integrity Database management Relationship and team building Organizational planning Sound decision making Excellent research skills Claims analysis and review specialist Project management Professional Affiliations Member of Alpha Chi Omega Sorority Professional Experience Market Consultant - Healthcare Advocate August 2015 to Current Company Name - City , State Provides in the field market by market strategy, expertise, & execution on Risk Adjustment & Clinical Quality Programs (HEDIS/Stars) prospective and retrospective programs for Providers. Acts as a designated resource for the Provider group to gain engagement. Performs data analytics to help identify high risk members and to develop a strategy and plan for the practice. Consults to help improve coding accuracy, documentation and management of patient assessment information. Facilitates access to medical records for chart review purposes. Utilizes programs such as SalesForce, Tableau, Concur, and SharePoint to track various activities and reporting. Provider Network Specialist February 2014 to August 2015 Company Name - City , State Supported contracting efforts to "close the pricing gap" for both the Blue Community HMO and Blue Advantage HMO networks for the health insurance exchange, along with involvement in the beginning stages of additional exchange network implementations for 2015. Validated designations for all Essential Community Providers contracted with both exchange HMO lines of business. Strengthened and maintained provider relationships located within the Northeast region of New Mexico, including the Taos PHO and La Vida IPA. Audited monthly rosters received from the Taos PHO and La Vida IPA to insure correct system representation within PPW and Provider Finder. Validated credentialing status, network and pricing links utilizing Vistar, PPW, Legacy Premier and Premier Pricing.',
]
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.5265, 0.2838],
# [0.5265, 1.0000, 0.5863],
# [0.2838, 0.5863, 1.0000]])
sentence_0 and sentence_1| sentence_0 | sentence_1 | |
|---|---|---|
| type | string | string |
| modality | text | text |
| details |
|
|
| sentence_0 | sentence_1 |
|---|---|
Tìm kiếm một nhân viên kho năng nổ, có khả năng vận hành thiết bị nâng hạ và tuân thủ nghiêm ngặt các quy chuẩn an toàn lao động. Vị trí này đòi hỏi sự tỉ mỉ trong việc quản lý hàng hóa, sắp xếp tồn kho và phối hợp nhịp nhàng cùng tập thể để tối ưu hóa trải nghiệm khách hàng. Ưu tiên những cá nhân có thể lực tốt, thích ứng nhanh với môi trường bán lẻ tốc độ cao và chịu được áp lực công việc lớn. Ứng viên cần sở hữu kỹ năng giao tiếp tốt, tính kỷ luật cao và thái độ phục vụ tận tâm để góp phần thúc đẩy sự phát triển chung của doanh nghiệp. |
AIRCRAFT HYDRAULICS JOURNYMAN Summary Seeking a position as a Stocker/Receiver for Paris Walmart Super Center. Adaptive team player with the ability to take and follow orders as well as take on other responsibilities as needed. Strongly committed to enhancing customer experience and boosting company success. Highlights Friendly professional demeanor Safety awareness Well-organized Detail oriented Adaptive hands-on learner JLG manlift operations Hands-on experience with CAM software Interpersonal, written, and verbal communication Works well independently or with team Company confidentiality Capable of heavy lifting Experience Home Health Care Provider , 07/2019 to 02/2020 Company Name - City , State Worked to improve and enhance client lives through effective and compassionate care Assisted residents with bathing, dressing, grooming, feeding, lifting and transferring Provided clients with assistance in completing such tasks as purchasing supplies, paying bills and bookkeeping, effectiv... |
Chúng tôi đang tìm kiếm một Trợ lý điều hành kiêm nhân sự để chịu trách nhiệm quản trị công việc văn phòng, hỗ trợ lịch trình cho ban lãnh đạo và theo dõi các hoạt động liên quan đến tiền lương cũng như dữ liệu nhân sự. Ứng viên sẽ trực tiếp điều phối quy trình tiếp nhận nhân sự mới, lưu trữ hồ sơ bảo mật và duy trì hệ thống dữ liệu vận hành nội bộ. Bạn cần thành thạo các ứng dụng tin học văn phòng cùng các phần mềm quản trị doanh nghiệp để tối ưu hóa công tác điều hành và báo cáo định kỳ. |
EXECUTIVE ASSISTANT HR Summary Skillful and dedicated Executive Assistant with extensive experience in the coordination, planning and support of daily operational and administrative functions in a highly confidential environment. Focused, results-driven professional looking to obtain a career oriented administrative position with Newark CEDC. Office Management Calendar Management Policies & Procedures Manuals Report & Document Preparation Spreadsheet & Database Creation Bookkeeping & Payroll Records Management Meeting & Event Planning Facility Management Highlights Word, Excel, Access, PowerPoint, SAP, Lotus Notes, Oracle Experience Executive Assistant HR 01/2014 to Current Company Name City , State Providing administrative support to President of home-care service provider to the Developmentally Disable population. Maintain calendar, process requisitions, and organize company meetings. Administer pre-employment training and testing. Mange bi-weekly payroll for 100 employees Maintain s... |
Doanh nghiệp đang tìm kiếm một Nhà nghiên cứu công nghệ sinh học phụ trách thiết kế và thực hiện các thí nghiệm sinh học phân tử, nuôi cấy vi sinh vật và phân tích dữ liệu chuyên sâu. Ứng viên sẽ chịu trách nhiệm tối ưu hóa quy trình sản xuất sinh học, vận hành các thiết bị phòng thí nghiệm tiên tiến và làm chủ các công cụ mô phỏng số liệu. Vị trí này đòi hỏi tư duy logic nhạy bén, khả năng tự chủ cao trong công việc cùng năng lực dẫn dắt các dự án nghiên cứu khoa học đột phá. |
RESEARCH SCIENTIST Summary Highly motivated Research Scientist possessing proficiency in numerous disciplines of the biotechnology and in-vitro diagnostic ( IVD ) industry. Self starter •knowledgeable •analytical •decision maker •effective natural leader Adaptable, Analytical, Dedicated, Driven, Effective, Focused, Hardworking, Highly motivated, Innovative Meticulous, Multi-task-oriented, Organized, Outstanding, Performance driven, Personable, Pragmatic, Proactive, Productive, Proficient, Skilled, Versatile Highlights EndNote, Softmax Pro, MS-Office Suite ( Excel, PowerPoint & Word ), C/C++, Windows & Mac OS. Accomplishments To Discover and Characterize Epigenetic Modifications of Chromatin That Can Affect Organismal Lifespan (2012) Carried out reverse genetic screen to identify mutations in Histone H3 & H4 that might affect yeast growth in varying nutrient conditions. Identified a histone acetyl transferase, SAS2 that modifies H3K14A under nutrient stress based on microarray analysis ... |
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: 16num_train_epochs: 1per_device_eval_batch_size: 16multi_dataset_batch_sampler: round_robinper_device_train_batch_size: 16num_train_epochs: 1max_steps: -1learning_rate: 5e-05lr_scheduler_type: linearlr_scheduler_kwargs: Nonewarmup_steps: 0optim: adamw_torch_fusedoptim_args: Noneweight_decay: 0.0adam_beta1: 0.9adam_beta2: 0.999adam_epsilon: 1e-08optim_target_modules: Nonegradient_accumulation_steps: 1average_tokens_across_devices: Truemax_grad_norm: 1label_smoothing_factor: 0.0bf16: Falsefp16: Falsebf16_full_eval: Falsefp16_full_eval: Falsetf32: Nonegradient_checkpointing: Falsegradient_checkpointing_kwargs: Nonetorch_compile: Falsetorch_compile_backend: Nonetorch_compile_mode: Noneuse_liger_kernel: Falseliger_kernel_config: Noneuse_cache: Falseneftune_noise_alpha: Nonetorch_empty_cache_steps: Noneauto_find_batch_size: Falselog_on_each_node: Truelogging_nan_inf_filter: Trueinclude_num_input_tokens_seen: nolog_level: passivelog_level_replica: warningdisable_tqdm: Falseproject: huggingfacetrackio_space_id: Nonetrackio_bucket_id: Nonetrackio_static_space_id: Noneper_device_eval_batch_size: 16prediction_loss_only: Trueeval_on_start: Falseeval_do_concat_batches: Trueeval_use_gather_object: Falseeval_accumulation_steps: Noneinclude_for_metrics: []batch_eval_metrics: Falsesave_only_model: Falsesave_on_each_node: Falseenable_jit_checkpoint: Falsepush_to_hub: Falsehub_private_repo: Nonehub_model_id: Nonehub_strategy: every_savehub_always_push: Falsehub_revision: Noneload_best_model_at_end: Falseignore_data_skip: Falserestore_callback_states_from_checkpoint: Falsefull_determinism: Falseseed: 42data_seed: Noneuse_cpu: Falseaccelerator_config: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}parallelism_config: Nonedataloader_drop_last: Falsedataloader_num_workers: 0dataloader_pin_memory: Truedataloader_persistent_workers: Falsedataloader_prefetch_factor: Noneremove_unused_columns: Truelabel_names: Nonetrain_sampling_strategy: randomlength_column_name: lengthddp_find_unused_parameters: Noneddp_bucket_cap_mb: Noneddp_broadcast_buffers: Falseddp_static_graph: Noneddp_backend: Noneddp_timeout: 1800fsdp: Nonefsdp_config: Nonedeepspeed: Nonedebug: []skip_memory_metrics: Truedo_predict: Falseresume_from_checkpoint: Nonewarmup_ratio: Nonelocal_rank: -1prompts: 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
bkai-foundation-models/vietnamese-bi-encoder