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': 768, 'pooling_mode': 'cls', 'include_prompt': True})
(2): Normalize({})
)pip install -U sentence-transformers1from sentence_transformers import SentenceTransformer
2
3# Download from the 🤗 Hub
4model = SentenceTransformer("NaqibL/bge-base-sgmarket-v2")
5# Run inference
6sentences = [
7 'Data Engineer\n\nOur client, one of Asia-Pacific’s leading organizations is looking for: Data Engineer Scope of Work: Key Responsibilities Design, develop and deploy data tables, views and marts in data warehouses, operational data store, data lake and data virtualization.\nPerform data extraction, cleaning, transformation, and flow.\nDesign, build, launch and maintain efficient and reliable large-scale batch and real-time data pipelines with data processing frameworks.\nIntegrate and collate data silos in a manner which is both scalable and compliant Collaborate with Product Manager, Data Architect, Business Analysts, Frontend Developers, Designers and Data Analyst to build scalable data-driven products.\nBe responsible for developing backend APIs & working on databases to support the applications.\nWork in an Agile Environment that practices Continuous Integration and Delivery.\nWork closely with fellow developers through pair programming and code review process.\nQualifications: Familiar with GIS platforms: ArcGIS Server, PostGIS Able to use spatial Python libraries: GeoPandas, Shapely Build scalable geospatial data pipelines for ingestion, transformation, storage, and quality checks.\nImplements data cataloging, metadata, lineage, and security; optimizes storage and performance for GIS analytics (e.g., PostGIS, data lakes).\nProvides reliable data services and contracts to support downstream GIS analytics and front-end visualizations, collaborating closely with GIS and frontend teams.\nData management: applies validation, cleansing, reprojection, metadata, and data lineage of geospatial data Designs enterprise geospatial data models, schemas, pipelines, and services; builds or configures web map services and front-end visualization components.',
8 "Data Engineer (IT Consultancy, AWS)\n\nYour new company An IT solutions consultancy is looking for an experienced Data Engineer to join their team. Your new role Build and maintain scalable data systems including databases, warehouses, and processing architectures. Design data pipelines for modeling, mining, and production to support analytics and business needs. Clean and prepare raw data using programming tools for descriptive and predictive modeling applications. Optimize data quality, reliability, and efficiency through strategic improvements and system Organize data assets and catalogs for efficient storage, access, and retrieval, tune SQL performance What you'll need to succeed Over 3 years’ experience in data architecture, warehousing, modeling, ETL/ELT, and streaming solutions. Skilled in Kubernetes-based DevOps, container orchestration, CI/CD pipelines, and microservices deployment. Proficient in Oracle SQL/PLSQL development and basic understanding of Oracle database architecture. Experienced in AWS services including EC2, S3, EMR, Redshift, Athena, and Kinesis. Strong programming skills in Python, R, SQL; familiar with Java, Spark, Hive, and Airflow. Hands-on with data crawling, modeling, lake formation, warehouse construction, and machine learning deployment. What you'll get in return In return, you'll be part of an organization that values its employees. You’ll be rewarded with: Structured career growth and plenty of developmental opportunities Hybrid and stable working environment What you need to do now If you're interested in this role, click 'apply now' or for more information and a confidential discussion on this role or to find out about more opportunities in Technology, contact Yuki Cheung or email yuki.cheung@hays.com.sg. Referrals are welcome. At Hays, we value diversity and are passionate about placing people in a role where they can flourish and succeed. We actively encourage people from diverse backgrounds to apply. EA Reg Number: R22110258 | EA License Number: 07C3924 | Company Registration No: 200609504D",
9 'Research Assistant\n\nJob Scope: Gather and analyse data and feedback on the research evaluation projects (like Mid-Term reviews and Full-Term reviews) through various modalities such as engaging schools and stakeholders, as well as developing / managing surveys and focused group discussions / interviews.\nCode and verify quantitative and qualitative data in accordance with specified research protocols and coding procedures.\nDocument key processes of research / evaluation work, monitor progress and provide regular updates of projects Requirements: Trained in Data Science and possess working knowledge of Statistics, Measurement and Research.\nAt least 1 year of relevant experience in conducting research and data analytics.\nProficient in Microsoft Office Suite of tools, especially MS Excel.\nFamiliarity with analytical and statistical software and database management such as Tableau.\nStrong conceptual, analytical and problem-solving skills.\nMeticulous and possess leadership qualities to lead and drive results.\nAbility to work well independently and in teams and within tight timelines.',
10]
11embeddings = model.encode(sentences)
12print(embeddings.shape)
13# [3, 768]
14
15# Get the similarity scores for the embeddings
16similarities = model.similarity(embeddings, embeddings)
17print(similarities)
18# tensor([[1.0000, 0.8860, 0.6206],
19# [0.8860, 1.0000, 0.6310],
20# [0.6206, 0.6310, 1.0000]])evalTripletEvaluator| Metric | Value |
|---|---|
| cosine_accuracy | 0.8534 |
sentence_0, sentence_1, and sentence_2| sentence_0 | sentence_1 | sentence_2 | |
|---|---|---|---|
| type | string | string | string |
| details |
|
|
|
| sentence_0 | sentence_1 | sentence_2 |
|---|---|---|
Customer Service Officer (6 Months Contract) | Residential[object Object][object Object]Our client is in the Property Mangement Industry.[object Object]Due to business needs, they are now recruiting for Customer Service Officer to be part of their team for ongoing transformation projects.[object Object]They are located at Bugis - Walking distance from the MRT station.[object Object]5.25 days work week - Mon-Fri: 9am-6pm, Alt Sat: 9am-1pm Duties Coordinate appointment schedules with residents.[object Object]Ensure workers report punctually for assigned duties.[object Object]Inform residents promptly in the event of any delay in scheduled appointments.[object Object]Monitor and track the progress of ongoing work assignments.[object Object]Requirements Minimum qualification: O Level or equivalent.[object Object]Excellent communication skills.[object Object]Interested candidates who wish to apply for the advertised position, please click APPLY NOW or email an updated copy of your resume/cv. | Auto Parts CS Coordinator (Tuas, 5 Days, $3.5k)[object Object][object Object]Salary: up to $3,500 Work Days: 5 Days (9am to 6.15pm) Work Location: Tuas (near MRT) Responsibilities: - Sales Order Processing (prepare quotation, sales order, invoice, D/O & P/O) for domestics and export markets.[object Object]- Coordinate packing and delivery arrangements for orders.[object Object]- Follow up on customer enquiries and quotations.[object Object]- Liaise with internal departments to ensure smooth operations and customer support.[object Object]- Monitor inventory movement and maintain records.[object Object]- Assist with general administrative duties as assigned. | 10 weeks Temp PSA Patient Service Associate (For Call Centre) [object Object] |
[object Object] 1 Year Call Centre Officer (Up to $3,000) #NJA[object Object][object Object]Ubi Any 5 days of the week from Mon to SUN 8am to 6pm (Mon-Fri), 8am to 5pm (Sat/SUN) Attend to incoming calls Provide customer service Escalate matters to relevant personnel Other ad hoc duties assigned Interestedapplicants can send their detailed resumes to [object Object] call JANE @ 6735 1955.[object Object]JANE LUI JIE'EN CEI: R1104482 Company Reg.No.[object Object]199601303W || EA Licence No.[object Object]99C4599 | Customer Service Officer (Live Chat) (Insurance) (Up to $4,000) (12 Months Contract) #NKC[object Object][object Object]Attend to customer and financial representative enquiries via phone and live chat professionally and promptly.[object Object]Resolve complaints and issues at the first touchpoint wherever possible.[object Object]Maintain accurate records of interactions in the CRM system.[object Object]Ensure timely follow-up on enquiries and escalate when necessary.[object Object]Assess appeals and provide recommendations to management.[object Object]Support additional duties during operational needs or peak periods.[object Object]Interested applicants may email resume to [object Object] Chooi Kelly (CEI Registration No: R25136207) Recruit Express Pte Ltd (EA: 99C4599) | 10 weeks Temp PSA Patient Service Associate (For Call Centre) [object Object]
[object Object]
[object Object]
[object Object]
[object Object]Perform other ad-hoc duties as assigned Requirement: - Min N / O / A / NITEC in any field - No experience req... |
| CUSTOMER SERVICE[object Object][object Object]Ensure customer bookings are promptly documented, processed and reviewed for accuracy and completeness. Input export job reference. Any special shipment requirements shall be resolved with the shipper prior accepting the booking. Keep Sales Personnel about their bookings. Upon receipt of booking from shipper, Customer Service will book shipment direct with shipping lines or our consol for both FCL and LCL cargo. After confirmation of space with shipping lines or consol, Customer Service will advise shipper via email or fax. Customer Service will proceed to arrange the trucking and collection of cargo if customer require this service. Any changes in vessel details or delay in arrival date will made known to shipper via phone or email by Customer Service. Ensure all cargoes send in good condition and if any damage shall revert to customer immediately. Verify vendor’s invoice and close files. Other ad-hoc duties as assigned by the supervisor | Studio Ambassador (am Pilates)As our Studio Ambassador , you have an influence over our members by fostering a positive atmosphere, building community engagement, promoting membership growth.
We are seeking driven and customer-oriented individuals who are willing to go to the extra mile for our members.
Join us and be part of a dynamic and upbeat team that will value add your learning and growth as a Studio Ambassador !
Your contributions to our joint success: Welcome members to the studio and provide exceptional customer service Manage studio operations, including scheduling, check-ins, and maintaining a clean and organized environment Promote studio services, driving membership sales and retention Engage with the local community through social gatherings, workshops, and member appreciation events to strengthen relationships Contribute ideas and collect feedback to improve the overall client experience and studio atmosphere What does it take to be a Studio Ambassador: Passion for he... | Service Desk Agent ( Interns)We are hiring Internship, you will be equipped with the necessary skillset and knowledge to better prepare you in securing your ideal job, especially in the digital space.
Responsibilities: To log, validate and diagnose customer issues, on the full range of products and applications used at the customer site.
Providing the customer with a solution through information gathering, analytical trouble shooting and problem research, or to route or escalate the call to the appropriate resolution group.
Ensure escalation and management of calls is to agreed service levels.
Requirement Proficient in Microsoft Office.
Knowledge in desktop operating systems, various software applications and basic hardware for the PC; principles and theories of network systems and Internet technology.
Good oral and written communication skills and ability to establish and maintain effective working relationship.
Ability to coordinate several diverse job requirements and projects.
Ab... |CachedMultipleNegativesRankingLoss with these parameters:1{
2 "scale": 20.0,
3 "similarity_fct": "cos_sim",
4 "mini_batch_size": 32,
5 "gather_across_devices": false,
6 "directions": [
7 "query_to_doc"
8 ],
9 "partition_mode": "joint",
10 "hardness_mode": null,
11 "hardness_strength": 0.0
12}per_device_train_batch_size: 64per_device_eval_batch_size: 64multi_dataset_batch_sampler: round_robindo_predict: Falseeval_strategy: noprediction_loss_only: Trueper_device_train_batch_size: 64per_device_eval_batch_size: 64gradient_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: {}| Epoch | Step | Training Loss | eval_cosine_accuracy |
|---|---|---|---|
| 1.0 | 211 | - | 0.7835 |
| 2.0 | 422 | - | 0.8419 |
| 2.3697 | 500 | 3.0351 | - |
| 3.0 | 633 | - | 0.8534 |
| -1 | -1 | - | 0.8534 |
1@inproceedings{reimers-2019-sentence-bert,
2 title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
3 author = "Reimers, Nils and Gurevych, Iryna",
4 booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
5 month = "11",
6 year = "2019",
7 publisher = "Association for Computational Linguistics",
8 url = "https://arxiv.org/abs/1908.10084",
9}1@misc{gao2021scaling,
2 title={Scaling Deep Contrastive Learning Batch Size under Memory Limited Setup},
3 author={Luyu Gao and Yunyi Zhang and Jiawei Han and Jamie Callan},
4 year={2021},
5 eprint={2101.06983},
6 archivePrefix={arXiv},
7 primaryClass={cs.LG}
8}