Sentence Similarity
sentence-transformers
ONNX
Safetensors
modernbert
feature-extraction
dense
Generated from Trainer
dataset_size:606
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use vllm-sr/mmbert-embed-finance with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use vllm-sr/mmbert-embed-finance with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("vllm-sr/mmbert-embed-finance") sentences = [ "What might be contained in Item 8 of a financial document?", "What amount was authorized for future share repurchases by the company as of October 31, 2023?\n\nAnswer: $1.0 billion", "What information is contained in Item 8 of a financial document?\n\nAnswer: Item 8 contains the Financial Statements and Supplementary Data.", "What might be contained in Item 8 of a financial document?\n\nAnswer: Financial Statements and Supplementary Data" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Commit History
24 days ago
-
Update Hugging Face org references: llm-semantic-router → vllm-sr
Verified signaturef60baa4
-
Upload folder using huggingface_hub
Verified signaturec2cc112
-
Upload folder using huggingface_hub
Verified signature1a7ce93