Add new SentenceTransformer model
Browse files- README.md +10 -10
- 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.
|
| 290 |
-
# [0.
|
| 291 |
-
# [0.
|
| 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.
|
| 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.
|
| 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.
|
| 529 |
-
| 2.0 | 12 | 0.
|
| 530 |
-
| 3.0 | 18 | 0.
|
| 531 |
-
| 4.0 | 24 | 0.
|
| 532 |
-
| **5.0** | **30** | **0.
|
| 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:
|
| 3 |
size 596070136
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:441c9ad57a4f568fc917d596c416bf4832dd261cbee90b1d02507ba544c66991
|
| 3 |
size 596070136
|