TextModel commited on
Commit
4aeda51
·
verified ·
1 Parent(s): cd81c08

Add new SentenceTransformer model

Browse files
2_Dense/model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:50eeab9116dd480e7069c8739e7b6c7341b637b0ccc40c98048f4472f5d6dd4e
3
  size 9437272
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40f331c2603bda06f657724933d4c711631c2a4392e2122f0d920541294c9395
3
  size 9437272
3_Dense/model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2c6af6516d363fd9595260eb759565025535c3c274da8440f3dcf1c924cbf7d0
3
  size 9437272
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:718292baef0b71b616f91a337e18bebe8a6c95cfcc0bd2122e47a1ccf6010dbe
3
  size 9437272
README.md CHANGED
@@ -157,7 +157,7 @@ model-index:
157
  type: val
158
  metrics:
159
  - type: cosine_accuracy
160
- value: 0.9608802199363708
161
  name: Cosine Accuracy
162
  - task:
163
  type: triplet
@@ -167,7 +167,7 @@ model-index:
167
  type: test
168
  metrics:
169
  - type: cosine_accuracy
170
- value: 0.9560975432395935
171
  name: Cosine Accuracy
172
  ---
173
 
@@ -238,7 +238,7 @@ print(query_embeddings.shape, document_embeddings.shape)
238
  # Get the similarity scores for the embeddings
239
  similarities = model.similarity(query_embeddings, document_embeddings)
240
  print(similarities)
241
- # tensor([[ 0.5937, -0.0470, 0.0099]])
242
  ```
243
 
244
  <!--
@@ -274,9 +274,9 @@ You can finetune this model on your own dataset.
274
  * Datasets: `val` and `test`
275
  * Evaluated with [<code>TripletEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.TripletEvaluator)
276
 
277
- | Metric | val | test |
278
- |:--------------------|:-----------|:-----------|
279
- | **cosine_accuracy** | **0.9609** | **0.9561** |
280
 
281
  <!--
282
  ## Bias, Risks and Limitations
@@ -466,14 +466,14 @@ You can finetune this model on your own dataset.
466
  </details>
467
 
468
  ### Training Logs
469
- | Epoch | Step | Training Loss | Validation Loss | val_cosine_accuracy | test_cosine_accuracy |
470
- |:-------:|:-------:|:-------------:|:---------------:|:-------------------:|:--------------------:|
471
- | -1 | -1 | - | - | 0.9218 | 0.9000 |
472
- | 1.0 | 63 | 0.3562 | 0.2100 | 0.9584 | - |
473
- | 2.0 | 126 | 0.1233 | 0.2214 | 0.9462 | - |
474
- | **3.0** | **189** | **0.0562** | **0.2024** | **0.9609** | **-** |
475
- | 4.0 | 252 | 0.0221 | 0.1882 | 0.9560 | - |
476
- | -1 | -1 | - | - | 0.9609 | 0.9561 |
477
 
478
  * The bold row denotes the saved checkpoint.
479
 
 
157
  type: val
158
  metrics:
159
  - type: cosine_accuracy
160
+ value: 0.955990195274353
161
  name: Cosine Accuracy
162
  - task:
163
  type: triplet
 
167
  type: test
168
  metrics:
169
  - type: cosine_accuracy
170
+ value: 0.9463414549827576
171
  name: Cosine Accuracy
172
  ---
173
 
 
238
  # Get the similarity scores for the embeddings
239
  similarities = model.similarity(query_embeddings, document_embeddings)
240
  print(similarities)
241
+ # tensor([[0.5019, 0.0209, 0.1242]])
242
  ```
243
 
244
  <!--
 
274
  * Datasets: `val` and `test`
275
  * Evaluated with [<code>TripletEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.TripletEvaluator)
276
 
277
+ | Metric | val | test |
278
+ |:--------------------|:----------|:-----------|
279
+ | **cosine_accuracy** | **0.956** | **0.9463** |
280
 
281
  <!--
282
  ## Bias, Risks and Limitations
 
466
  </details>
467
 
468
  ### Training Logs
469
+ | Epoch | Step | Training Loss | Validation Loss | val_cosine_accuracy | test_cosine_accuracy |
470
+ |:-------:|:------:|:-------------:|:---------------:|:-------------------:|:--------------------:|
471
+ | -1 | -1 | - | - | 0.9218 | 0.9000 |
472
+ | **1.0** | **63** | **0.3512** | **0.2035** | **0.956** | **-** |
473
+ | 2.0 | 126 | 0.1278 | 0.1983 | 0.9535 | - |
474
+ | 3.0 | 189 | 0.0503 | 0.1823 | 0.9462 | - |
475
+ | 4.0 | 252 | 0.0221 | 0.1846 | 0.9487 | - |
476
+ | -1 | -1 | - | - | 0.9560 | 0.9463 |
477
 
478
  * The bold row denotes the saved checkpoint.
479
 
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f240706a64a63615cc1b973d38519a22a0c9dadd1f6b4132f468f49a946f120a
3
  size 1211486072
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:946c64263dd5050a8378e993564759975e4f0a6d41c99645609058e8ca5f9d75
3
  size 1211486072