Sentence Similarity
sentence-transformers
Safetensors
Korean
English
bert
feature-extraction
Generated from Trainer
text-embeddings-inference
Instructions to use dragonkue/multilingual-e5-small-ko with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use dragonkue/multilingual-e5-small-ko with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("dragonkue/multilingual-e5-small-ko") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Inference
- Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files206 unmodified lines207208209210211212213206 unmodified linesThis margin-based approach extends the idea proposed in the NV-Retriever paper, which originally filtered false negatives during hard negative sampling.We adapt this to in-batch negatives, treating false negatives as dynamic samples guided by margin-based filtering.<img src="https://cdn-uploads.huggingface.co/production/uploads/642b0c2fecec03b4464a1d9b/KrtD8Mdmz-ziozXCVz9Zr.png" width="800"/>The sentence-transformers library now supports GISTEmbedLoss with margin configuration, making it easy to integrate into any training pipeline.206 unmodified lines207208209210211212213206 unmodified linesThis margin-based approach extends the idea proposed in the NV-Retriever paper, which originally filtered false negatives during hard negative sampling.We adapt this to in-batch negatives, treating false negatives as dynamic samples guided by margin-based filtering.<img src="https://cdn-uploads.huggingface.co/production/uploads/642b0c2fecec03b4464a1d9b/Orr03zyVerBU_B6Vkesgl.png" width="800"/>The sentence-transformers library now supports GISTEmbedLoss with margin configuration, making it easy to integrate into any training pipeline.
README.md+1-1