Sentence Similarity
sentence-transformers
Safetensors
xlm-roberta
feature-extraction
Generated from Trainer
dataset_size:181350
loss:MatryoshkaLoss
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use anhtuansh/halong_embedding-Financial-Matryoshka-1e-200k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use anhtuansh/halong_embedding-Financial-Matryoshka-1e-200k with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("anhtuansh/halong_embedding-Financial-Matryoshka-1e-200k") sentences = [ "quyết_định điều_chuyển tài_sản công có yêu_cầu_là quyết_định điều_chuyển tài_sản hoặc văn_bản hồi_đáp .", "cấp lại giấy chứng_nhận đăng_ký tàu cá do cấp nào thực_hiện ?", "thủ_tục cấp lại giấy_phép thành_lập văn_phòng đại_diện tại việt_nam của doanh_nghiệp kinh_doanh dịch_vụ lữ_hành nước_ngoài trong trường_hợp giấy_phép thành_lập văn_phòng đại_diện bị mất , bị hủy_hoại , bị hư_hỏng * hoặc bị tiêu_hủy có yêu_cầu thành_phần hồ_sơ những gì ?", "quyết_định điều_chuyển tài_sản công có kết_quả_thực_hiện là gì ?" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K