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 SMARTICT/bge-base-financial-matryoshka with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use SMARTICT/bge-base-financial-matryoshka with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("SMARTICT/bge-base-financial-matryoshka") sentences = [ "Item 8 includes Financial Statements and Supplementary Data.", "What does the FDA label update for Yescarta include as of the latest approval?", "What information can be found in Item 8 of a document?", "When does the Company's fiscal year end?" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
File too large to display, you can check the raw version instead.