Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks
Paper • 1908.10084 • Published • 19
How to use Mickele-hub/cv-ai-embedding-model-test with sentence-transformers:
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("Mickele-hub/cv-ai-embedding-model-test")
sentences = [
"SummaryAccountant for a Medium sized Company\nSkillsGuest servicesInventory control proceduresMerchandising expertiseLoss preventionCash register operationsProduct promotions\nExperienceAccountant,01/2009toPresentAnimal Health International, Inc.–Mount Joy,PA,Hired by their CPA firm to handle all accounting and job cost Reporting.Accountant,01/2007to01/2009Animal Health International, Inc.–Greeley,CO,Hired by their CPA firm to handle all accounting functions..Accountant,01/1997to01/2007Animal Health International, Inc.–Manchester,IA,Installed new Peachtree Accounting System.Installed new computer system using a local area network and Added a Web site.\nEducation and TrainingB.S:Business Administration Accounting,Expected in1974toUniversity of Cincinnati-Cincinnati,OHGPA:Business Administration Accounting\nSkillsaccounting, CPA, local area network, Peachtree Accounting, Reporting, Web site",
"Job Purpose: Perform designated tasks in the area of technical sub-ledger accounting related to all lines of business. Perform and review tasks related to period end financial closing.\nKey Responsibilities:Investigate and resolve discrepancies by actively collaborating and communicating across departments. Create policies and procedures for developing areas such as the Surety accounting.Review accounting entries posted to the general ledger to ensure proper accounting treatment.Work closely with other teams to ensure proper premium accounting and make manual corrections as needed.Prepare complex monthly bank reconciliations. Responsible for reconciling intercompany AP, AR, and P&L for all other BUs.Perform complex manual processes necessary to maintain proper accounting records and develop ways to automate them.Present to management premium results monthly including thorough explanations on insurance revenues, service revenues, and bad debt. Able to speak to analytical results.Perform regular analytics prior to, during, and post monthly close.Investigate and resolve discrepancies and fluctuations resulting from analytics performed by collaborating with other teams to determine accurate results.Responsible for preparing documentation and providing explanations as requested by internal and external auditors and regulators. \nKey Experience:7+ years accounting experience4+ years as a seasoned senior accountantPublic accounting a plusKnowledge of insurance accounting a plus\nKey Requirements:Bachelors Degree in Accounting Finance Accounting and technical know-how, basis for understanding of accounting, and advanced technical systems. Good knowledge of MS Office suiteWillingness to work overtime as needed to meet monthly deadlinesStrong analytical, critical thinking & problem solving skillsStrong aptitude for accuracy and attention to detailExcellent written and verbal communication skills.Strong organizational skills and ability to manage deadlines. Ability to collaborate and influence internal partners to set up corrective action plansHigh level of initiative & ability to be autonomousAble to multi task",
"Compensation: $30-$45hr\nLocation: Lakewood, CO (Hybrid)\nTITLE: Operational Accountant\nInceed has partnered with a great company to help find a skilled Operational Accountant to join their team!\nThe Operational Accountant is directly responsible for various aspects of closing the accounting books and billing, in accordance with GAAP and FERC, monthly for the crude segment.\nResponsibilities:\nPrepare adjusting close journal entries, including but not limited to: Revenue Accruals, Expense Accruals, Deferred Revenue. Analyze balance sheets and income statements monthly for accuracy.Assist the Accounting Manager with monthly, quarterly and yearly gross margin analysis.Responsible for certain monthly invoicing processes. Prepare balance sheet account reconciliations and maintain supporting schedules. Required Qualifications & Experience:\nBachelors degree in Finance, Accounting or a related discipline3-4 years of experience actively involved in a relevant and related roleMust have a fundamental understanding of accounting and financial principlesAdvanced Excel experience Nice to Have Skills & Experience:\nOil and gas industry experience preferred Perks & Benefits: \n3 different medical health insurance plans, dental, and vision insuranceVoluntary and Long-term disability insurancePaid Time Off, 401k, and Holiday Pay*Weekly direct deposit or pay card deposit Other Information:\nThis position is a 6 month contractThis position requires a drug and background check\nIf you are interested in learning more about the Operational Accountant opportunity, please submit your resume for consideration. We are unable to provide sponsorship at this time.\nWe are Inceed, a staffing and direct placement firm who believes in the possibility of something better. Our mission is simple: Were here to help every person, whether client, candidate, or employee, find and secure whats better for them. \nInceed is an equal opportunity employer. Inceed prohibits discrimination and harassment of any type and affords equal employment opportunities to employees and applicants without regard to race, color, religion, sex, sexual orientation, gender identity or expression, pregnancy, age, national origin, disability status, genetic information, protected veteran status, or any other characteristic protected by law.\n",
"HiETLData EngineerDallas tx-Onsite\nNeed only Local to DALLAS, TX- Onsite 1) Need Data Engineer with heavy Python Development Background.2) Must have worked on UNIXLINUX, Extensive Experience with SQLUnixLinux scripting is a must.3) Strong exp on AWS Cloud, Experience in Automating ETL process with Python and Automation around AWS Data & Infrastructure4) AWS Glue is must, with hold on ETL Concepts.5) Good to have Testing exp and familiarity with Test Strategies. \nRegards,Nisha JhaTechnical RecruiterNisha.j@peritussoft.com"
]
embeddings = model.encode(sentences)
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [4, 4]This is a sentence-transformers model finetuned from sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2. It maps inputs to a 384-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, classification, clustering, and more.
SentenceTransformer(
(0): Transformer({'transformer_task': 'feature-extraction', 'modality_config': {'text': {'method': 'forward', 'method_output_name': 'last_hidden_state'}}, 'module_output_name': 'token_embeddings', 'architecture': 'BertModel'})
(1): Pooling({'embedding_dimension': 384, '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 = [
"SummaryHighly motivated Sales Associate with extensive customer service and sales experience. Outgoing sales professional with track record of driving increased sales, improving buying experience and elevating company profile with target market.\nHighlightsLabVIEW, Virtuoso (Cadence) Design Suite, P LE CS, Cadence Schematic editor, AWR Microwave Office,\n MATLAB/SIMULINK, Code Composer Studio, National Instruments PXI, Texas Instruments VLCT for IC Testing-\n ATE\n Programming Languages: C, C++, Python, Assembly and VHDL\nExperience06/2014toPresentElectrical Design Engineer|,,Working on developing next generation intelligent down-hole oil drilling tools.Working on automating Calibration process for Accelerometers and Magnetometers Working on developing automated test systems using LabVIEW and Python.toResearch AssistantRockwell Automation, Inc.|,,Worked on developing high accuracy GPS System and also on finding outliers in large collection of Cotton fiber cross-section scan data.toProduct Engineering InternDartmouth College|,,www.physitechelectronics.com) Developed Hardware and Software for various Major projects on embedded systems with variety of sensors.Developed Firmware for a Programmer to program AVR Microcontrollers through USB Port Served as the President of The Electronics Club, SNIST, Hyderabad for two years (2010-2012) Electronix Club is a student's organization founded in 2009 in Sreenidhi Institute of Science and Technology, Hyderabad, India by a group of electronics freaks to learn and share the concepts of electronics and prosper in the process Taught classes on basic Analog Circuits, Microcontroller Programming and Sensor interfaces during this period.\nEducationExpected inMay, 2014totoMaster of Science|Electrical EngineeringTexas Tech University,Lubbock,TXGPA:GPA: 3.9/4.0Electrical Engineering GPA: 3.9/4.0Expected inMay, 2012totoBachelor of Technology|Electronics and Communications EngineeringJawaharlal Nehru Technological University,,GPA:GPA: 3.7/4.0Electronics and Communications Engineering GPA: 3.7/4.0\nSkillsArchitect, basic, C, C++, CAD, Cadence, Calibration, com, Hardware, editor, Electronics, embedded systems, GPS, LabVIEW, MATLAB, Office, Microwave, Composer, Networks, next, oil, Programmer, Programming, prosper, Python, USB, VHDL",
'At Monument, were building a vertical software platform for the self-storage industry. This is a rare opportunity to reinvent a $30 billion market from the ground up.As a Lead Engineer, you will work closely with engineering and product leadership to design and build the first version of Monuments software platform from scratch, using the most modern technologies available - no tech debt, no legacy systems, just a blank whiteboard. Your ResponsibilitiesDesign highly-scalable solutions for an enterprise application.Lead a team of engineers to deliver quality software, on time and on budget.Empower your teammates to tackle projects by assisting with technical planning, reviewing code, and promoting strong engineering practices. Participate in interviewing and hiring engineers.Troubleshoot and fix technical issues quickly. Who You Are5+ years of experience building web apps; 3+ years building B2B SaaS apps.Experience leading a technical implementation.Experience with JavaScript, React, Node.js, and Nest.js (or similar framework).Experience with one or more object-oriented programming languages.Experience with MySQL or other relational database management systems.Experience optimizing web apps for both performance and scalability. You have a deep understanding of and experience writing effective unit tests.You are passionate about building something from scratch.You thrive in a team setting and are excited to mentor other engineers - you see their successes as your own. You care as much about building great products as you do writing great code. Comp & BenefitsCompetitive salary and equity grantMedical, Dental, and VisionUnlimited PTO Remote Work PolicyMonument supports remote work for this position. We also have an office in Dallas, TX where team members are welcome to work.To ensure alignment and cohesion, Monument holds quarterly in-person all-hands gatherings in the Dallas, Texas area. All team members are expected to attend.',
'Data EngineerLength of Assignment: 6+ monthsWork Location: Remote US (NJ preferred)\nSUMMARY OF ESSENTIAL JOB FUNCTIONS:Design and develop analytical models and be the face to the data consumers.Perform data curation to meet the business requirements.Build batch and streaming data pipelines.Develop processes for automating, testing, and deploying your work.Identify risks and opportunities of potential logic and data issues within the data environment.Collaborate effectively with the global team and ensure day to day deliverables are met.\nMINIMUN REUIREMENTS:MUST HAVE experience with GCPGoogle Cloud Platform andor Spark.Bachelors degree and 5+ years of industry experience in software development, data engineering, business intelligence, data science, or related field with a track record of manipulating, processing, and extracting value from large datasets.3+ years of experience as Data Engineer or in a similar roleProven experience with AWS andor GCP, Hadoop, Vertica, Talend, Tableau, and other modern technology platforms is required.Cloud to Cloud migration experience preferred.Have knowledge of data management fundamentals and data storage principlesHave knowledge of systems as it pertains to data storage and computing.Strong source to target mapping experience and ETL principlesknowledge.Excellent verbal and written communication skills.Strong quantitative and analytical skills with accuracy and attention to detailAbility to work well independently with minimal supervision and can manage multiple priorities.',
]
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.0941, -0.0238],
# [-0.0941, 1.0000, 0.1630],
# [-0.0238, 0.1630, 1.0000]])
sentence1, sentence2, and score| sentence1 | sentence2 | score | |
|---|---|---|---|
| type | string | string | float |
| modality | text | text | |
| details |
|
|
|
| sentence1 | sentence2 | score |
|---|---|---|
SummaryHighly motivated Sales Associate with extensive customer service and sales experience. Outgoing sales professional with track record of driving increased sales, improving buying experience and elevating company profile with target market. |
Net2Source Inc. is an award-winning total workforce solutions company recognized by Staffing Industry Analysts for our accelerated growth of 300% in the last 3 years with over 5500+ employees globally, with over 30+ locations in the US and global operations in 32 countries. We believe in providing staffing solutions to address the current talent gap Right Talent Right Time Right Place Right Price and acting as a Career Coach to our consultants. |
0.0 |
Professional SummaryCurrently working with Caterpillar as an contract employee Active in several NPI and CPI projects Provide technical for CAT facilities worldwide 24-hours a day Willing to travel to meet job requirements Familiar with Power Distribution Systems, NETA, NFPA 70E, and OHSA electrical standards Graduating in December 2014 with a Master's Degree in Industrial Management Excellent communication and interpersonal skills |
At Salas OBrien we tell our clients that were engineered for impact. This passion for making a difference applies just as much to our team as it does to our projects. Thats why were committed to living our values every day: inspiring, achieving, and connecting as shared owners of our success with a focus on a sustainable future. |
0.0 |
SummaryI started my construction career in June of 2017 in Jacksonville, Florida as an Electrical Apprentice working full time and attending the Jacksonville Electrical Training Alliance. this experience provided invaluable insight into electrical systems work and the related theory. Knowledgeable leader with record of accomplishment on diverse construction projects. Translates directives of architects, constructions managers and clients into actionable on-site directives to consistently meet project demands. Expert in tackling problems head-on and maintaining strict standards. Hardworking and reliable electrician apprentice with strong ability in electrical knowledge and mechanical. Offering leadership, reliability and accuracy. Highly organized, proactive and punctual with team-oriented mentality. |
Schweitzer Engineering Laboratories (SEL) Infrastructure Defense Division seeks a talented individual for a cybersecurity focused (Lead) Software Engineer position. The work we perform is some of the most fascinating, challenging, and rewarding that can be found in the power engineering community. |
0.0 |
CosineSimilarityLoss with these parameters:{
"loss_fct": "torch.nn.modules.loss.MSELoss",
"cos_score_transformation": "torch.nn.modules.linear.Identity"
}
per_device_train_batch_size: 8num_train_epochs: 3.0max_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: 1.0label_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: 8prediction_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: Nonedataloader_multiprocessing_context: Nonedataloader_in_order: Trueremove_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: Nonelocal_rank: -1prompts: Nonebatch_sampler: batch_samplermulti_dataset_batch_sampler: proportionalrouter_mapping: {}learning_rate_mapping: {}warmup_ratio: None@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",
}