Sentence Similarity
sentence-transformers
Safetensors
xlm-roberta
feature-extraction
Generated from Trainer
dataset_size:14495
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use meandyou200175/sp_chatbot_query_e5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use meandyou200175/sp_chatbot_query_e5 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("meandyou200175/sp_chatbot_query_e5") sentences = [ "tôi muốn mua máy rửa chén dung tích trên 12 bộ và giá nhỏ hơn 16 triệu", "Máy rửa chén Bosch SMS25CI05E, Dung tích 13 bộ, Tiết kiệm năng lượng A+, Giá: 13.900.000", "Bàn học gỗ MDF, Rộng 1m2, Ngăn kéo bên, Giá: 2.400.000", "Philips HR2041/10 - . Công suất 450W, cối thủy tinh 1.25 lít, 2 tốc độ, lưỡi dao inox chống gỉ, dễ tháo rửa. Kích thước: 210 x 180 x 370 mm. Trọng lượng: 2.2 kg. Giá: 990.000 VNĐ" ] 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!