Sentence Similarity
sentence-transformers
Safetensors
English
bert
biencoder
text-classification
sentence-pair-classification
semantic-similarity
semantic-search
retrieval
reranking
Generated from Trainer
dataset_size:9233417
loss:ArcFaceInBatchLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use redis/langcache-embed-experimental with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use redis/langcache-embed-experimental with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("redis/langcache-embed-experimental") sentences = [ "Hayley Vaughan portrayed Ripa on the ABC daytime soap opera , `` All My Children `` , between 1990 and 2002 .", "Traxxpad is a music application for Sony 's PlayStation Portable published by Definitive Studios and developed by Eidos Interactive .", "Between 1990 and 2002 , Hayley Vaughan Ripa portrayed in the ABC soap opera `` All My Children `` .", "Between 1990 and 2002 , Ripa Hayley portrayed Vaughan in the ABC soap opera `` All My Children `` ." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Training in progress, step 100
Browse files
eval/Information-Retrieval_evaluation_test_predictions_cosine.jsonl
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:938b40e54161a3c7c04e5b4d282fc98b49c792d337597520371ce9274e01d65f
|
| 3 |
+
size 128157081
|
eval/Information-Retrieval_evaluation_test_results.csv
CHANGED
|
@@ -1,2 +1,3 @@
|
|
| 1 |
epoch,steps,cosine-Accuracy@1,cosine-Precision@1,cosine-Recall@1,cosine-MRR@1,cosine-NDCG@10,cosine-MAP@100
|
| 2 |
17.24137931034483,500,0.5699702711415165,0.5699702711415165,0.5519853938202554,0.5699702711415165,0.7637683379363669,0.7105144455395619
|
|
|
|
|
|
| 1 |
epoch,steps,cosine-Accuracy@1,cosine-Precision@1,cosine-Recall@1,cosine-MRR@1,cosine-NDCG@10,cosine-MAP@100
|
| 2 |
17.24137931034483,500,0.5699702711415165,0.5699702711415165,0.5519853938202554,0.5699702711415165,0.7637683379363669,0.7105144455395619
|
| 3 |
+
3.4482758620689653,100,0.5869121386869157,0.5869121386869157,0.5685177433552197,0.5869121386869157,0.7733536055784392,0.7221034191554035,{1: 0.18562398850917816},{1: -2.1555538177490234},{1: -2.1547982692718506},{1: np.float64(-0.358434634839778)},{1: np.float64(0.14946837066081042)}
|
initial_metrics.json
CHANGED
|
@@ -4,5 +4,10 @@
|
|
| 4 |
"test_cosine_recall@1": 0.5679885764966713,
|
| 5 |
"test_cosine_ndcg@10": 0.7729838064849864,
|
| 6 |
"test_cosine_mrr@1": 0.5861241448475948,
|
| 7 |
-
"test_cosine_map@100": 0.7216697804426214
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
}
|
|
|
|
| 4 |
"test_cosine_recall@1": 0.5679885764966713,
|
| 5 |
"test_cosine_ndcg@10": 0.7729838064849864,
|
| 6 |
"test_cosine_mrr@1": 0.5861241448475948,
|
| 7 |
+
"test_cosine_map@100": 0.7216697804426214,
|
| 8 |
+
"test_cosine_auc_precision_cache_hit_ratio": -0.3575434494855893,
|
| 9 |
+
"test_cosine_auc_similarity_distribution": 0.15252445696542008,
|
| 10 |
+
"test_cosine_l_alignment": 0.18502962589263916,
|
| 11 |
+
"test_cosine_l_uniform_query_side": -2.143669366836548,
|
| 12 |
+
"test_cosine_l_uniform_doc_side": -2.1428864002227783
|
| 13 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 298041696
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f6b93d86c2d1b0eeb81825b5aa8a2eab7967e27c2df47b3f7bba9fd4e71f61ea
|
| 3 |
size 298041696
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 6289
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1834f0f401825c1ebf001421d0bcfd046abbf267efc072ca889bf02f96584a6d
|
| 3 |
size 6289
|