Sentence Similarity
sentence-transformers
Safetensors
Vietnamese
English
xlm-roberta
feature-extraction
Generated from Trainer
loss:MatryoshkaLoss
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use contextboxai/halong_embedding with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use contextboxai/halong_embedding with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("contextboxai/halong_embedding") sentences = [ "Bóng đá có lợi ích gì cho sức khỏe?", "Bóng đá giúp cải thiện sức khỏe tim mạch và tăng cường sức bền.", "Bóng đá là môn thể thao phổ biến nhất thế giới.", "Bóng đá có thể giúp bạn kết nối với nhiều người hơn." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Inference
- Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -103,6 +103,8 @@ Halong Embedding is a Vietnamese text embedding focused on RAG and production ef
|
|
| 103 |
|
| 104 |
This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [intfloat/multilingual-e5-base](https://huggingface.co/intfloat/multilingual-e5-base). It maps sentences & paragraphs to a 768-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
|
| 105 |
|
|
|
|
|
|
|
| 106 |
## Model Details
|
| 107 |
|
| 108 |
### Model Description
|
|
|
|
| 103 |
|
| 104 |
This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [intfloat/multilingual-e5-base](https://huggingface.co/intfloat/multilingual-e5-base). It maps sentences & paragraphs to a 768-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
|
| 105 |
|
| 106 |
+
You can find eval, fine-tune scripts [here](https://github.com/AndrewNgo-ini/MiAI_HieuNgo_EmbedingFineTune/blob/main/TextEmbeddingMiAI_DEMO.ipynb) as well as my [seminar](https://www.youtube.com/watch?v=oUFyFjGnXXw&t=1s)
|
| 107 |
+
|
| 108 |
## Model Details
|
| 109 |
|
| 110 |
### Model Description
|