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
Run this model with HF Jobs
Run uhoffmann/bge-base-financial-matryoshka on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/uhoffmann/bge-base-financial-matryoshka. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/uhoffmann/bge-base-financial-matryoshka on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use uhoffmann/bge-base-financial-matryoshka with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use uhoffmann/bge-base-financial-matryoshka with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("uhoffmann/bge-base-financial-matryoshka") sentences = [ "Mergers and acquisitions, joint ventures and strategic investments complement our internal development and enhance our partnerships to align with Visa’s priorities.", "How much did the unbilled accounts receivable amount to as of December 30, 2023?", "What was the main reason for Visa to engage in mergers and acquisitions, joint ventures, and strategic investments?", "What is the mission of Intuit?" ] 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!