---
tags:
- sentence-transformers
- sentence-similarity
- feature-extraction
- dense
- generated_from_trainer
- dataset_size:11180
- loss:CosineSimilarityLoss
widget:
- source_sentence: So when are they leaving? I saw the protest had smaller amounts
of protestors today as opposed to Friday and Saturday
sentences:
- Hillary's great, but center-leftists seem to do better with younger candidates.
Bill, Blair, Obama, Trudeau, and now Macron. She'll be 72 in 2020.
- . I felt very sorry for you during your meltdown on He drove you insane but,
of course, Piers is a lot smarter than you
- As a kid, my friends and I all believed that Gymkata was the most violent, bloody
movie ever made. I'm not sure who started that rumor. It was probably born out
of the frustration of 10 year olds who weren't allowed to see it for one reason
or other. Years after Gymkata was released, it became a perennial late night cable
movie, and as a result, I've been able to make up for lost time. I must have seen
scenes from this dreadful excuse for a film over a dozen times, and I can always
spot it from 1-2 seconds of screen time. However, aside from the forced coupling
of gymnastics and martial arts, the bad dubbing, the stiff dialog, and the outrageously
difficult story-line, the film has some things going for it. With all that's bad
about the movie visually, the sound is actually pretty entertaining. Never before
has a punch or kick landed with so little force and so much volume! The canned
kung-fu sounds are cheeky, but the slowed and pitched-down music, and the nearly
5 minute slow motion scene are truly weird. The chase through the city of demented,
blood-thirsty villagers isn't really tense as much as it is irritating, and there
are enough bad wigs and extras who all but look into the camera and wave to make
this train-wreck a little fun. Could it be headed for cult-classic status? Where
is MST3K when we need it?
- source_sentence: Seriously, 3 things that really get my blood boiling is hearing
about child, animal and/or elder abuse. There aint much worse than worthless fucks
who prey on those in our society who cannot defend themselves. Worthless people
deserve nothing more than a rope around the neck or life in prison at the very
least.
sentences:
- As elsewhere, we see polling places and campaign offices getting attacked by&
checks notes again& oh yeah, also republicans. Yeah, that checks out.
- Biometric ID System Said to Delay Venezuela Recall By CHRISTOPHER TOOTHAKER CARACAS,
Venezuela (AP) -- The high-tech thumbprint devices were meant to keep people from
voting more than once in the recall ballot against President Hugo Chavez. Instead,
they often wound up working fitfully - even when Chavez himself voted - contributing
to huge delays in Sunday's historic referendum...
- Assuming a republican controlled senate (likely), he will replace Alito and Thomas.
It won't necessarily move *further* to the right, but we'll be stuck with at least
5 conservative justices for the next 40 years.
- source_sentence: i should love this movie . the acting is very good and Barbara
Stanwyck is great but the the movie has always seemed very trite to me . the movie
makes working class people look low and cheap .the fact that the daughter is ashamed
of her mother and that the daughter does not rise above it has always made me
a bit uneasy . Barbara Stanwyck as the mother worships the daughter but the daughter
forgoes a mothers love to find happiness with her well to do fathers family .
i wonder how many others who have seen this film feel this way about it.again
the acting was very very good and worth watching . i really don't like the story
line . just a personal preference .thank you
sentences:
- god ..it takes me back...rolling skating at roller gardens,,,,,you cant top old
school...the beats back then were so much better...
- 'I''m glad I love my military and the 2nd amendment. #2A #Marines #tlot #USA'
- We definitely need someone better than Trump in 2024, but for now he's all we
got..
- source_sentence: That's just because his right arm is on the inside. Trump knows
there's nothing he can do to win this round, and he's okay with that. Trump is
well versed in handshake game strategy, as is Macron clearly.
sentences:
- "By Theo Burman - Live News Reporter: \n\nFormer President Donald Trump and Vice\
\ President Kamala Harris are in the final sprint to the finishing line in their\
\ race to the White House. There are 12 days until Election Day and both campaigns\
\ are working flat-out to win over voters in what is shaping up to be one of the\
\ closest presidential elections in modern history.\n\nAfter events in North Carolina\
\ and Georgia earlier this week, Trump is continuing his focus on the Sun Belt\
\ by heading to Arizona today, while Harris is hosting a rally alongside former\
\ President Barack Obama and Bruce Springsteen in Georgia.\n\nRead more: ["
- '"😂😂😂😂😂😂😂😂😂😂
Gay niggas couldn''t wait to act like bitches tonight"'
- When the regressive figure has tremendous power (such as a head of state) it's
usually not worth risking diplomatic friendship to refuse a rather small thing
such as wearing a hijab. Le Pen is making wearing a hijab a big thing to appeal
to both anti-Islam and feminism emotions, in other words, risking diplomatic friendship
to boost her own popularity. Nice move overall.
- source_sentence: Unfortunately, the angry masses demand what's not in their best
interest because of brown people
sentences:
- 'If Le Pen is perceived to be a US-puppet, wouldn''t that rub a lot of patriotic/nationalistic
voters the wrong way?
It doesn''t seem to be a problem for Trumpists that acknowledge his close ties
(sic) with Putin.'
- 'I made it 22 years. #metoo'
- 'Secondly, every major support has been leaving the boat during the campaign to
be in Macron team, thus leaving Hamon alone in an already very fragile party.
Sounds like they made quite a ripple'
pipeline_tag: sentence-similarity
library_name: sentence-transformers
metrics:
- pearson_cosine
- spearman_cosine
model-index:
- name: SentenceTransformer
results:
- task:
type: semantic-similarity
name: Semantic Similarity
dataset:
name: similarity
type: similarity
metrics:
- type: pearson_cosine
value: 0.3952284283585713
name: Pearson Cosine
- type: spearman_cosine
value: 0.41014481263817126
name: Spearman Cosine
---
# SentenceTransformer
This is a [sentence-transformers](https://www.SBERT.net) model trained. It maps sentences & paragraphs to a 1024-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
- **Maximum Sequence Length:** 512 tokens
- **Output Dimensionality:** 1024 dimensions
- **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, 'architecture': 'RobertaModel'})
(1): Pooling({'word_embedding_dimension': 1024, '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:
```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 = [
"Unfortunately, the angry masses demand what's not in their best interest because of brown people",
'I made it 22 years. #metoo',
"If Le Pen is perceived to be a US-puppet, wouldn't that rub a lot of patriotic/nationalistic voters the wrong way?\n\nIt doesn't seem to be a problem for Trumpists that acknowledge his close ties (sic) with Putin.",
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 1024]
# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities)
# tensor([[1.0000, 0.6501, 0.5940],
# [0.6501, 1.0000, 0.5664],
# [0.5940, 0.5664, 1.0000]])
```
## Evaluation
### Metrics
#### Semantic Similarity
* Dataset: `similarity`
* Evaluated with [EmbeddingSimilarityEvaluator](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.EmbeddingSimilarityEvaluator)
| Metric | Value |
|:--------------------|:-----------|
| pearson_cosine | 0.3952 |
| **spearman_cosine** | **0.4101** |
## Training Details
### Training Dataset
#### Unnamed Dataset
* Size: 11,180 training samples
* Columns: sentence_0, sentence_1, and label
* Approximate statistics based on the first 1000 samples:
| | sentence_0 | sentence_1 | label |
|:--------|:------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|:---------------------------------------------------------------|
| type | string | string | float |
| details |
We love peace, but not peace at any price. | That's totally not corrupt whatsoever. Also why the hell is a state attorney general meddling in federal government? | 0.7071067811865475 |
| Am not from America, I usually watch this show on AXN channel, I don't know why this respected channel air such sucking program in prime time slot. Creation of Hollywood's Money Bank Jerry Bruckheimer, this time he is spending a big load of cash in the small screen. In each episode a bunch of peoples having two team members travels from on country to another for a great sum of money; where the camera crews shoot their travels. I don't know who the hell gave this stupid idea for the show. It has nothing to watch for, in all episodes we see people ran like beggars, some times shouting, crying, beeping, jerky camera works..huh it's harmful to both eyes and ears. The most disgusting part in the race is the viewers finally knows each of the team members can't enjoy their race/traveling experience. Even though, to add up the ratings the producers came up with the ideas of including Gays in one shows, sucking American reality show.It's nothing to watch for, better switch to another channels.T... | Background: Last year my [41F] brother, Gabe [36M] came to visit around my bday. There is a nice restaurant my family goes to for special occasions, and since Gabe is a chef, I was excited to take him. I made a rez for me, my SO, my kids [23NB, 21F], Gabe, and my sister, Ronnie [35F]. We had a great time. It was "adults only," so my nephews [15, 13] did not come. Since I invited them, we paid; the bill was about $400.
Gabe came to visit again in Sept, only stopping for a few days (arrived Sun eve, leaving early Wed am), on his way back home across the country. Asking if he wanted to do anything while in town, he said he'd like to go to that restaurant again. When we saw Ronnie (Sunday), I told her we were going "and you are coming with us."
Monday, I took the day off to hang out with Gabe, my sis had to work, but she didn't come over when she got off at 7pm.
Tuesday she came over with my nephews around 11am, with dinner rez for 6 ppl (same as last time) at 8pm. We hung out and as th... | 0.3535533905932737 |
| I (M29) am trans. My girlfriend (F28, GF) is totally cool with it, always has been, we've been dating since college, 8 years in March.
GF's dad was abusive, so she left home at 18 and had to leave her baby sister behind.
2015, we're 24/23, in grad school, living together. GF gets some news: her dad died and, long story short, nobody can take her sister in.
We hire a lawyer to try for custody. I quit school to work fulltime so we can afford it. It takes a lot of time and work, but we get to take her home.
Fast forward to now. Kid (12, S) has school in person on Tu/Th, virtual learning the rest. Friday the 11th, while S was out walking the dog, I grabbed the hamper out of their room to do the laundry. The pocket of the hoodie they just wore to school was bunched up weird, so I checked it and pulled out a binder.
For those who don't know, a binder is usually used by trans people to flatten their chests so they can pass easier. The only other reason I could think of for someone to o... | Scores plan to leave Mormon church over its policy on same-sex couples - Gay Star News | 0.4082482904638631 |
* Loss: [CosineSimilarityLoss](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#cosinesimilarityloss) with these parameters:
```json
{
"loss_fct": "torch.nn.modules.loss.MSELoss"
}
```
### Training Hyperparameters
#### Non-Default Hyperparameters
- `eval_strategy`: steps
- `per_device_train_batch_size`: 32
- `per_device_eval_batch_size`: 32
- `fp16`: True
- `multi_dataset_batch_sampler`: round_robin
#### All Hyperparameters