---
base_model: Snowflake/snowflake-arctic-embed-s
datasets: []
language: []
library_name: sentence-transformers
pipeline_tag: sentence-similarity
tags:
- sentence-transformers
- sentence-similarity
- feature-extraction
- generated_from_trainer
- dataset_size:55736
- loss:MultipleNegativesRankingLoss
widget:
- source_sentence: 'Represent this sentence for searching relevant passages: 07/16/64
are sour things good for you?'
sentences:
- '07/06/2006 [''Select the cells that you want to copy For more information, see
Select cells, ranges, rows, or columns on a worksheet. ... '', ''Click Home >
Find & Select, and pick Go To Special.'', ''Click Visible cells only > OK.'',
''Click Copy (or press Ctrl+C).'', ''Select the upper-left cell of the paste area
and click Paste (or press Ctrl+V).'']
'
- 'jul 16 1964 Yet, this doesn''t mean that sour foods are always unsafe to eat.
In fact, many sour foods are quite nutritious and rich in plant compounds called
antioxidants, which help protect your cells from damage ( 7 , 8 ).
'
- '"05/19/2044 Chicken tikka masala differs from the recipe, chicken tikka , because
of the various spices (the meaning of ""masala""). Despite the origin being debated
between a British-take on Indian food and an actual Indian dish, it has become
very popular in the U.K. and in other countries."
'
- source_sentence: 'Represent this sentence for searching relevant passages: 07/27/32
Avoid Mononucleosis'
sentences:
- '07/27/32 The Epstein-Barr Virus (EBV) causes mononucleosis, also known as mono.
Transmitted through saliva, mono is most commonly spread by kissing, sharing eating
or drinking utensils, coughing and sneezing.
'
- 'Making your own pencil bag is a great way to use up scrap fabric that you love
but that isn''t large enough for bigger craft projects. It''s also an eco-friendly
option for toting pencils around, and a reflection of your own style. 5/01
'
- '11/24 Being beautiful on the inside requires as much attention as your appearance,
if not more so. With a dose of humility and self-reflection, along with some consideration
for others, becoming beautiful on the inside is possible for every girl.
'
- source_sentence: 'Represent this sentence for searching relevant passages: today:2044-07-28
6 months ago Downtown Getdown'
sentences:
- '"10/04 You can say goodbye in German in nearly any circumstance if you know two
phrases: ""Auf Wiedersehen"" and ""Tschüs."" If you really want to impress native
German speakers, though, there are a few other phrases you can also use when parting
ways."
'
- '2044-01-14 The City of Tallahassee''s Downtown Getdown is a seasonal festival
in fall that happens in the central business district in the City of Tallahassee,
Florida. The festival involves concerts, stands for food, dancing, street entertainers,
make up artist, clowns, grilling, and fun for everyone. The city attracts people
from all over the area, including Gadsden County, Wakulla County, Jefferson County,
Jackson County, Gulf County, Liberty County, Madison County, Taylor County, and
even south Georgia counties, including Thomas and Grady counties. The festival
attracts tens of thousands of people every year and directly benefits United Way
of the Big Bend. The GetDowns are supported by title sponsor Capital City Bank
and supporting sponsors, Bud Light along with Tri-Eagle Sales, Aarons, Inc, Tallahassee
Democrat, WCTV, Clear Channel Radio, Coke and the City of Tallahassee. References
Culture of Tallahassee, Florida
'
- '03/04 Sloppy joes are the kind of food that you never outgrow. But if you don’t
eat meat, you may find yourself wistfully reminiscing over the the childhood joy
of tucking into a messy sandwich while nibbling on a much less exciting snack.
'
- source_sentence: 'Represent this sentence for searching relevant passages: today:2039-12-02
last tuesday what happens after you beat the elite four in sun and moon?'
sentences:
- '11-29-2039 Go catch all the Ultra Beasts It''s pretty hard to miss this mission,
since it starts right after Sun and Moon''s storyline wraps. After beating the
Elite Four and heading home, the player is given a new task: Head to the previously
empty motel on Route 8 for a new mission.
'
- 'Anaphalis acutifolia is a species of flowering plants within the family Asteraceae.
It is found in South Tibet (Yadong). References acutifolia Flora of Tibet February
4
'
- '05/09/02 Math is not as daunting as it seems, it''s all about following simple
rules. Repeated use of these rules builds understanding and confidence. This article
will teach you how to use and understand those rules.
'
- source_sentence: 'Represent this sentence for searching relevant passages: Philadelphia
Business Journal 01/30/83'
sentences:
- '2017/10/17 Circle with Towers is a concrete block 2005/2012 sculpture by American
artist Sol LeWitt, installed outside the Bill and Melinda Gates Computer Science
Complex on the University of Texas at Austin campus in Austin, Texas, United States.
Previously, the artwork was installed in Madison Square Park; the university''s
public art program, Landmarks, purchased the sculpture from the Madison Square
Park Conservancy. References External links Concrete sculptures in the United
States Outdoor sculptures in Austin, Texas University of Texas at Austin campus
'
- 'Have you just bought your brand new Nintendo Wii console? Are you gutted that
you can''t get Wii Connect 24 in your country of residence? This article will
resolve this problem, so you can surf the Internet on your Wii!
'
- 'The Philadelphia Business Journal is a diversified business media company in
Philadelphia, Pennsylvania, publishing daily stories on its website and social
networks, and a weekly edition available in print and online. It is published
by the American City Business Journals. See also List of newspapers in Pennsylvania
References External links Business newspapers published in the United States Newspapers
published in Philadelphia Jan 30 1983
'
---
# Technical Report and Model Pipeline
To access our technical report and model pipeline scripts visit our [github](https://github.com/khoj-ai/timely/tree/main)
# SentenceTransformer based on Snowflake/snowflake-arctic-embed-s
This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [Snowflake/snowflake-arctic-embed-s](https://huggingface.co/Snowflake/snowflake-arctic-embed-s). 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-s](https://huggingface.co/Snowflake/snowflake-arctic-embed-s)
- **Maximum Sequence Length:** 512 tokens
- **Output Dimensionality:** 384 tokens
- **Similarity Function:** Cosine Similarity
### 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("sentence_transformers_model_id")
# Run inference
sentences = [
'Represent this sentence for searching relevant passages: Philadelphia Business Journal 01/30/83',
'The Philadelphia Business Journal is a diversified business media company in Philadelphia, Pennsylvania, publishing daily stories on its website and social networks, and a weekly edition available in print and online. It is published by the American City Business Journals. See also List of newspapers in Pennsylvania References External links Business newspapers published in the United States Newspapers published in Philadelphia Jan 30 1983\n',
"Have you just bought your brand new Nintendo Wii console? Are you gutted that you can't get Wii Connect 24 in your country of residence? This article will resolve this problem, so you can surf the Internet on your Wii!\n",
]
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: 55,736 training samples
* Columns: anchors
and positive
* Approximate statistics based on the first 1000 samples:
| | anchors | positive |
|:--------|:-----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|
| type | string | string |
| details |
Represent this sentence for searching relevant passages: are bugs attracted to citronella November 10?
| Citronella is naturally occurring oil that repels insects. ... “Citronella oil is repellent to mosquitoes to a degree, but the amount being put out by a candle isn't going to be very effective,” Eric Hoffer, president of Hoffer Pest, told TODAY Home. 11/10
|
| Represent this sentence for searching relevant passages: are bugs attracted to citronella 11/10/09?
| Citronella is naturally occurring oil that repels insects. ... “Citronella oil is repellent to mosquitoes to a degree, but the amount being put out by a candle isn't going to be very effective,” Eric Hoffer, president of Hoffer Pest, told TODAY Home. 11/10/09
|
| Represent this sentence for searching relevant passages: are bugs attracted to citronella Jan 15?
| Citronella is naturally occurring oil that repels insects. ... “Citronella oil is repellent to mosquitoes to a degree, but the amount being put out by a candle isn't going to be very effective,” Eric Hoffer, president of Hoffer Pest, told TODAY Home. 01/15
|
* 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: 1,000 evaluation samples
* Columns: anchors
and positive
* Approximate statistics based on the first 1000 samples:
| | anchors | positive |
|:--------|:-----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|
| type | string | string |
| details | Represent this sentence for searching relevant passages: 4/23 Socialize With Someone Who Is Losing Interest in You
| 04/23 It can hurt to realize that someone you care about is losing interest in you. If a friend has stopped calling you and no longer makes plans to hang out, your first instinct might be to contact them more frequently or to ignore them in return.
|
| Represent this sentence for searching relevant passages: Alathur taluk, Perambalur 04/19/29
| Alathur taluk is a taluk in Perambalur district in the Indian state of Tamil Nadu. It was created by former chief minister J.Jayalalithaa for issues of population increase. Kunnam taluk was bifurcated to form this new taluk. Villages There are 39 villages in Alathur taluk excluding the headquarters Alathur. References Perambalur district Taluks of Perambalur district 2029 Apr 19
|
| Represent this sentence for searching relevant passages: 01/04 how much weight does a baby gain in the first month?
| 01/04 During their first month, most newborns gain weight at a rate of about 1 ounce (30 grams) per day. They generally grow in height about 1 to 1½ inches (2.54 to 3.81 centimeters) during the first month. Many newborns go through a period of rapid growth when they are 7 to 10 days old and again at 3 and 6 weeks.
|
* 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`: 128
- `per_device_eval_batch_size`: 128
- `learning_rate`: 2e-05
- `weight_decay`: 0.01
- `num_train_epochs`: 1
- `warmup_ratio`: 0.1
- `warmup_steps`: 400
- `bf16`: True
- `torch_compile`: True
- `torch_compile_backend`: inductor
- `batch_sampler`: no_duplicates
#### All Hyperparameters