Sentence Similarity
sentence-transformers
Safetensors
English
xlm-roberta
feature-extraction
dense
Generated from Trainer
dataset_size:44709
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use kokitabayashi/bge-m3_FinModernBERT_query with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use kokitabayashi/bge-m3_FinModernBERT_query with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("kokitabayashi/bge-m3_FinModernBERT_query") sentences = [ "What was the reported net income for the Global Markets segment in 2012, and what was the adjusted net income after accounting for intangibles?", "This facility contains a financial covenant requiring the Company not to exceed a 37.5% debt to capitalization ratio as defined in the agreement.", "Research and development expense during the years ended December 31, 2013 and 2012 , the six months ended December 31, 2012 and 2011, and the years ended June 30, 2012 and 2011, net of reimbursements of government grants, was approximately $59 million , $55 million , $28 million , $29 million , $56 million , and $60 million , respectively.", "Global Markets Reported net income $ 1,054 $ 988 Adjustment related to intangibles (2) 9 12 Adjusted net income $ 1,063 $ 1,000" ] 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!