Sentence Similarity
sentence-transformers
Safetensors
English
mistral
feature-extraction
dense
Generated from Trainer
dataset_size:44709
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use kokitabayashi/e5-mistral_FinModernBERT_query with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use kokitabayashi/e5-mistral_FinModernBERT_query with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("kokitabayashi/e5-mistral_FinModernBERT_query") sentences = [ "What were the primary drivers for the increase in Employer Services' revenues as reported in fiscal 2016?", "As a Class 4 insurer, Arch Re Bermuda is required to submit an opinion of its approved loss reserve specialist with its statutory financial return in respect of its loss and loss expense provisions. The loss reserve specialist, who will normally be a qualified casualty actuary, must be approved by the BMA.", "Despite the challenges of the current operating environment, in 2007 we grew our sales from market share gains by approximately 6% and reduced our selling, general and administrative expenses by 14.6% compared to our sales volume decline of 24.6%, when compared to last year.", "Employer Services' revenues, as reported, increase d 5% in fiscal 2016 , as compared to fiscal 2015 , despite a negative impact of one percentage point from foreign currency translation. Revenues increase d due to new business started from new business bookings, the impact of price increases, and an increase in the number of employees on our clients’ payrolls as our U.S. pays per control increased 2.5% in fiscal 2016 as compared to fiscal 2015 ." ] 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!