aditeyabaral-redis commited on
Commit
a49cb99
·
verified ·
1 Parent(s): c6dcbbf

Add new SentenceTransformer model

Browse files
Files changed (2) hide show
  1. README.md +27 -4
  2. model.safetensors +1 -1
README.md CHANGED
@@ -13,7 +13,7 @@ tags:
13
  - reranking
14
  - generated_from_trainer
15
  - dataset_size:1056095
16
- - loss:SoftmaxLoss
17
  base_model: Alibaba-NLP/gte-modernbert-base
18
  widget:
19
  - source_sentence: In 2015 Adolf Hitler appeared in the kickstarter short movie ``
@@ -282,7 +282,13 @@ You can finetune this model on your own dataset.
282
  | <code>The newer Punts are still very much in existence today and race in the same fleets as the older boats .</code> | <code>The newer punts are still very much in existence today and run in the same fleets as the older boats .</code> | <code>1</code> |
283
  | <code>Turner Valley , was at the Turner Valley Bar N Ranch Airport , southwest of the Turner Valley Bar N Ranch , Alberta , Canada .</code> | <code>Turner Valley Bar N Ranch Airport , , was located at Turner Valley Bar N Ranch , southwest of Turner Valley , Alberta , Canada .</code> | <code>0</code> |
284
  | <code>After losing his second election , he resigned as opposition leader and was replaced by Geoff Pearsall .</code> | <code>Max Bingham resigned as opposition leader after losing his second election , and was replaced by Geoff Pearsall .</code> | <code>1</code> |
285
- * Loss: [<code>SoftmaxLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#softmaxloss)
 
 
 
 
 
 
286
 
287
  ### Evaluation Dataset
288
 
@@ -302,7 +308,13 @@ You can finetune this model on your own dataset.
302
  | <code>The newer Punts are still very much in existence today and race in the same fleets as the older boats .</code> | <code>The newer punts are still very much in existence today and run in the same fleets as the older boats .</code> | <code>1</code> |
303
  | <code>Turner Valley , was at the Turner Valley Bar N Ranch Airport , southwest of the Turner Valley Bar N Ranch , Alberta , Canada .</code> | <code>Turner Valley Bar N Ranch Airport , , was located at Turner Valley Bar N Ranch , southwest of Turner Valley , Alberta , Canada .</code> | <code>0</code> |
304
  | <code>After losing his second election , he resigned as opposition leader and was replaced by Geoff Pearsall .</code> | <code>Max Bingham resigned as opposition leader after losing his second election , and was replaced by Geoff Pearsall .</code> | <code>1</code> |
305
- * Loss: [<code>SoftmaxLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#softmaxloss)
 
 
 
 
 
 
306
 
307
  ### Training Logs
308
  | Epoch | Step | val_cosine_ap | test_cosine_ap |
@@ -323,7 +335,7 @@ You can finetune this model on your own dataset.
323
 
324
  ### BibTeX
325
 
326
- #### Sentence Transformers and SoftmaxLoss
327
  ```bibtex
328
  @inproceedings{reimers-2019-sentence-bert,
329
  title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
@@ -336,6 +348,17 @@ You can finetune this model on your own dataset.
336
  }
337
  ```
338
 
 
 
 
 
 
 
 
 
 
 
 
339
  <!--
340
  ## Glossary
341
 
 
13
  - reranking
14
  - generated_from_trainer
15
  - dataset_size:1056095
16
+ - loss:CoSENTLoss
17
  base_model: Alibaba-NLP/gte-modernbert-base
18
  widget:
19
  - source_sentence: In 2015 Adolf Hitler appeared in the kickstarter short movie ``
 
282
  | <code>The newer Punts are still very much in existence today and race in the same fleets as the older boats .</code> | <code>The newer punts are still very much in existence today and run in the same fleets as the older boats .</code> | <code>1</code> |
283
  | <code>Turner Valley , was at the Turner Valley Bar N Ranch Airport , southwest of the Turner Valley Bar N Ranch , Alberta , Canada .</code> | <code>Turner Valley Bar N Ranch Airport , , was located at Turner Valley Bar N Ranch , southwest of Turner Valley , Alberta , Canada .</code> | <code>0</code> |
284
  | <code>After losing his second election , he resigned as opposition leader and was replaced by Geoff Pearsall .</code> | <code>Max Bingham resigned as opposition leader after losing his second election , and was replaced by Geoff Pearsall .</code> | <code>1</code> |
285
+ * Loss: [<code>CoSENTLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#cosentloss) with these parameters:
286
+ ```json
287
+ {
288
+ "scale": 20.0,
289
+ "similarity_fct": "pairwise_cos_sim"
290
+ }
291
+ ```
292
 
293
  ### Evaluation Dataset
294
 
 
308
  | <code>The newer Punts are still very much in existence today and race in the same fleets as the older boats .</code> | <code>The newer punts are still very much in existence today and run in the same fleets as the older boats .</code> | <code>1</code> |
309
  | <code>Turner Valley , was at the Turner Valley Bar N Ranch Airport , southwest of the Turner Valley Bar N Ranch , Alberta , Canada .</code> | <code>Turner Valley Bar N Ranch Airport , , was located at Turner Valley Bar N Ranch , southwest of Turner Valley , Alberta , Canada .</code> | <code>0</code> |
310
  | <code>After losing his second election , he resigned as opposition leader and was replaced by Geoff Pearsall .</code> | <code>Max Bingham resigned as opposition leader after losing his second election , and was replaced by Geoff Pearsall .</code> | <code>1</code> |
311
+ * Loss: [<code>CoSENTLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#cosentloss) with these parameters:
312
+ ```json
313
+ {
314
+ "scale": 20.0,
315
+ "similarity_fct": "pairwise_cos_sim"
316
+ }
317
+ ```
318
 
319
  ### Training Logs
320
  | Epoch | Step | val_cosine_ap | test_cosine_ap |
 
335
 
336
  ### BibTeX
337
 
338
+ #### Sentence Transformers
339
  ```bibtex
340
  @inproceedings{reimers-2019-sentence-bert,
341
  title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
 
348
  }
349
  ```
350
 
351
+ #### CoSENTLoss
352
+ ```bibtex
353
+ @online{kexuefm-8847,
354
+ title={CoSENT: A more efficient sentence vector scheme than Sentence-BERT},
355
+ author={Su Jianlin},
356
+ year={2022},
357
+ month={Jan},
358
+ url={https://kexue.fm/archives/8847},
359
+ }
360
+ ```
361
+
362
  <!--
363
  ## Glossary
364
 
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e414ec2ae07d178c7a46b690ced41e7aff90dc690c0d486282aac74a77d521f7
3
  size 596070136
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f9247027e7d57e8b36440b5b3d10a785ded92c7c9f4a313ff7f54a549967290
3
  size 596070136