metadata
base_model: sentence-transformers/all-MiniLM-L6-v2
library_name: sentence-transformers
pipeline_tag: sentence-similarity
tags:
- sentence-transformers
- sentence-similarity
- feature-extraction
- generated_from_trainer
- dataset_size:8117
- loss:CosineSimilarityLoss
widget:
- source_sentence: >-
Description: I'm looking for a skilled web developer proficient in
converting Figma mobile app designs to fully responsive HTML code in
Flutter. Key Requirements - Convert Figma designs to HTML, ensuring the
output is fully responsive across all devices. - Implement multiple
interactive elements as per the original designs. This includes, but is
not limited to, sliders and pop-ups. - Utilize clean, efficient code
that's easy to maintain. Ideal Skills and Experience - Extensive
experience in Figma to Flutter codeconversion. - Proficient in creating
fully responsive web applications. - Strong understanding of interactive
web elements. - Exceptional coding skills, with a focus on maintaining
code quality and efficiency.
sentences:
- 'Skills: Data Entry, eCommerce'
- 'Skills: Graphic Design, CSS, HTML, Flutter'
- >-
Skills: Social Media Marketing, Social Networking, Influencer Marketing,
Market Research
- source_sentence: >-
Description: I'm looking for an experienced C++ developer to help me with
a project involving graph data structures. The main focus is implementing
the Breadth-First Search BFS traversal algorithm on a graph. Ideal Skills
and Experience - Proficient in C++ - Strong understanding of graph data
structures - Experience implementing in competitive Programming -
Problem-solving skills This project requires not just coding, but also a
deep understanding of how graphs work and how to traverse them efficiently
using BFS. Please provide examples of similar projects you have completed
in the past.
sentences:
- 'Skills: C++ Programming, C Programming, Algorithm, Java, C# Programming'
- 'Skills: Banner Design, Graphic Design, Animation, Logo Design, Photoshop'
- 'Skills: Website Design, Graphic Design, PHP, HTML, User Interface / IA'
- source_sentence: >-
Description: I'm looking for a creative designer to create two engaging,
superhero-themed Facebook photos for an ad campaign targeting adults. Key
Requirements - Design should be fun and playful, appealing to the target
audience - Experience in creating social media visuals and understanding
of Facebook's photo specifications - Skills in graphic design and
illustration Ideal Freelancer - Previous experience designing for ad
campaigns - Portfolio showcasing playful and fun designs - Understanding
of the superhero genre and its appeal to adults
sentences:
- >-
Skills: Joomla, PHP, C++ Programming, Blueprint Calibration, Floorplan
Blueprinting
- >-
Skills: Graphic Design, Photoshop, Banner Design, Illustration,
Illustrator
- 'Skills: Logo Design, Graphic Design, Illustrator, Photoshop, Icon Design'
- source_sentence: >-
Description: I'm looking for assistance with registering a new Class 2
Digital Signature Certificate DSC for use on the E-filing portal. Ideal
Skills and Experience - Proficiency in Digital Signature Certificate DSC
registration - Understanding of Class 2 Certificate specifications -
Familiarity with E-filing portal requirements and procedures
sentences:
- 'Skills: Node.js, Express JS, React.js, SQL, Next.js'
- 'Skills: PHP, WordPress, HTML, Website Design, CSS'
- 'Skills: Private Client, Digital Marketing, Social Networking'
- source_sentence: >-
Description: I'm seeking an expert in Google Sheets and data management to
create a comprehensive tracking system for student progress. Details -
Each student will have their own Google Sheet file. - Each file will
contain 6 levels as separate sheets and a checkbox in each sheet for
tracking progress. - When the checkbox is ticked, the data needs to be
sent to a central database for us to know the student has completed a
level and certificates need to be printed. The data to be sent to the
database includes - Student's Name - Current Level - Package Details -
Date and time Ideal skills for this project include - Advanced knowledge
of Google Sheets - Experience with data management and database creation -
Attention to detail to ensure accurate tracking of each student's
progress. Each student's Google Sheet should include - Their Name - Their
Current Level - Details about the Package they are on - A space to track
their Progress Please only apply if you have relevant experience and can
demonstrate your ability to deliver this project efficiently.
sentences:
- 'Skills: Linux, System Admin, Network Administration, Ubuntu'
- 'Skills: PHP, Visual Basic, Data Processing, Data Entry, Excel'
- >-
Skills: Computer Security, Network Administration, Virtual Machines, Web
Security, Linux
SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
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.
Model Details
Model Description
- Model Type: Sentence Transformer
- Base model: sentence-transformers/all-MiniLM-L6-v2
- Maximum Sequence Length: 256 tokens
- Output Dimensionality: 384 tokens
- Similarity Function: Cosine Similarity
Model Sources
- Documentation: Sentence Transformers Documentation
- Repository: Sentence Transformers on GitHub
- Hugging Face: Sentence Transformers on Hugging Face
Full Model Architecture
SentenceTransformer(
(0): Transformer({'max_seq_length': 256, 'do_lower_case': False}) with Transformer model: 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()
)
Usage
Direct Usage (Sentence Transformers)
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("Nashhz/SBERT_KFOLD_Job_Descriptions_to_Skills")
# Run inference
sentences = [
"Description: I'm seeking an expert in Google Sheets and data management to create a comprehensive tracking system for student progress. Details - Each student will have their own Google Sheet file. - Each file will contain 6 levels as separate sheets and a checkbox in each sheet for tracking progress. - When the checkbox is ticked, the data needs to be sent to a central database for us to know the student has completed a level and certificates need to be printed. The data to be sent to the database includes - Student's Name - Current Level - Package Details - Date and time Ideal skills for this project include - Advanced knowledge of Google Sheets - Experience with data management and database creation - Attention to detail to ensure accurate tracking of each student's progress. Each student's Google Sheet should include - Their Name - Their Current Level - Details about the Package they are on - A space to track their Progress Please only apply if you have relevant experience and can demonstrate your ability to deliver this project efficiently.",
'Skills: PHP, Visual Basic, Data Processing, Data Entry, Excel',
'Skills: Computer Security, Network Administration, Virtual Machines, Web Security, Linux',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 384]
# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]
Training Details
Training Dataset
Unnamed Dataset
- Size: 8,117 training samples
- Columns:
sentence_0,sentence_1, andlabel - Approximate statistics based on the first 1000 samples:
sentence_0 sentence_1 label type string string float details - min: 7 tokens
- mean: 139.48 tokens
- max: 256 tokens
- min: 4 tokens
- mean: 16.81 tokens
- max: 33 tokens
- min: -0.07
- mean: 0.46
- max: 0.83
- Samples:
sentence_0 sentence_1 label Description: Looking for a Freelance Videographer & Post-Production Editor! We're hosting a charity event near Sandton, Johannesburg, in support of those affected by abuse. The event will run for about 1-2 hours and features a live band performance. Project Scope Event Recording Capture the entire live set approx. 30 minutes including breaks and speakers, totaling around 1 hour. Post-Production Create a dynamic video for social media, similar to a movie trailer, highlighting the live band and key moments from the event. Photography Take a few impactful photos during the event, including post-production edits. Interviews Film one-on-one segments with speakers for inclusion in the post-event video. Sound Design Incorporate music and sound effects, using creative content available online. Delivery Deadline Edited photos and videos need to be submitted by 14 October 2024. This project aims to capture the spirit of the event, supporting the Family Protection Association login to view URL and empowering women while raising funds and awareness for the cause. If you're interested and have a flair for storytelling through video, please reach out! Date 13 October 2024 Time 1300pm to 1400pm 2 hour setSkills: Video Editing, Video Production, Video Services, Videography, After Effects0.4115103483200073Description: Hi! I am Lradon from Andvids. We are a video production agency from China assisting our clients in finding content creators to produce unboxing videos. General requirements of the videos Video duration 1-3 minutes,without music Format Landscape screen 169 MP4 Content â' show your face to explain product features and demonstrate in English fluently. 30 of the time is used to explain product features and show product details, 70 of the time is used to demonstrate the use of the product and the use process in mutiple sences. â'Don't talking about price, personal privacy information, do not appear two-dimensional code, express bill, license plate, door plate, etc Clarity 1080p. Make sure the environment is clean and bright ,and the lens is stable and does not shake Upload to Amazon Sometimes we need you to upload the videos to Amazon If you are interested in this job,feel free to contact me and please send me an introduction video or anything you have shot login to view URL forward to receiving your login to view URL you!Skills: Video Editing, Video Production, Videography, Video Services, After Effects0.4927669167518616Description: I'm looking for an expert in electronic circuit board design to create and manufacture a simple electronic board for industrial marine machinery. The ideal candidate should have - Experience in designing circuit boards - Ability to design simple, yet effective electronic boards. - Skills in both design and manufacturing of circuit boards. This project is all about creating a reliable, efficient circuit board that can withstand the rigors of marine use. The board is very straight forward design which will be- dc power supply covering 12 volt or 24 volt dc- but range with charging should cover 08 volts to 32 volts dc- it will have an on off button- when selected to on it will engage a 12 vdc solenoid very small and will activate it for 3 minutes and then when stopped it will do this every 7 days on a timer for 3 minutes- when turned off it will not activate and when turned on again it will start again it will activate the solid for 3 minutes and then when finish it will start a 7 day time to repeat the 3 minute solenoid and will be on constant repeatSkills: Electronics, Electrical Engineering, PCB Layout, Circuit Design, Engineering0.2869749069213867 - Loss:
CosineSimilarityLosswith these parameters:{ "loss_fct": "torch.nn.modules.loss.MSELoss" }
Training Hyperparameters
Non-Default Hyperparameters
per_device_train_batch_size: 16per_device_eval_batch_size: 16num_train_epochs: 4multi_dataset_batch_sampler: round_robin
All Hyperparameters
Click to expand
overwrite_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: 4max_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}deepspeed: Nonelabel_smoothing_factor: 0.0optim: adamw_torchoptim_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: Falsehub_always_push: Falsegradient_checkpointing: Falsegradient_checkpointing_kwargs: Noneinclude_inputs_for_metrics: Falseeval_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: Nonedispatch_batches: Nonesplit_batches: Noneinclude_tokens_per_second: Falseinclude_num_input_tokens_seen: Falseneftune_noise_alpha: Noneoptim_target_modules: Nonebatch_eval_metrics: Falseeval_on_start: Falseuse_liger_kernel: Falseeval_use_gather_object: Falsebatch_sampler: batch_samplermulti_dataset_batch_sampler: round_robin
Training Logs
| Epoch | Step | Training Loss |
|---|---|---|
| 0.9843 | 500 | 0.0012 |
| 1.9685 | 1000 | 0.0011 |
| 2.9528 | 1500 | 0.0008 |
| 3.9370 | 2000 | 0.0006 |
| 0.9843 | 500 | 0.0009 |
| 1.9685 | 1000 | 0.0008 |
| 2.9528 | 1500 | 0.0006 |
| 3.9370 | 2000 | 0.0005 |
| 0.9843 | 500 | 0.0007 |
| 1.9685 | 1000 | 0.0007 |
| 2.9528 | 1500 | 0.0005 |
| 3.9370 | 2000 | 0.0004 |
| 0.9843 | 500 | 0.0006 |
| 1.9685 | 1000 | 0.0006 |
| 2.9528 | 1500 | 0.0004 |
| 3.9370 | 2000 | 0.0003 |
| 0.9843 | 500 | 0.0005 |
| 1.9685 | 1000 | 0.0005 |
| 2.9528 | 1500 | 0.0004 |
| 3.9370 | 2000 | 0.0003 |
Framework Versions
- Python: 3.12.6
- Sentence Transformers: 3.2.0
- Transformers: 4.45.2
- PyTorch: 2.4.1+cpu
- Accelerate: 1.0.1
- Datasets: 3.0.1
- Tokenizers: 0.20.1
Citation
BibTeX
Sentence Transformers
@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",
}