metadata
base_model: sentence-transformers/paraphrase-multilingual-mpnet-base-v2
datasets:
- sentence-transformers/msmarco-msmarco-distilbert-base-tas-b
language:
- en
library_name: sentence-transformers
pipeline_tag: sentence-similarity
tags:
- sentence-transformers
- sentence-similarity
- feature-extraction
- generated_from_trainer
- dataset_size:1521
- loss:MultipleNegativesRankingLoss
widget:
- source_sentence: latency definition
sentences:
- "The Wizard of Oz movie musical premieres in Oconomowoc, Wisconsin. The Wizard of Oz, starring Judy Garland and featuring words and music by E.Y. â\x80\x9CYipâ\x80\x9D Harburg and Harold Arlen, receives its world premiere in Oconomowoc, Wisconsin, on this day in 1939."
- >-
Latency is a networking term to describe the total time it takes a data
packet to travel from one node to another. In other contexts, when a
data packet is transmitted and returned back to its source, the total
time for the round trip is known as latency.
- >-
Definition - What does Latency mean? Latency is a networking term to
describe the total time it takes a data packet to travel from one node
to another. In other contexts, when a data packet is transmitted and
returned back to its source, the total time for the round trip is known
as latency.
- source_sentence: activity based models business definition
sentences:
- >-
Symptoms of a fungal lung infection depend on the underlying cause.
Fungal lung infection can cause cough, fatigue, and fever. Other
symptoms include joint pains, muscle aches, and loss of appetite. The
fungus can spread from the lungs to the skin, where it causes a rash and
forms ulcers.
- >-
Activity-based management (ABM) is a method of identifying and
evaluating activities that a business performs, using activity-based
costing to carry out a value chain analysis or a re-engineering
initiative to improve strategic and operational decisions in an
organization.
- >-
Business model design refers to the activity of designing a company's
business model. It is part of the business development and business
strategy process and involves design methods.his definition by Al-Debei
and Avison (2008) indicates that value proposition, value architecture,
value finance, and value network articulate the primary constructs or
dimensions of business models.
- source_sentence: Swift Mobile Application Development.
sentences:
- iOS developer with experience in Swift and Xcode.
- Psychologist with trauma therapy experience.
- ' Especialista en marketing digital con experiencia en campañas de Google Ads y Facebook Ads.'
- source_sentence: Curso de análisis de datos geoespaciales con QGIS
sentences:
- Analista geoespacial con habilidades en QGIS
- >-
Analista financiero con habilidades en Excel avanzado y análisis de
datos.
- Arquitecto con habilidades en diseño sostenible
- source_sentence: Gestión de proyectos con PRINCE2.
sentences:
- Diseñador de videojuegos con experiencia en Unity
- Diseñador gráfico con habilidades en branding.
- Gerente de proyectos con certificación PRINCE2.
SentenceTransformer based on sentence-transformers/paraphrase-multilingual-mpnet-base-v2
This is a sentence-transformers model finetuned from sentence-transformers/paraphrase-multilingual-mpnet-base-v2 on the dataset and distilbert datasets. It maps sentences & paragraphs to a 768-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/paraphrase-multilingual-mpnet-base-v2
- Maximum Sequence Length: 128 tokens
- Output Dimensionality: 768 tokens
- Similarity Function: Cosine Similarity
- Training Datasets:
- dataset
- distilbert
- Language: en
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': 128, 'do_lower_case': False}) with Transformer model: XLMRobertaModel
(1): Pooling({'word_embedding_dimension': 768, '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})
)
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("saraleivam/GURU-model")
# Run inference
sentences = [
'Gestión de proyectos con PRINCE2.',
'Gerente de proyectos con certificación PRINCE2.',
'Diseñador gráfico con habilidades en branding.',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 768]
# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]
Training Details
Training Datasets
dataset
- Dataset: dataset
- Size: 521 training samples
- Columns:
anchor
,positive
, andnegative
- Approximate statistics based on the first 1000 samples:
anchor positive negative type string string string details - min: 5 tokens
- mean: 18.18 tokens
- max: 128 tokens
- min: 4 tokens
- mean: 19.73 tokens
- max: 128 tokens
- min: 4 tokens
- mean: 15.27 tokens
- max: 128 tokens
- Samples:
anchor positive negative Interactive data dashboards with JavaScript.
Data visualization expert with interactive dashboard skills.
Accountant with tax preparation skills.
Intro to neural networks for beginners.
Machine learning engineer with neural network skills.
Biologist with terrestrial ecology experience.
Data Analysis, Database Application, Statistical Analysis
Ingeniero en sistemas con experiencia en redes informáticas.
Escritora, años de experiencia
- Loss:
MultipleNegativesRankingLoss
with these parameters:{ "scale": 20.0, "similarity_fct": "cos_sim" }
distilbert
- Dataset: distilbert at e63dd83
- Size: 1,000 training samples
- Columns:
query
,positive
, andnegative
- Approximate statistics based on the first 1000 samples:
query positive negative type string string string details - min: 4 tokens
- mean: 9.95 tokens
- max: 28 tokens
- min: 18 tokens
- mean: 84.21 tokens
- max: 128 tokens
- min: 4 tokens
- mean: 79.55 tokens
- max: 128 tokens
- Samples:
query positive negative what are the liberal arts?
liberal arts. 1. the academic course of instruction at a college intended to provide general knowledge and comprising the arts, humanities, natural sciences, and social sciences, as opposed to professional or technical subjects.
liberal arts definition The areas of learning that cultivate general intellectual ability rather than technical or professional skills. Liberal arts is often used as a synonym for humanities, because literature, languages, history, and philosophy are often considered the primary subjects of the liberal arts.
what is the mechanism of action of fibrinolytic or thrombolytic drugs?
Baillière's Clinical Haematology. 6 Mechanism of action of the thrombolytic agents. 6 Mechanism of action of the thrombolytic agents JEFFREY I. WEITZ Fibrin formed during the haemostatic, inflammatory or tissue repair process serves a temporary role, and must be degraded to restore normal tissue function and structure.
Thrombolytic drugs such as tPA are often the first line of defense in treating some forms of ischemic stroke. The stroke occurs when fibrin strands in the blood trap blood cells and platelets, forming a clot in an artery to the brain (A).
what is normal plat count
78 Followers. A. Platelets are the tiny blood cells that help stop bleeding by binding together to form a clump or plug at sites of injury inside blood vessels. A normal platelet count is between 150,000 and 450,000 platelets per microliter (one-millionth of a liter, abbreviated mcL).The average platelet count is 237,000 per mcL in men and 266,000 per mcL in women.8 Followers. A. Platelets are the tiny blood cells that help stop bleeding by binding together to form a clump or plug at sites of injury inside blood vessels. A normal platelet count is between 150,000 and 450,000 platelets per microliter (one-millionth of a liter, abbreviated mcL).
The normal number of platelets is between 150 and 400 million per millilitre (ml) of blood. Most pregnant women have normal numbers of platelets, but about eight per cent of pregnant women have a slight drop in their platelet count.Your count is below normal if you have between 100 and 150 million platelets per ml of blood.our platelet count will look something like Plat. 160x10.9/L, which means you have a platelet count of 160, which is in the normal range. If your platelet count is low, the blood test should be done again. This will keep track of whether or not your count is dropping.
- Loss:
MultipleNegativesRankingLoss
with these parameters:{ "scale": 20.0, "similarity_fct": "cos_sim" }
Evaluation Datasets
dataset
- Dataset: dataset
- Size: 131 evaluation samples
- Columns:
anchor
,positive
, andnegative
- Approximate statistics based on the first 1000 samples:
anchor positive negative type string string string details - min: 6 tokens
- mean: 20.15 tokens
- max: 128 tokens
- min: 5 tokens
- mean: 21.82 tokens
- max: 115 tokens
- min: 4 tokens
- mean: 17.24 tokens
- max: 124 tokens
- Samples:
anchor positive negative Intro to Neural Networks for Beginners.
Machine learning engineer with neural network skills.
Biologist with terrestrial ecology experience.
Estudiante de matemáticas de pregrado con opción en Ingeniería Biomédica, enfocada en aplicaciones en la industria. Habilidades en análisis de datos, investigación y trabajo en equipo para impulsar la toma de decisiones estratégicas. Experiencia en liderazgo de proyectos, manejo de Big Data y análisis de datos para mejorar procesos empresariales. Apasionada por aplicar habilidades analíticas en proyectos que generen valor.
Algorithms, Bioinformatics, Computer Programming, Python Programming, Computational Thinking, Data Structures, Data Analysis, Programming Principles, Computational Logic, Computer Programming Tools
Desarrolla habilidades de pensamiento crítico a través del estudio de grandes filósofos y sus teorías. Examina cuestiones fundamentales sobre la existencia, el conocimiento y la ética.
Data mining and big data analytics.
Data scientist with big data and data mining skills.
Nurse with primary care experience.
- Loss:
MultipleNegativesRankingLoss
with these parameters:{ "scale": 20.0, "similarity_fct": "cos_sim" }
distilbert
- Dataset: distilbert at e63dd83
- Size: 100 evaluation samples
- Columns:
query
,positive
, andnegative
- Approximate statistics based on the first 1000 samples:
query positive negative type string string string details - min: 5 tokens
- mean: 9.87 tokens
- max: 19 tokens
- min: 28 tokens
- mean: 86.98 tokens
- max: 128 tokens
- min: 23 tokens
- mean: 80.97 tokens
- max: 128 tokens
- Samples:
query positive negative when was the town of farragut tn incorporated
In January of 1980, residents decided to incorporate by an overwhelming margin. The Town of Farragut was incorporated on January 16, 1980, with the first board of Mayor and Alderman elected on April 1, 1980.
Farragut is a town which straddles both Knox and Loudon counties in Tennessee. It is a suburb of Knoxville. The town's population was 20,676 at the 2010 census. It is included in the Knoxville Metropolitan Area. The town is named in honor of American Civil War Admiral David Farragut, who was born just east of Farragut at Campbell's Station in 1801.
how long to roast a chicken
There are two methods for roasting a whole chicken: Regular method: 1 Preheat oven to 350 degrees F (175 degrees C). 2 Roast whole (thawed) chickens for 20 minutes per pound, plus an additional 15 minutes.
1 Roast the chicken at 450 degrees for 20 minutes, then reduce the heat to 400 degrees and continue roasting for about 40 minutes (or until the internal temperature reaches about 175 to 180 degrees F. about 1 hour or a little less).
what is a hormone?
What Are Hormones, And What Do They Do? Hormones are special chemical messengers in the body that are created in the endocrine glands. These messengers control most major bodily functions, from simple basic needs like hunger to complex systems like reproduction, and even the emotions and mood. Understanding the major hormones and what they do will help patients take control of their health. Prostaglandins.
Hormone is a chemical substance that is produced in one part of the body (by an endocrine gland) and is carried in the blood to other distant organs or tissues where it acts to modify their structure or function.
- Loss:
MultipleNegativesRankingLoss
with these parameters:{ "scale": 20.0, "similarity_fct": "cos_sim" }
Training Hyperparameters
All Hyperparameters
Click to expand
overwrite_output_dir
: Falsedo_predict
: Falseeval_strategy
: noprediction_loss_only
: Trueper_device_train_batch_size
: 8per_device_eval_batch_size
: 8per_gpu_train_batch_size
: Noneper_gpu_eval_batch_size
: Nonegradient_accumulation_steps
: 1eval_accumulation_steps
: Nonelearning_rate
: 5e-05weight_decay
: 0.0adam_beta1
: 0.9adam_beta2
: 0.999adam_epsilon
: 1e-08max_grad_norm
: 1.0num_train_epochs
: 3.0max_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
: Falsebatch_sampler
: batch_samplermulti_dataset_batch_sampler
: proportional
Training Logs
Epoch | Step | Training Loss | distilbert loss | dataset loss |
---|---|---|---|---|
2.6178 | 500 | 0.362 | - | - |
3.0 | 573 | - | 1.2950 | 0.1712 |
Framework Versions
- Python: 3.9.13
- Sentence Transformers: 3.0.1
- Transformers: 4.41.2
- PyTorch: 2.3.1+cpu
- Accelerate: 0.31.0
- Datasets: 2.20.0
- Tokenizers: 0.19.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",
}
MultipleNegativesRankingLoss
@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}
}