language:-enlicense:apache-2.0library_name:sentence-transformerstags:-sentence-transformers-sentence-similarity-feature-extraction-generated_from_trainer-dataset_size:6300-loss:MatryoshkaLoss-loss:MultipleNegativesRankingLossbase_model:BAAI/bge-base-en-v1.5datasets: []
metrics:-cosine_accuracy@1-cosine_accuracy@3-cosine_accuracy@5-cosine_accuracy@10-cosine_precision@1-cosine_precision@3-cosine_precision@5-cosine_precision@10-cosine_recall@1-cosine_recall@3-cosine_recall@5-cosine_recall@10-cosine_ndcg@10-cosine_mrr@10-cosine_map@10widget:-source_sentence:>- The Gross Merchandise Sales (GMS) decreased by 1.2% in 2023 compared to 2022.sentences:-WhatspecificmattersdidtheCFPBinvestigateconcerningEquifax?->- What was the percentage decline in GMS for the year ended December 31, 2023 compared to 2022?->- What percentage of eBay's 2023 net revenues were attributed to international markets?-source_sentence:>- Asset management and administration fees vary with changes in the balances of client assets due to market fluctuations and client activity.sentences:->- Why was there a net outflow of cash in financing activities in fiscal 2022?->- How do asset management and administration fees vary at The Charles Schwab Corporation?-Whataresomekeygoalsofthecorporationrelatedtoclimatechange?-source_sentence:>- Operating profit margin was 19.3 percent in 2023, compared with 13.3 percent in 2022.sentences:-Whatwastheoperatingprofitmarginfor2023?-Howdothestudioscompeteintheentertainmentindustry?->- What types of audio products does Garmin's Fusion and JL Audio brands offer?-source_sentence:>- Subsequent to 2023, on February 12, 2024, AbbVie borrowed $5.0 billion under the term loan credit agreement.sentences:->- What percentage of U.S. dialysis patient service revenues in 2023 came from Medicare and Medicare Advantage plans?->- What is Peloton Interactive, Inc. known for in the interactive fitness industry?->- What was the purpose stated by AbbVie for borrowing $5.0 billion under the term loan credit agreement on February 12, 2024?-source_sentence:>- Chipotle retains an independent third-party compensation consultant each year to conduct a pay equity analysis of its U.S. and Canadian workforce, including factors of pay such as grade level, tenure in role, and external market conditions like geographic location, to ensure consistency and equitable treatment among employees.sentences:-HowdoesChipotleensurepayequityamongitsemployees?->- How can one locate information on legal proceedings within the Consolidated Financial Statements?->- What criteria did the independent audit use to assess the effectiveness of internal control over financial reporting at the company?pipeline_tag:sentence-similaritymodel-index:-name:BGEbaseFinancialMatryoshkaresults:-task:type:information-retrievalname:InformationRetrievaldataset:name:dim768type:dim_768metrics:-type:cosine_accuracy@1value:0.6871428571428572name:CosineAccuracy@1-type:cosine_accuracy@3value:0.8214285714285714name:CosineAccuracy@3-type:cosine_accuracy@5value:0.8585714285714285name:CosineAccuracy@5-type:cosine_accuracy@10value:0.9name:CosineAccuracy@10-type:cosine_precision@1value:0.6871428571428572name:CosinePrecision@1-type:cosine_precision@3value:0.27380952380952384name:CosinePrecision@3-type:cosine_precision@5value:0.1717142857142857name:CosinePrecision@5-type:cosine_precision@10value:0.09name:CosinePrecision@10-type:cosine_recall@1value:0.6871428571428572name:CosineRecall@1-type:cosine_recall@3value:0.8214285714285714name:CosineRecall@3-type:cosine_recall@5value:0.8585714285714285name:CosineRecall@5-type:cosine_recall@10value:0.9name:CosineRecall@10-type:cosine_ndcg@10value:0.7966931280955273name:CosineNdcg@10-type:cosine_mrr@10value:0.7633656462585031name:CosineMrr@10-type:cosine_map@10value:0.7633656462585034name:CosineMap@10-task:type:information-retrievalname:InformationRetrievaldataset:name:dim512type:dim_512metrics:-type:cosine_accuracy@1value:0.6857142857142857name:CosineAccuracy@1-type:cosine_accuracy@3value:0.82name:CosineAccuracy@3-type:cosine_accuracy@5value:0.8557142857142858name:CosineAccuracy@5-type:cosine_accuracy@10value:0.9014285714285715name:CosineAccuracy@10-type:cosine_precision@1value:0.6857142857142857name:CosinePrecision@1-type:cosine_precision@3value:0.2733333333333333name:CosinePrecision@3-type:cosine_precision@5value:0.17114285714285712name:CosinePrecision@5-type:cosine_precision@10value:0.09014285714285712name:CosinePrecision@10-type:cosine_recall@1value:0.6857142857142857name:CosineRecall@1-type:cosine_recall@3value:0.82name:CosineRecall@3-type:cosine_recall@5value:0.8557142857142858name:CosineRecall@5-type:cosine_recall@10value:0.9014285714285715name:CosineRecall@10-type:cosine_ndcg@10value:0.7951662657569053name:CosineNdcg@10-type:cosine_mrr@10value:0.761045918367347name:CosineMrr@10-type:cosine_map@10value:0.761045918367347name:CosineMap@10-task:type:information-retrievalname:InformationRetrievaldataset:name:dim256type:dim_256metrics:-type:cosine_accuracy@1value:0.6814285714285714name:CosineAccuracy@1-type:cosine_accuracy@3value:0.8171428571428572name:CosineAccuracy@3-type:cosine_accuracy@5value:0.8571428571428571name:CosineAccuracy@5-type:cosine_accuracy@10value:0.8885714285714286name:CosineAccuracy@10-type:cosine_precision@1value:0.6814285714285714name:CosinePrecision@1-type:cosine_precision@3value:0.2723809523809524name:CosinePrecision@3-type:cosine_precision@5value:0.17142857142857137name:CosinePrecision@5-type:cosine_precision@10value:0.08885714285714284name:CosinePrecision@10-type:cosine_recall@1value:0.6814285714285714name:CosineRecall@1-type:cosine_recall@3value:0.8171428571428572name:CosineRecall@3-type:cosine_recall@5value:0.8571428571428571name:CosineRecall@5-type:cosine_recall@10value:0.8885714285714286name:CosineRecall@10-type:cosine_ndcg@10value:0.7890567420578879name:CosineNdcg@10-type:cosine_mrr@10value:0.7567375283446709name:CosineMrr@10-type:cosine_map@10value:0.7567375283446711name:CosineMap@10-task:type:information-retrievalname:InformationRetrievaldataset:name:dim128type:dim_128metrics:-type:cosine_accuracy@1value:0.6571428571428571name:CosineAccuracy@1-type:cosine_accuracy@3value:0.8071428571428572name:CosineAccuracy@3-type:cosine_accuracy@5value:0.8457142857142858name:CosineAccuracy@5-type:cosine_accuracy@10value:0.8742857142857143name:CosineAccuracy@10-type:cosine_precision@1value:0.6571428571428571name:CosinePrecision@1-type:cosine_precision@3value:0.26904761904761904name:CosinePrecision@3-type:cosine_precision@5value:0.16914285714285712name:CosinePrecision@5-type:cosine_precision@10value:0.08742857142857141name:CosinePrecision@10-type:cosine_recall@1value:0.6571428571428571name:CosineRecall@1-type:cosine_recall@3value:0.8071428571428572name:CosineRecall@3-type:cosine_recall@5value:0.8457142857142858name:CosineRecall@5-type:cosine_recall@10value:0.8742857142857143name:CosineRecall@10-type:cosine_ndcg@10value:0.7723888716536037name:CosineNdcg@10-type:cosine_mrr@10value:0.7390544217687071name:CosineMrr@10-type:cosine_map@10value:0.7390544217687074name:CosineMap@10-task:type:information-retrievalname:InformationRetrievaldataset:name:dim64type:dim_64metrics:-type:cosine_accuracy@1value:0.6157142857142858name:CosineAccuracy@1-type:cosine_accuracy@3value:0.7685714285714286name:CosineAccuracy@3-type:cosine_accuracy@5value:0.8171428571428572name:CosineAccuracy@5-type:cosine_accuracy@10value:0.8557142857142858name:CosineAccuracy@10-type:cosine_precision@1value:0.6157142857142858name:CosinePrecision@1-type:cosine_precision@3value:0.2561904761904762name:CosinePrecision@3-type:cosine_precision@5value:0.1634285714285714name:CosinePrecision@5-type:cosine_precision@10value:0.08557142857142856name:CosinePrecision@10-type:cosine_recall@1value:0.6157142857142858name:CosineRecall@1-type:cosine_recall@3value:0.7685714285714286name:CosineRecall@3-type:cosine_recall@5value:0.8171428571428572name:CosineRecall@5-type:cosine_recall@10value:0.8557142857142858name:CosineRecall@10-type:cosine_ndcg@10value:0.7405386424360808name:CosineNdcg@10-type:cosine_mrr@10value:0.7031672335600904name:CosineMrr@10-type:cosine_map@10value:0.7031672335600907name:CosineMap@10
BGE base Financial Matryoshka
This is a sentence-transformers model finetuned from BAAI/bge-base-en-v1.5. It maps sentences & paragraphs to a 768-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
model = SentenceTransformer("Sailesh9999/bge-base-financial-matryoshka_3")
# Run inference
sentences = [
'Chipotle retains an independent third-party compensation consultant each year to conduct a pay equity analysis of its U.S. and Canadian workforce, including factors of pay such as grade level, tenure in role, and external market conditions like geographic location, to ensure consistency and equitable treatment among employees.',
'How does Chipotle ensure pay equity among its employees?',
'How can one locate information on legal proceedings within the Consolidated Financial Statements?',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 768]# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]
@inproceedings{reimers-2019-sentence-bert,
title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
author = "Reimers, Nils and Gurevych, Iryna",
booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
month = "11",
year = "2019",
publisher = "Association for Computational Linguistics",
url = "https://arxiv.org/abs/1908.10084",
}
MatryoshkaLoss
@misc{kusupati2024matryoshka,
title={Matryoshka Representation Learning},
author={Aditya Kusupati and Gantavya Bhatt and Aniket Rege and Matthew Wallingford and Aditya Sinha and Vivek Ramanujan and William Howard-Snyder and Kaifeng Chen and Sham Kakade and Prateek Jain and Ali Farhadi},
year={2024},
eprint={2205.13147},
archivePrefix={arXiv},
primaryClass={cs.LG}
}
MultipleNegativesRankingLoss
@misc{henderson2017efficient,
title={Efficient Natural Language Response Suggestion for Smart Reply},
author={Matthew Henderson and Rami Al-Rfou and Brian Strope and Yun-hsuan Sung and Laszlo Lukacs and Ruiqi Guo and Sanjiv Kumar and Balint Miklos and Ray Kurzweil},
year={2017},
eprint={1705.00652},
archivePrefix={arXiv},
primaryClass={cs.CL}
}