---
base_model: Snowflake/snowflake-arctic-embed-xs
datasets: []
language:
- en
library_name: sentence-transformers
license: apache-2.0
metrics:
- cosine_accuracy
- dot_accuracy
- manhattan_accuracy
- euclidean_accuracy
- max_accuracy
pipeline_tag: sentence-similarity
tags:
- sentence-transformers
- sentence-similarity
- feature-extraction
- generated_from_trainer
- dataset_size:100000
- loss:MultipleNegativesRankingLoss
widget:
- source_sentence: 'Represent this sentence for searching relevant passages: what
is spider silk made of'
sentences:
- Arachnid Pictures. Spider's silk is made up of chains of amino acids. In other
words, it is simply a protein (see How Food Works for details on amino acids and
proteins). The two primary amino acids are glycine and alanine. Spider silk is
extremely strong -- it is about five times stronger than steel and twice as strong
as Kevlar of the same weight.
- Spider silk is made of several kinds of proteins. These proteins are processed
and stored within the spider's abdomen. Spiders typically have six or eight spinnerets,
organs at the rear of their abdomen, through which they extrude the silk proteins.
- Neon is the second lightest noble gas, after helium, and it has an atomic number
of 10. On the periodic table, it is identified with the symbol Ne. The noble gases
were recognized in the late 1800s, when scientists realized that an entire class
of gases was missing from the periodic table of elements.
- source_sentence: 'Represent this sentence for searching relevant passages: what
is a caring community of learners'
sentences:
- 'A couple of my friends and I made hot ice for our school science fair. We used
sodium acetate. This project won first place at my schools science fair!!! Materials:
Stove. Pot. A spoon. A glass cup. and Sodium acetate (you can find it online or
in certain heat packs). How to do it: You heat water in a pot and put the sodium
acetate in the water.'
- Caring Community of Learners. A group or classroom in which children and adults
engage in warm, positive relationships; treat each other with respect; and learn
from and with each other. Self-concept. Children's stable perceptions about themselves
despite variations in their behavior.
- 'Transcript of Creating a Caring Community of Caring Learners: - Caring Community
of Learners: Group or classroom in which children and adults have positive, respectful
relationships and learn from each other. - attachment theory: children''s ability
to learn depends on trusting relationships with caregivers.'
- source_sentence: 'Represent this sentence for searching relevant passages: what
does dark circles around deep set eyes mean'
sentences:
- Production Planner, Manufacturing Salary. (United States). The average salary
for a Production Planner, Manufacturing is $51,962 per year. A skill in SAP Enterprise
Resource Planning (ERP) is associated with high pay for this job. People in this
job generally don't have more than 20 years' experience.
- Symptoms & Signs. Dark circles under the eyes are a common complaint of both men
and women, although they can occasionally be seen in children. As people age,
the skin becomes thinner and collagen is lost, sometimes enhancing the appearance
of blood vessels beneath the eyes and making the area appear darker.
- What are dark circles under the eyes? Dark circles under the eyes, sometimes called
shadows or dark rings under the eyes, are the appearance of dark skin between
the lower eyelid and the top of the cheek. Dark circles under the eyes can occur
in infants, children, adolescents and adults, and to men and women alike. It is
commonly assumed that dark circles under the eyes are caused by a lack of sleep,
and poor quality sleep and insomnia can certainly cause this condition.
- source_sentence: 'Represent this sentence for searching relevant passages: how big
is rv access'
sentences:
- The average length of bigger RVs is between 7.6 meters to 12 meters or 25 feet
to 40 feet. These vehicles are usually packed with different interesting features,
most of which are intended to offer luxury and convenience.
- Murder, My Sweet (released as Farewell, My Lovely in the United Kingdom) is a
1944 American film noir, directed by Edward Dmytryk and starring Dick Powell,
Claire Trevor, and Anne Shirley. The film is based on Raymond Chandler 's 1940
novel Farewell, My Lovely. A second film adaptation of the novel was made in 1975
and released under Chandler's title. Murder, My Sweet turned out to be Anne Shirley's
final film. She retired from acting in 1944 at age 26.
- It should be wider then the rv.....lol sorry could not pass that one up. A standard
RV is normally around 96 inches wide at most, newer larger class A's are around
102 inches wide. This width does not include mirrors or other safety equipment.....
Last edited by rtandc; 10-22-2010 at 05:41 AM..
- source_sentence: 'Represent this sentence for searching relevant passages: how many
pitchers used per game'
sentences:
- Trackback - A method by which a blogger receives notification which other bloggers
link to his or her blog entry
- Accroding to the statistics in the Baseball Reference page showing 2014 Major
League Baseball Pitching Pitches, 745 pitchers threw 704,983 pitches in 2430 games
for an average of 290 pitches per game.
- In modern day baseball, teams generally have five starting pitchers, and they
take it in turn to start a game every fifth day (hence the phrase rotation). Sometimes,
if the schedule pans out, a team can get away with a four man rotation, and in
the distant past some teams managed a three man rotation.
model-index:
- name: Fine-tuned snowflake actic xs based on MS-Marco triplets
results:
- task:
type: triplet
name: Triplet
dataset:
name: xs msmarco triplet
type: xs-msmarco-triplet
metrics:
- type: cosine_accuracy
value: 0.571
name: Cosine Accuracy
- type: dot_accuracy
value: 0.4286
name: Dot Accuracy
- type: manhattan_accuracy
value: 0.5728
name: Manhattan Accuracy
- type: euclidean_accuracy
value: 0.571
name: Euclidean Accuracy
- type: max_accuracy
value: 0.5728
name: Max Accuracy
- task:
type: triplet
name: Triplet
dataset:
name: xs msmarco triplet train
type: xs-msmarco-triplet-train
metrics:
- type: cosine_accuracy
value: 0.5696
name: Cosine Accuracy
- type: dot_accuracy
value: 0.43
name: Dot Accuracy
- type: manhattan_accuracy
value: 0.5674
name: Manhattan Accuracy
- type: euclidean_accuracy
value: 0.5696
name: Euclidean Accuracy
- type: max_accuracy
value: 0.5696
name: Max Accuracy
---
# Fine-tuned snowflake actic xs based on MS-Marco triplets
This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [Snowflake/snowflake-arctic-embed-xs](https://huggingface.co/Snowflake/snowflake-arctic-embed-xs) on the sentence-transformers/msmarco-msmarco-mini_lm-l-6-v3 dataset. 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:** [Snowflake/snowflake-arctic-embed-xs](https://huggingface.co/Snowflake/snowflake-arctic-embed-xs)
- **Maximum Sequence Length:** 512 tokens
- **Output Dimensionality:** 384 tokens
- **Similarity Function:** Cosine Similarity
- **Training Dataset:**
- sentence-transformers/msmarco-msmarco-mini_lm-l-6-v3
- **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': 384, 'pooling_mode_cls_token': True, 'pooling_mode_mean_tokens': False, '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("krumeto/snowflake-arctic-embed-xs-ms-marco-triplet")
# Run inference
sentences = [
'Represent this sentence for searching relevant passages: how many pitchers used per game',
'In modern day baseball, teams generally have five starting pitchers, and they take it in turn to start a game every fifth day (hence the phrase rotation). Sometimes, if the schedule pans out, a team can get away with a four man rotation, and in the distant past some teams managed a three man rotation.',
'Accroding to the statistics in the Baseball Reference page showing 2014 Major League Baseball Pitching Pitches, 745 pitchers threw 704,983 pitches in 2430 games for an average of 290 pitches per game.',
]
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]
```
## Evaluation
### Metrics
#### Triplet
* Dataset: `xs-msmarco-triplet`
* Evaluated with [TripletEvaluator
](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.TripletEvaluator)
| Metric | Value |
|:-------------------|:-----------|
| cosine_accuracy | 0.571 |
| dot_accuracy | 0.4286 |
| manhattan_accuracy | 0.5728 |
| euclidean_accuracy | 0.571 |
| **max_accuracy** | **0.5728** |
#### Triplet
* Dataset: `xs-msmarco-triplet-train`
* Evaluated with [TripletEvaluator
](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.TripletEvaluator)
| Metric | Value |
|:-------------------|:-----------|
| cosine_accuracy | 0.5696 |
| dot_accuracy | 0.43 |
| manhattan_accuracy | 0.5674 |
| euclidean_accuracy | 0.5696 |
| **max_accuracy** | **0.5696** |
## Training Details
### Training Dataset
#### sentence-transformers/msmarco-msmarco-mini_lm-l-6-v3
* Dataset: sentence-transformers/msmarco-msmarco-mini_lm-l-6-v3
* Size: 100,000 training samples
* Columns: query
, positive
, and negative
* Approximate statistics based on the first 1000 samples:
| | query | positive | negative |
|:--------|:-----------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|
| type | string | string | string |
| details |
Represent this sentence for searching relevant passages: 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 Defined. The liberal arts are a set of academic disciplines that include the sciences and the humanities. When you study a liberal arts curriculum, you don't have to have one specific career goal, although you might. Instead, you'll assemble a broad foundation of knowledge that can be used in a wide spectrum of careers.
|
| Represent this sentence for searching relevant passages: 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.
| Fibrinolytic drug. Fibrinolytic drug, also called thrombolytic drug, any agent that is capable of stimulating the dissolution of a blood clot (thrombus). Fibrinolytic drugs work by activating the so-called fibrinolytic pathway.
|
| Represent this sentence for searching relevant passages: 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).
| In the context of blood work, PLT refers to the platelet count. Platelets are the cells that cause blood clotting and control bleeding. The normal range of platelets for adults is 3.5 to 10.5 billion cells per liter of blood, according to the Mayo Clinic. Continue Reading.
|
* 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
#### sentence-transformers/msmarco-msmarco-mini_lm-l-6-v3
* Dataset: sentence-transformers/msmarco-msmarco-mini_lm-l-6-v3
* Size: 5,000 evaluation samples
* Columns: query
, positive
, and negative
* Approximate statistics based on the first 1000 samples:
| | query | positive | negative |
|:--------|:-----------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|
| type | string | string | string |
| details | Represent this sentence for searching relevant passages: what is the name of the material harder than diamonds
| Nano-material is harder than diamonds By Will Knight A material that is harder than diamond has been created in the lab, by packing together tiny ânanorodsâ of carbon. The new material, known as aggregated carbon nanorods (ACNR), was created by compressing and heating super-strong carbon molecules called buckyballs or carbon-60.
| What material is stronger than diamond? Diamonds are famous for their hardness, but not particularly for strength,since they are easily cleaved to create the facets that make the different cuts of diamonds for setting in a ring or necklace. Many materials are stronger than diamonds, only a couple of synthesized materials are harder than diamonds.
|
| Represent this sentence for searching relevant passages: is pink impression a perennial tulip?
| Tulip Pink Impression. close video. VIDEO. Tulip Pink Impression. The rich pink blooms of this hybrid are bound to make an impression, whether used in the landscape or as a cut flower. Robust stems and giant blooms characterise the range, and this hybrid is no exception. âPink Impressionâ will continue to impress thanks to the perennial potential of this range.
| Tulip Pink Impression. The lustrous petals are a deep, rich rose at the center, shading to a delicate pale pink at the edge, while doing amazing things in between that include shades of both melon and sunset. Tall, strong, long-lasting and reliable, like most Darwin hybrids. An absolutely first-class Tulip.
|
| Represent this sentence for searching relevant passages: define: colonization
| Colonization. the settlement and economic development of the uninhabited borderlands of a country (internal colonization) or the establishment of settlements (engaging primarily in agricultural activity) beyond the frontiers of a country (external colonization).
| Colonization is a process by which a central system of power dominates the surrounding land and its components. The term is derived from the Latin word colere, which means to inhabit. Also, colonization refers strictly to migration, for example, to settler colonies in America or Australia, trading posts, and plantations, while colonialism deals with this, along with ruling the existing indigenous peoples of styled new territories. Colonization was linked to the spread of tens of millions fro
|
* 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
- `eval_strategy`: steps
- `per_device_train_batch_size`: 16
- `per_device_eval_batch_size`: 16
- `num_train_epochs`: 1
- `warmup_ratio`: 0.1
- `fp16`: True
- `batch_sampler`: no_duplicates
#### All Hyperparameters