Sentence Similarity
sentence-transformers
Safetensors
English
bert
feature-extraction
Generated from Trainer
dataset_size:6300
loss:MatryoshkaLoss
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use Naruke/bge-base-financial-matryoshka with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Naruke/bge-base-financial-matryoshka with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Naruke/bge-base-financial-matryoshka") sentences = [ "Interest expense increased nominally by 1% from $935 million in 2022 to $944 million in 2023, and the change reflected only a small adjustment in the financial operations.", "What recent technological advancements has the company implemented in set-top box (STB) solutions?", "How much did the interest expense change from 2022 to 2023?", "What are the conditions under which AENB is restricted from making dividend distributions to TRS without OCC approval?" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!