---
tags:
- sentence-transformers
- sentence-similarity
- feature-extraction
- generated_from_trainer
- dataset_size:53963
- loss:CosineSimilarityLoss
base_model: TaylorAI/bge-micro-v2
widget:
- source_sentence: What’s going to happen when their tanks run out of juice half-way
up the Tora Bora mountains and there’s not a recharging point outside of Kabul?
They’ll no doubt have green ammo to defend themselves, although plastic bullets
are a non-starter, obviously.
sentences:
- Climate change is nothing more than a fabricated agenda pushed by corrupt elites,
politicians, and scientists to control the masses, gain wealth, and suppress freedom.
- Despite the alarmists' claims of global warming, temperatures have remained steady
or even dropped in many areas, proving that climate change is nothing more than
natural variability.
- The Earth's climate has always changed due to natural cycles and external factors,
and the role of human activity or CO2 emissions in driving these changes is negligible
or unsupported by evidence.
- source_sentence: I am not a climatologist, but I don’t think any of the other witnesses
are either. I do work in the related field of atomic, molecular and optical physics.
I have spent my professional life studying the interactions of visible and infrared
radiation with gases – one of the main physical phenomena behind the greenhouse
effect. I have published over 200 papers in peer reviewed scientific journals.
sentences:
- Global climate policies are costly, ineffective, and fail to address the unchecked
emissions from developing nations, rendering efforts by industrialized countries
futile and economically damaging.
- The so-called consensus on climate change relies on flawed models, manipulated
data, and a refusal to address legitimate scientific uncertainties, all to serve
a predetermined political narrative.
- Global climate policies are costly, ineffective, and fail to address the unchecked
emissions from developing nations, rendering efforts by industrialized countries
futile and economically damaging.
- source_sentence: The science of how the world’s climate works is very weak. The
models used by the UN to predict changes have enormous gaps of knowledge. There
is also very vigorous debate among scientists about whether or not levels of carbon
dioxide cause global warming or are caused by it. In other words, we do not know
if human generated carbon dioxide is significant or not. Many of us just want
to think it is.
sentences:
- Despite the alarmists' claims of global warming, temperatures have remained steady
or even dropped in many areas, proving that climate change is nothing more than
natural variability.
- Despite the alarmists' claims of global warming, temperatures have remained steady
or even dropped in many areas, proving that climate change is nothing more than
natural variability.
- Fossil fuels have powered centuries of progress, lifted billions out of poverty,
and remain the backbone of global energy, while alternatives, though promising,
cannot yet match their scale, reliability, or affordability.
- source_sentence: 'The Family. Conservatives have won the argument about the central
importance of making sure that every child grows up with a mother and father.
The next challenge is to translate this victory into a strategy for reinforcing
marriage in public policy, and for giving parents more control over the education
and upbringing of their children Faith. Conservatives are breaking down barriers
to religion in the public square by emphasizing such principles as religious freedom
and religious expression. But they haven’t yet found an effective vocabulary for
arguing that religion should take a more central place in American life. The next
challenge is to encourage greater public appreciation of the role of religion
and religious believers in healthy societies while affirming a commitment to the
separation of church and state Freedom. Conservatives have won the argument about
the importance of private voluntary associations in a free society. The next challenge
is twofold: First, to strengthen civic institutions without resorting to government
subsidies that create dependency and destroy any sense of mission; and second,
to empower citizens to reassume the primary responsibility for helping the needy
through religious, charitable, and civic institutions.'
sentences:
- Climate change is nothing more than a fabricated agenda pushed by corrupt elites,
politicians, and scientists to control the masses, gain wealth, and suppress freedom.
- The so-called consensus on climate change relies on flawed models, manipulated
data, and a refusal to address legitimate scientific uncertainties, all to serve
a predetermined political narrative.
- Climate change is nothing more than a fabricated agenda pushed by corrupt elites,
politicians, and scientists to control the masses, gain wealth, and suppress freedom.
- source_sentence: Founded by some 30 leaders of the Christian Right, the Alliance
Defending Freedom is a legal advocacy and training group that has supported the
recriminalization of sexual acts between consenting LGBTQ adults in the U.S. and
criminalization abroad; has defended state-sanctioned sterilization of trans people
abroad; has contended that LGBTQ people are more likely to engage in pedophilia;
and claims that a ‘homosexual agenda’ will destroy Christianity and society. ADF
also works to develop “religious liberty” legislation and case law that will allow
the denial of goods and services to LGBTQ people on the basis of religion. Since
the election of President Trump, ADF has become one of the most influential groups
informing the administration’s attack on LGBTQ rights.
sentences:
- Climate change is nothing more than a fabricated agenda pushed by corrupt elites,
politicians, and scientists to control the masses, gain wealth, and suppress freedom.
- Climate change is nothing more than a fabricated agenda pushed by corrupt elites,
politicians, and scientists to control the masses, gain wealth, and suppress freedom.
- Fossil fuels have powered centuries of progress, lifted billions out of poverty,
and remain the backbone of global energy, while alternatives, though promising,
cannot yet match their scale, reliability, or affordability.
pipeline_tag: sentence-similarity
library_name: sentence-transformers
---
# SentenceTransformer based on TaylorAI/bge-micro-v2
This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [TaylorAI/bge-micro-v2](https://huggingface.co/TaylorAI/bge-micro-v2). 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:** [TaylorAI/bge-micro-v2](https://huggingface.co/TaylorAI/bge-micro-v2)
- **Maximum Sequence Length:** 512 tokens
- **Output Dimensionality:** 384 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}) with Transformer model: BertModel
(1): Pooling({'word_embedding_dimension': 384, '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 = [
'Founded by some 30 leaders of the Christian Right, the Alliance Defending Freedom is a legal advocacy and training group that has supported the recriminalization of sexual acts between consenting LGBTQ adults in the U.S. and criminalization abroad; has defended state-sanctioned sterilization of trans people abroad; has contended that LGBTQ people are more likely to engage in pedophilia; and claims that a ‘homosexual agenda’ will destroy Christianity and society. ADF also works to develop “religious liberty” legislation and case law that will allow the denial of goods and services to LGBTQ people on the basis of religion. Since the election of President Trump, ADF has become one of the most influential groups informing the administration’s attack on LGBTQ rights.',
'Fossil fuels have powered centuries of progress, lifted billions out of poverty, and remain the backbone of global energy, while alternatives, though promising, cannot yet match their scale, reliability, or affordability.',
'Climate change is nothing more than a fabricated agenda pushed by corrupt elites, politicians, and scientists to control the masses, gain wealth, and suppress freedom.',
]
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: 53,963 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 |
To that end, we have been working on the Murdoch press of late, with good initial results.
| The so-called consensus on climate change relies on flawed models, manipulated data, and a refusal to address legitimate scientific uncertainties, all to serve a predetermined political narrative.
| 0.0
|
| Scientists who dare question the almost religious belief in climate change, and yes, they do exist, are ignored or undermined in news reports as are policy makers and pundits who take similar views.
| The Earth's climate has always changed due to natural cycles and external factors, and the role of human activity or CO2 emissions in driving these changes is negligible or unsupported by evidence.
| 0.0
|
| What about ‘global warming?’ What matters is the degree and rate of change. There have been times on earth when it has been much warmer than today, and times when it’s been much colder. The latter are called ice ages. One of the former is called ‘The Climate Optimum.’ It was a time of higher average global temperature and high CO2.
| The Earth's climate has always changed due to natural cycles and external factors, and the role of human activity or CO2 emissions in driving these changes is negligible or unsupported by evidence.
| 1.0
|
* 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
- `per_device_train_batch_size`: 16
- `per_device_eval_batch_size`: 16
- `num_train_epochs`: 20
- `multi_dataset_batch_sampler`: round_robin
#### All Hyperparameters