---
language:
- en
license: apache-2.0
tags:
- sentence-transformers
- sentence-similarity
- feature-extraction
- generated_from_trainer
- dataset_size:378558
- loss:MultipleNegativesRankingLoss
base_model: intfloat/e5-base-v2
widget:
- source_sentence: Is intraoperative ketorolac an effective substitute for fentanyl
in children undergoing outpatient adenotonsillectomy?
sentences:
- Ketorolac showed no advantage over fentanyl in reducing the incidence of PONV
in children undergoing ADLAT.
- The patients with IgAN and their first relatives showed significant higher Gal
deficient IgA1 level than healthy controls, whereas patients spouses were the
same as healthy controls. It can be suggested that the Gal deficient IgA1 might
be inherited in Chinese patients with IgAN.
- Our results indicated that triptolide enhanced and enriched the stemness in the
PDAC cell lines at a low dose of 12.5 nM, but also resulted in the regression
of tumors derived from these cells.
- source_sentence: Is task specific fall prevention training effective for warfighters
with transtibial amputations?
sentences:
- These results indicate that task specific fall prevention training is an effective
rehabilitation method to reduce falls in persons with lower extremity transtibial
amputations.
- Don t press on the eye. For pain, give acetaminophen Tylenol . Don t give aspirin
or ibuprofen Advil, Motrin , because they can increase bleeding.
- Dermatophytes Trichophyton skin ,hair, ,nail Tri all Three Microsporum skin, hair
My head on head we have skin and hair Epidermophyton skin, nails
- source_sentence: Left horn of sinus venosus forms
sentences:
- Ki 67 expression is predictive of prognosis, and our prognostic model may become
a useful tool for predicting prognosis in patients with stage I II extranodal
NK T cell lymphoma, nasal type.
- Evidence described here suggests that IFN λ is a good candidate inhibitor of viral
replication in dengue infection. Mechanisms for the cellular and organismal interplay
between DENV and IFN λ need to be further studied as they could provide insights
into strategies to treat this disease. Furthermore, we report a novel epithelial
model to study dengue infection in vitro.
- Ans. A Coronary sinusRef Netter s Atlas of Human Embryology 2012 ed. pg. 96Heart
tube embryonic derivativesembryonic structureGives rise to Proximal 1 3rd of bulbus
cordisPrimitive trabeculated left ventricle Middle 1 3rd of bulbus cordisRight
and left ventricular outflow tract Distal 1 3rd of bulbus cordis truncus arteriosus
Ascending aorta and pulmonary trunk Left horn of sinus venosusCoronary sinus Right
horn of sinus venosusSmooth part of right atrium Right common cardinal nerve and
right anterior cardinal nerveSVC superior vena cava
- source_sentence: Is implementation of national diabetes retinal screening programme
associated with a lower proportion of patients referred to ophthalmology?
sentences:
- Introduction of a systematic retinal screening programme can reduce the proportion
of patients referred to the ophthalmology clinic, and use ophthalmology services
more efficiently.
- A Obesity Medications for the treatment of obesity can be classified as catecholaminergic
or serotonergic. Catecholaminergic medications include Amphetamines with high
abuse potential The Non Amphetamine schedule IV appetite suppressants Phentermine,
Diethyl propion Mazindol. The September 1997 withdrawal from the market of Flenfluramine
Defenfluramine has made true serotonergic appetite medications unavailable. The
SSRI antidepressants, E.g.., Fluoxetine Setraline, also have serotonergic activity
but are not approved by the FDA for weight loss.
- A i.e. Protein linked with glycosidic bond
- source_sentence: Does amyloid peptide regulate calcium homoeostasis and arrhythmogenesis
in pulmonary vein cardiomyocytes?
sentences:
- Hydroxy ethyl methaacrylate is a soft, flexible, water absorbing, plastic used
to make soft contact lenses. It is a polymer of 2 hydroxyethyl methacrylate HEMA
, a clear liquid component. Hard contact lenses are made from polymethyl methacrylate
PMMA and Silicon.
- Beta carotene has become popular in part because it s an antioxidant a substance
that may protect cells from damage. A number of studies show that people who eat
lots of fruits and vegetables that are rich in beta carotene and other vitamins
and minerals have a lower risk of some cancers and heart disease. However, so
far studies have not found that beta carotene supplements have the same health
benefits as foods.
- Aβ 25 35 has direct electrophysiological effects on PV cardiomyocytes.
pipeline_tag: sentence-similarity
library_name: sentence-transformers
metrics:
- cosine_accuracy
model-index:
- name: MPNet base trained on AllNLI triplets
results:
- task:
type: triplet
name: Triplet
dataset:
name: eval dataset
type: eval-dataset
metrics:
- type: cosine_accuracy
value: 0.9937447168216399
name: Cosine Accuracy
- task:
type: triplet
name: Triplet
dataset:
name: test dataset
type: test-dataset
metrics:
- type: cosine_accuracy
value: 0.9964285714285714
name: Cosine Accuracy
---
# MPNet base trained on AllNLI triplets
This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [intfloat/e5-base-v2](https://huggingface.co/intfloat/e5-base-v2). 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:** [intfloat/e5-base-v2](https://huggingface.co/intfloat/e5-base-v2)
- **Maximum Sequence Length:** 512 tokens
- **Output Dimensionality:** 768 dimensions
- **Similarity Function:** Cosine Similarity
- **Language:** en
- **License:** apache-2.0
### Model Sources
- **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
- **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
- **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
### Full Model Architecture
```
SentenceTransformer(
(0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: BertModel
(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})
(2): Normalize()
)
```
## Usage
### Direct Usage (Sentence Transformers)
First install the Sentence Transformers library:
```bash
pip install -U sentence-transformers
```
Then you can load this model and run inference.
```python
from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
model = SentenceTransformer("sentence_transformers_model_id")
# Run inference
sentences = [
'Does amyloid peptide regulate calcium homoeostasis and arrhythmogenesis in pulmonary vein cardiomyocytes?',
'Aβ 25 35 has direct electrophysiological effects on PV cardiomyocytes.',
'Beta carotene has become popular in part because it s an antioxidant a substance that may protect cells from damage. A number of studies show that people who eat lots of fruits and vegetables that are rich in beta carotene and other vitamins and minerals have a lower risk of some cancers and heart disease. However, so far studies have not found that beta carotene supplements have the same health benefits as foods.',
]
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]
```
## Evaluation
### Metrics
#### Triplet
* Datasets: `eval-dataset` and `test-dataset`
* Evaluated with [TripletEvaluator
](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.TripletEvaluator)
| Metric | eval-dataset | test-dataset |
|:--------------------|:-------------|:-------------|
| **cosine_accuracy** | **0.9937** | **0.9964** |
## Training Details
### Training Dataset
#### Unnamed Dataset
* Size: 378,558 training samples
* Columns: sentence1
, sentence2
, and label
* Approximate statistics based on the first 1000 samples:
| | sentence1 | sentence2 | label |
|:--------|:-----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:--------------------------------------------------------------|
| type | string | string | float |
| details |
Does tolbutamide alter glucose transport and metabolism in the embryonic mouse heart?
| Tolbutamide stimulates glucose uptake and metabolism in the embryonic heart, as occurs in adult extra pancreatic tissues. Glut 1 and HKI, but not GRP78, are likely involved in tolbutamide induced cardiac dysmorphogenesis.
| 1.0
|
| Do flk1 cells derived from mouse embryonic stem cells reconstitute hematopoiesis in vivo in SCID mice?
| The Flk1 hematopoietic cells derived from ES cells reconstitute hematopoiesis in vivo and may become an alternative donor source for bone marrow transplantation.
| 1.0
|
| Does systematic aging of degradable nanosuspension ameliorate vibrating mesh nebulizer performance?
| Nebulization of purified nanosuspensions resulted in droplet diameters of 7.0 µm. However, electrolyte supplementation and storage, which led to an increase in sample conductivity 10 20 µS cm , were capable of providing smaller droplet diameters during vibrating mesh nebulization 5.0 µm . No relevant change of NP properties i.e. size, morphology, remaining mass and molecular weight of the employed polymer was observed when incubated at 22 C for two weeks.
| 1.0
|
* Loss: [MultipleNegativesRankingLoss
](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
```json
{
"scale": 20.0,
"similarity_fct": "cos_sim"
}
```
### Evaluation Dataset
#### Unnamed Dataset
* Size: 47,320 evaluation samples
* Columns: sentence1
, sentence2
, and label
* Approximate statistics based on the first 1000 samples:
| | sentence1 | sentence2 | label |
|:--------|:-----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:--------------------------------------------------------------|
| type | string | string | float |
| details | Does thrombospondin 2 gene silencing in human aortic smooth muscle cells improve cell attachment?
| siRNA mediated TSP 2 silencing of human aortic HAoSMCs improved cell attachment but had no effect on cell migration or proliferation. The effect on cell attachment was unrelated to changes in MMP activity.
| 1.0
|
| What can you do to manage polycythemia vera?
| Most people with polycythemia vera take low dose aspirin. There are a lot of ways you can keep yourself comfortable and as healthy as possible Don t smoke or chew tobacco. Tobacco makes blood vessels narrow, which can make blood clots more likely. Get some light exercise, such as walking, to help your circulation and keep your heart healthy. Do leg and ankle exercises to stop clots from forming in the veins of your legs. Your doctor or a physical therapist can show you how. Bathe or shower in cool water if warm water makes you itch. Keep your skin moist with lotion, and try not to scratch.
| 1.0
|
| Is weekly nab paclitaxel safe and effective in 65 years old patients with metastatic breast cancer a post hoc analysis?
| Weekly nab paclitaxel was safe and more efficacious compared with the q3w schedule and with solvent based taxanes in older patients with MBC.
| 1.0
|
* Loss: [MultipleNegativesRankingLoss
](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
```json
{
"scale": 20.0,
"similarity_fct": "cos_sim"
}
```
### Training Hyperparameters
#### Non-Default Hyperparameters
- `do_predict`: True
- `eval_strategy`: steps
- `per_device_train_batch_size`: 32
- `per_device_eval_batch_size`: 32
- `num_train_epochs`: 1
- `warmup_ratio`: 0.1
- `fp16`: True
- `load_best_model_at_end`: True
- `batch_sampler`: no_duplicates
#### All Hyperparameters