---
tags:
- sentence-transformers
- sentence-similarity
- feature-extraction
- generated_from_trainer
- dataset_size:4460010
- loss:CoSENTLoss
base_model: RomainDarous/directTwoEpoch_additivePooling_randomInit_mistranslationModel
widget:
- source_sentence: Malformed target specific variable definition
sentences:
- Hedefe özgü değişken tanımı bozuk
- Kan alle data in die gids lees
- "слава Украине! героям слава!\uFEFF"
- source_sentence: Can't write an inode bitmap
sentences:
- Skontrolujte stav aktualizácií alebo to skúste znova neskôr.
- Malsukcesis skribi i nodan bitmapon
- Zastępuje wersję GL obsługiwaną przez sterownik
- source_sentence: Optimize soft proofing color transformations
sentences:
- 'arkadaslar biz artik her an kirmizi kart yiyecek,bencil,pas yapamayan,isabetsiz
orta yapani istemiyoruz. sozde efsaneniz bu sezon Besiktasa en cok zarar verenlerden
biriydi. kendini dusunmeden once Besiktasi dusunecek adam lazim bize. o yuzden
#GoHomeQuaresma'
- Yav bizim dedikodusunu yaptığımız insanın bile bi vizyonu var. Senin hakkında
neden oturup konuşalım?
- Ik ben een transgender.
- source_sentence: 'Pass 1: Checking @is, @bs, and sizes'
sentences:
- Bu adam cidden kurabiye gibi ben bunu çayın yanında yerim
- sagnat. errada. invisible. justificació. idioma
- Wilt u echt de primaire sleutel verplaatsen? (j N)
- source_sentence: Search for matching log entries
sentences:
- quem te lembra? caralho tô assustada aqui kkkkk
- sendotasunik gabeko\ egoera bistaratuko den ala ez adierazten du
- En aquest cas, hem d'incloure les imatges del contenidor )sr iov per a càrregues
de treball de telco (per exemple, com a referència, es podrien obtenir des de
valors de helm chart)
datasets:
- RomainDarous/corrupted_os_by_language
pipeline_tag: sentence-similarity
library_name: sentence-transformers
metrics:
- pearson_cosine
- spearman_cosine
model-index:
- name: SentenceTransformer based on RomainDarous/directTwoEpoch_additivePooling_randomInit_mistranslationModel
results:
- task:
type: semantic-similarity
name: Semantic Similarity
dataset:
name: sts eval
type: sts-eval
metrics:
- type: pearson_cosine
value: 0.9720513944532697
name: Pearson Cosine
- type: spearman_cosine
value: 0.8649378232911242
name: Spearman Cosine
- task:
type: semantic-similarity
name: Semantic Similarity
dataset:
name: sts test
type: sts-test
metrics:
- type: pearson_cosine
value: 0.9721669755882643
name: Pearson Cosine
- type: spearman_cosine
value: 0.8649626499817039
name: Spearman Cosine
---
# SentenceTransformer based on RomainDarous/directTwoEpoch_additivePooling_randomInit_mistranslationModel
This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [RomainDarous/directTwoEpoch_additivePooling_randomInit_mistranslationModel](https://huggingface.co/RomainDarous/directTwoEpoch_additivePooling_randomInit_mistranslationModel) on the [corrupted_open_os_by_language](https://huggingface.co/datasets/RomainDarous/corrupted_os_by_language) dataset. It maps sentences & paragraphs to a 512-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:** [RomainDarous/directTwoEpoch_additivePooling_randomInit_mistranslationModel](https://huggingface.co/RomainDarous/directTwoEpoch_additivePooling_randomInit_mistranslationModel)
- **Maximum Sequence Length:** 128 tokens
- **Output Dimensionality:** 512 dimensions
- **Similarity Function:** Cosine Similarity
- **Training Dataset:**
- [corrupted_open_os_by_language](https://huggingface.co/datasets/RomainDarous/corrupted_os_by_language)
### 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': 128, 'do_lower_case': False}) with Transformer model: DistilBertModel
(1): MultiHeadGeneralizedPooling(
(P): ModuleList(
(0-7): 8 x Linear(in_features=768, out_features=96, bias=True)
)
(W1): ModuleList(
(0-7): 8 x Linear(in_features=96, out_features=384, bias=True)
)
(W2): ModuleList(
(0-7): 8 x Linear(in_features=384, out_features=96, bias=True)
)
)
(2): Dense({'in_features': 768, 'out_features': 512, 'bias': True, 'activation_function': 'torch.nn.modules.activation.Tanh'})
)
```
## 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("RomainDarous/directThreeEpoch_additivePooling_randomInit_mistranslationModel")
# Run inference
sentences = [
'Search for matching log entries',
'quem te lembra? caralho tô assustada aqui kkkkk',
'sendotasunik gabeko\\ egoera bistaratuko den ala ez adierazten du',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 512]
# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]
```
## Evaluation
### Metrics
#### Semantic Similarity
* Datasets: `sts-eval` and `sts-test`
* Evaluated with [EmbeddingSimilarityEvaluator
](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.EmbeddingSimilarityEvaluator)
| Metric | sts-eval | sts-test |
|:--------------------|:-----------|:----------|
| pearson_cosine | 0.9721 | 0.9722 |
| **spearman_cosine** | **0.8649** | **0.865** |
## Training Details
### Training Dataset
#### corrupted_open_os_by_language
* Dataset: [corrupted_open_os_by_language](https://huggingface.co/datasets/RomainDarous/corrupted_os_by_language) at [9d25780](https://huggingface.co/datasets/RomainDarous/corrupted_os_by_language/tree/9d25780e2032b1e8f06af6a4ff55124d7a930c3c)
* Size: 4,460,010 training samples
* Columns: sentence1
, sentence2
, and score
* Approximate statistics based on the first 1000 samples:
| | sentence1 | sentence2 | score |
|:--------|:-----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:------------------------------------------------|
| type | string | string | int |
| details |
Check spelling. Print the document. Show completion window. General. Show help
| Kontrolli õigekirja. присоединяюсь.
| 0
|
| EXIF not supported for this file format.
| Šiam failo formatui EXIF nepalaikomas.
| 1
|
| This package includes the documentation for texlive everyhook
| Paket ini menyertakan dokumentasi untuk texlive everyhook
| 1
|
* Loss: [CoSENTLoss
](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#cosentloss) with these parameters:
```json
{
"scale": 20.0,
"similarity_fct": "pairwise_cos_sim"
}
```
### Evaluation Dataset
#### corrupted_open_os_by_language
* Dataset: [corrupted_open_os_by_language](https://huggingface.co/datasets/RomainDarous/corrupted_os_by_language) at [9d25780](https://huggingface.co/datasets/RomainDarous/corrupted_os_by_language/tree/9d25780e2032b1e8f06af6a4ff55124d7a930c3c)
* Size: 4,460,010 evaluation samples
* Columns: sentence1
, sentence2
, and score
* Approximate statistics based on the first 1000 samples:
| | sentence1 | sentence2 | score |
|:--------|:-----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:------------------------------------------------|
| type | string | string | int |
| details | Could not identify the current seat.
| 天天花着男人的钱还这这创造新词汇男权你可真牛批,你也就这一出了一问男权,就说是我是吧,到现在我也没听到你给我们讲的男权,你也就是在网上喷喷,现实走道都不敢探头自卑,你现实要把你女权的劲拿出来总低啥头,您老应该去国家教育局把男权加上是吧,你们女权天天说自己生活不好没地位,给你们地位了你们能干啥?用你们的女权打到全世界男性是吧,能相出男权这一词您老也是人才呀,是不是庆幸自己是个女的,活在自己想想的世界里不觉得孤单吗,假象有男权是吧,自己假象和男权还说自己不是田园女权,田园女权能连自己都骂说自己妈是驴爸是大鼎的也是奇葩呀,那我们国家大肆宣扬过你们这么田园女权吗,国家要的是女性人群自主自理,你们可好看看你们女权干的啥事,给你们女权地位高了,看看你们女权干的事n绿地集团高管怎么都不说呀,人家可是有钱有地位,也不是我们说三从四德洗衣做饭你们女权会吗?,那我问问你们女权干过啥惊天大事,还甩锅给孔子,还封建社会,那我问问你们女权在福利面前为啥说自己是女性呀不是社会主义社会吗不应该男女平等吗,天天自己也不知道是不是抱个手机天天欧巴欧巴,你家那位要是不陪你看一会就会问你是不是不爱我了是吧大姐,您老也就赚这白菜钱操心国家事,中国五千年的历史被您老一句否决,还嘲讽人家日本女性,好意思说自己不是女权,三从四德流传这么久到您这变成日本文化了,我就想问问男权您老是怎么想的,那你问孔子老人家呗为什么女人要三从四德,我说的是女权你干嘛自己对号入座,连中华人民传承的东西都不认跟我这谈男权,还男权您老给我举个例子呗,让我们男权听听都是h啥,这些不都是你们女权的标准吗?,还男权,您老醒醒吧这里是现实,不是你的公主世界,总觉得自己多么多么重要,地球没你是不能转了还是人类要灭亡呀,我真的想问一句你给我找一条男权的新闻,咋了我们男人不能提女权呗你老授权了呗,那我们谈论田园女权你老对号入座干嘛,天天过节要礼物,还嫌弃自己男朋友没有钱,我寻思你找个有钱人包养你呗,对了有钱人怎么可能看上你这种女权的呢,还要孩子跟女方姓我也没看见你没跟你妈姓呀,年年过节男人给你们送礼物你们女人给男人送过礼物吗?,一问我不是陪着他吗我对他说我爱你了这不是最好的礼物吗?,男人只要不送礼物就是不爱你们了呗,人家国际女权讲的男人能做的我们女人也能做,田园女权男人能做的我们女人为啥要做,还男权我笑了,以前结婚几头牛换个衣服原装的,现在几十万彩...
| 0
|
| Undoing Date and Time Adjustment
| 正在取消日期和时间调整
| 1
|
| Dependency package for gsl_2_6 gnu hpc
| Pacotes de desenvolvimento do KDE
| 1
|
* Loss: [CoSENTLoss
](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#cosentloss) with these parameters:
```json
{
"scale": 20.0,
"similarity_fct": "pairwise_cos_sim"
}
```
### Training Hyperparameters
#### Non-Default Hyperparameters
- `eval_strategy`: steps
- `per_device_train_batch_size`: 64
- `per_device_eval_batch_size`: 64
- `num_train_epochs`: 1
- `warmup_ratio`: 0.1
#### All Hyperparameters