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
Instructions to use chcho/bge-base-financial-matryoshka with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use chcho/bge-base-financial-matryoshka with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("chcho/bge-base-financial-matryoshka") sentences = [ "Goodwill is recognized for the excess of the purchase price over the fair value of tangible and identifiable intangible net assets of businesses acquired. In evaluating goodwill impairment, a qualitative assessment is performed to determine the likelihood that the fair value of a reporting unit is less than its carrying amount. This might lead to further testing of goodwill for impairment, which includes comparing the fair value of the reporting unit to its carrying value (including attributable goodwill). Fair value for our reporting units is determined using an income or market approach incorporating market participant considerations and management’s assumptions.", "How is goodwill reviewed for impairment in a company, and what methods are used to determine the fair value of reporting units?", "What regulatory framework does the FCC currently apply to broadband internet access services as of 2023?", "What were the total interest payments made by the company in 2023, 2022, and 2021?" ] 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!