Sentence Similarity
sentence-transformers
Safetensors
English
bert
feature-extraction
Generated from Trainer
dataset_size:44709
loss:CachedMultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use finvector/sbert_raw_finmodern_pair_merged with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use finvector/sbert_raw_finmodern_pair_merged with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("finvector/sbert_raw_finmodern_pair_merged") sentences = [ "What specific geopolitical risks and operational costs has the company identified regarding its employees in Israel and its operations in China?", "Corporate debt $ 134,176 $ 132,180", "Net cash provided by operating activities decreased $652 million to $1.7 billion for the year ended December 31, 2017 compared to $2.4 billion for the prior year primarily due to a $263 million increase in income taxes paid and a $508 million decrease in cash from changes in brokerage deposits.", "For example, we have employees located in Israel and as a result of the international conflict in the Middle East, we have incurred and are likely to continue to incur costs to support our employees and address related challenges. Further, we have operations in China and the continuing tension between the U.S. and China may impact our business and results of operations in the future." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K