This is a
sentence-transformers
model finetuned from
BAAI/bge-base-en-v1.5
on the json dataset. 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("SMARTICT/bge-base-financial-matryoshka")
# Run inference
sentences = [
'As of December 31, 2023, approximately $1.80 billion is available to be repatriated from Mainland China to the U.S.',
'What is the total amount of unrestricted cash available for repatriation from Mainland China to the U.S. as of the end of 2023?',
"What is the focus of the company's research and development efforts?",
]
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]
Evaluation
Metrics
Information Retrieval
Datasets:
dim_768
,
dim_512
,
dim_256
,
dim_128
and
dim_64
@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 SMARTICT bge-base-financial-matryoshka on huggingface.co
108
Total runs
2
24-hour runs
22
3-day runs
6
7-day runs
21
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 SMARTICT 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.
SMARTICT 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: