Sentence Similarity
sentence-transformers
Safetensors
English
bert
feature-extraction
Generated from Trainer
dataset_size:196
loss:MatryoshkaLoss
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use cngcv/bge-base-financial-matryoshka with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use cngcv/bge-base-financial-matryoshka with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("cngcv/bge-base-financial-matryoshka") sentences = [ "The text refers to the preparation of a pre-trained model for data set usage, which is a crucial step in machine learning projects. This suggests that the project involves using a model that has already been trained on a dataset, which can then be fine-tuned or used directly for specific tasks, potentially saving time and computational resources.", "What is the significance of preparing a pre-trained model in the data set for the process described in the text?", "What is the purpose of the document?", "What are the developer AI developer's experiences in AI development and research?" ] 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!