Sentence Similarity
sentence-transformers
Safetensors
t5
feature-extraction
Generated from Trainer
dataset_size:3560
loss:MultipleNegativesRankingLoss
loss:CosineSimilarityLoss
custom_code
Eval Results (legacy)
Instructions to use Bharatdeep-H/pq_cache_2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Bharatdeep-H/pq_cache_2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Bharatdeep-H/pq_cache_2", trust_remote_code=True) sentences = [ "show my best performing investments over the past 5 years", "show my holdings that have performed well over the past 5 years", "Show me the geographic distribution of my investments\n", "Can you break down my exposure to X?" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
File size: 3,005 Bytes
53cdae8 | 1 2 3 4 5 6 7 8 9 10 11 12 | epoch,steps,cosine-Accuracy@1,cosine-Accuracy@3,cosine-Accuracy@5,cosine-Accuracy@10,cosine-Precision@1,cosine-Recall@1,cosine-Precision@3,cosine-Recall@3,cosine-Precision@5,cosine-Recall@5,cosine-Precision@10,cosine-Recall@10,cosine-MRR@10,cosine-NDCG@10,cosine-MAP@100
1.0,112,0.8117977528089888,0.9438202247191011,0.9691011235955056,0.9915730337078652,0.8117977528089888,0.8117977528089888,0.3146067415730337,0.9438202247191011,0.1938202247191011,0.9691011235955056,0.09915730337078651,0.9915730337078652,0.8809847066167289,0.908362620694843,0.8812988431668206
2.0,224,0.8202247191011236,0.9550561797752809,0.9775280898876404,0.9971910112359551,0.8202247191011236,0.8202247191011236,0.31835205992509363,0.9550561797752809,0.19550561797752802,0.9775280898876404,0.0997191011235955,0.9971910112359551,0.8901128054217939,0.9168041485438205,0.8902005863206706
3.0,336,0.8426966292134831,0.9691011235955056,0.9803370786516854,0.9971910112359551,0.8426966292134831,0.8426966292134831,0.32303370786516855,0.9691011235955056,0.19606741573033704,0.9803370786516854,0.0997191011235955,0.9971910112359551,0.9064450686641695,0.9292298565108261,0.9065788300338862
4.0,448,0.8567415730337079,0.9691011235955056,0.9887640449438202,1.0,0.8567415730337079,0.8567415730337079,0.32303370786516855,0.9691011235955056,0.19775280898876402,0.9887640449438202,0.09999999999999998,1.0,0.9143682004637059,0.9358050042801941,0.9143682004637061
5.0,560,0.8595505617977528,0.9775280898876404,0.9915730337078652,1.0,0.8595505617977528,0.8595505617977528,0.3258426966292135,0.9775280898876404,0.19831460674157303,0.9915730337078652,0.09999999999999998,1.0,0.9182539682539682,0.9388615294339214,0.9182539682539682
6.0,672,0.8623595505617978,0.9803370786516854,0.9943820224719101,1.0,0.8623595505617978,0.8623595505617978,0.3267790262172285,0.9803370786516854,0.198876404494382,0.9943820224719101,0.09999999999999998,1.0,0.9213561173533081,0.9412640955947462,0.9213561173533084
7.0,784,0.8679775280898876,0.9803370786516854,0.9971910112359551,1.0,0.8679775280898876,0.8679775280898876,0.3267790262172285,0.9803370786516854,0.199438202247191,0.9971910112359551,0.09999999999999998,1.0,0.9245318352059924,0.9436930439507853,0.9245318352059925
8.0,896,0.8679775280898876,0.9859550561797753,0.9971910112359551,1.0,0.8679775280898876,0.8679775280898876,0.32865168539325845,0.9859550561797753,0.199438202247191,0.9971910112359551,0.09999999999999998,1.0,0.926825842696629,0.9455551433807972,0.9268258426966292
9.0,1008,0.8735955056179775,0.9915730337078652,0.9971910112359551,1.0,0.8735955056179775,0.8735955056179775,0.33052434456928836,0.9915730337078652,0.199438202247191,0.9971910112359551,0.09999999999999998,1.0,0.9297752808988763,0.9477733494874759,0.9297752808988764
10.0,1120,0.8735955056179775,0.9915730337078652,0.9971910112359551,1.0,0.8735955056179775,0.8735955056179775,0.33052434456928836,0.9915730337078652,0.199438202247191,0.9971910112359551,0.09999999999999998,1.0,0.9297752808988763,0.9477733494874759,0.9297752808988764
|