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("akashmaggon/bge-base-financial-matryoshka")
# Run inference
sentences = [
'The table presents our market risk by asset category for positions accounted for at fair value or accounted for at the lower of cost or fair value, that are not included in VaR. As of December 2023, equity was at $1,562 million and debt was at $2,446 million.',
"What are the market risk values for Goldman Sachs' equity and debt positions not included in VaR as of December 2023?",
"What was the conclusion of the Company's review regarding the impact of the American Rescue Plan, the Consolidated Appropriations Act, 2021, and related tax provisions on its business for the fiscal year ended June 30, 2023?",
]
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}
}
Runs of akashmaggon bge-base-financial-matryoshka on huggingface.co
80
Total runs
3
24-hour runs
2
3-day runs
8
7-day runs
10
30-day runs
More Information About bge-base-financial-matryoshka huggingface.co Model
More bge-base-financial-matryoshka license Visit here:
bge-base-financial-matryoshka huggingface.co is an AI model on huggingface.co that provides bge-base-financial-matryoshka's model effect (), which can be used instantly with this akashmaggon bge-base-financial-matryoshka model. huggingface.co supports a free trial of the bge-base-financial-matryoshka model, and also provides paid use of the bge-base-financial-matryoshka. Support call bge-base-financial-matryoshka model through api, including Node.js, Python, http.
bge-base-financial-matryoshka huggingface.co is an online trial and call api platform, which integrates bge-base-financial-matryoshka's modeling effects, including api services, and provides a free online trial of bge-base-financial-matryoshka, you can try bge-base-financial-matryoshka online for free by clicking the link below.
akashmaggon bge-base-financial-matryoshka online free url in huggingface.co:
bge-base-financial-matryoshka is an open source model from GitHub that offers a free installation service, and any user can find bge-base-financial-matryoshka on GitHub to install. At the same time, huggingface.co provides the effect of bge-base-financial-matryoshka install, users can directly use bge-base-financial-matryoshka installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
bge-base-financial-matryoshka install url in huggingface.co: