Sentence Similarity
sentence-transformers
Safetensors
xlm-roberta
feature-extraction
dense
Generated from Trainer
dataset_size:4
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use thienvyphan/bge-m3-custom with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use thienvyphan/bge-m3-custom with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("thienvyphan/bge-m3-custom") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
8c2b64f | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:326c392f5799a1a73fb5118bac1e78bfc02ad3ca7f04c002cda9915721218c7d
size 17098339
|