dnth commited on
Commit
9e6387d
·
verified ·
1 Parent(s): bdcfbcf

Add new SentenceTransformer model

Browse files
Files changed (2) hide show
  1. README.md +10 -10
  2. model.safetensors +1 -1
README.md CHANGED
@@ -286,9 +286,9 @@ print(embeddings.shape)
286
  # Get the similarity scores for the embeddings
287
  similarities = model.similarity(embeddings, embeddings)
288
  print(similarities)
289
- # tensor([[1.0000, 0.9020, 0.5829],
290
- # [0.9020, 1.0000, 0.6243],
291
- # [0.5829, 0.6243, 1.0000]])
292
  ```
293
 
294
  <!--
@@ -393,7 +393,7 @@ You can finetune this model on your own dataset.
393
  - `learning_rate`: 2e-05
394
  - `num_train_epochs`: 5
395
  - `lr_scheduler_type`: cosine
396
- - `warmup_ratio`: 0.1
397
  - `bf16`: True
398
  - `tf32`: True
399
  - `load_best_model_at_end`: True
@@ -423,7 +423,7 @@ You can finetune this model on your own dataset.
423
  - `max_steps`: -1
424
  - `lr_scheduler_type`: cosine
425
  - `lr_scheduler_kwargs`: {}
426
- - `warmup_ratio`: 0.1
427
  - `warmup_steps`: 0
428
  - `log_level`: passive
429
  - `log_level_replica`: warning
@@ -525,11 +525,11 @@ You can finetune this model on your own dataset.
525
  ### Training Logs
526
  | Epoch | Step | Training Loss | Validation Loss |
527
  |:-------:|:------:|:-------------:|:---------------:|
528
- | 1.0 | 6 | 0.1654 | 0.0145 |
529
- | 2.0 | 12 | 0.0099 | 0.0039 |
530
- | 3.0 | 18 | 0.0055 | 0.0026 |
531
- | 4.0 | 24 | 0.0046 | 0.0022 |
532
- | **5.0** | **30** | **0.0042** | **0.0022** |
533
 
534
  * The bold row denotes the saved checkpoint.
535
 
 
286
  # Get the similarity scores for the embeddings
287
  similarities = model.similarity(embeddings, embeddings)
288
  print(similarities)
289
+ # tensor([[1.0000, 0.9031, 0.5886],
290
+ # [0.9031, 1.0000, 0.6318],
291
+ # [0.5886, 0.6318, 1.0000]])
292
  ```
293
 
294
  <!--
 
393
  - `learning_rate`: 2e-05
394
  - `num_train_epochs`: 5
395
  - `lr_scheduler_type`: cosine
396
+ - `warmup_ratio`: 0.2
397
  - `bf16`: True
398
  - `tf32`: True
399
  - `load_best_model_at_end`: True
 
423
  - `max_steps`: -1
424
  - `lr_scheduler_type`: cosine
425
  - `lr_scheduler_kwargs`: {}
426
+ - `warmup_ratio`: 0.2
427
  - `warmup_steps`: 0
428
  - `log_level`: passive
429
  - `log_level_replica`: warning
 
525
  ### Training Logs
526
  | Epoch | Step | Training Loss | Validation Loss |
527
  |:-------:|:------:|:-------------:|:---------------:|
528
+ | 1.0 | 6 | 0.1973 | 0.0280 |
529
+ | 2.0 | 12 | 0.0151 | 0.0046 |
530
+ | 3.0 | 18 | 0.0061 | 0.0030 |
531
+ | 4.0 | 24 | 0.0049 | 0.0025 |
532
+ | **5.0** | **30** | **0.0045** | **0.0024** |
533
 
534
  * The bold row denotes the saved checkpoint.
535
 
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:220dd60bcc9208c6d7e5f0f926c27bef36e6ff2bd8f0cf26a1414ce3ded20381
3
  size 596070136
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:441c9ad57a4f568fc917d596c416bf4832dd261cbee90b1d02507ba544c66991
3
  size 596070136