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("philschmid/bge-base-financial-matryoshka")
# Run inference
sentences = [
"What was Gilead's total revenue in 2023?",
'What was the total revenue for the year ended December 31, 2023?',
'How much was the impairment related to the CAT loan receivable in 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]
Approximate statistics based on the first 1000 samples:
positive
anchor
type
string
string
details
min: 10 tokens
mean: 46.11 tokens
max: 289 tokens
min: 7 tokens
mean: 20.26 tokens
max: 43 tokens
Samples:
positive
anchor
Fiscal 2023 total gross profit margin of 35.1% represents an increase of 1.7 percentage points as compared to the respective prior year period.
What was the total gross profit margin for Hewlett Packard Enterprise in fiscal 2023?
Noninterest expense increased to $65.8 billion in 2023, primarily due to higher investments in people and technology and higher FDIC expense, including $2.1 billion for the estimated special assessment amount arising from the closure of Silicon Valley Bank and Signature Bank.
What was the total noninterest expense for the company in 2023?
As of May 31, 2022, FedEx Office had approximately 12,000 employees.
How many employees did FedEx Office have as of May 31, 2023?
@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 philschmid bge-base-financial-matryoshka on huggingface.co
4.2K
Total runs
69
24-hour runs
507
3-day runs
394
7-day runs
1.9K
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 philschmid 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.
philschmid 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: