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 dustyatx/bge-base-financial-matryoshka with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use dustyatx/bge-base-financial-matryoshka with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("dustyatx/bge-base-financial-matryoshka") sentences = [ "Total net additions to property and equipment for AWS in 2023 amounted to $24,843 million.", "What technological feature helps protect digital transactions in the Visa Token Service?", "What was the total net addition to property and equipment for AWS in the year 2023?", "By what proportion did net cash used in financing activities increase from 2022 to 2023?" ] 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!