Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:181350
loss:MatryoshkaLoss
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use anhtuansh/bert-base-multilingual-Financial-Matryoshka with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use anhtuansh/bert-base-multilingual-Financial-Matryoshka with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("anhtuansh/bert-base-multilingual-Financial-Matryoshka") 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.", "Thủ tục cấp thẻ hướng dẫn viên du lịch nội địa có kết quả thực hiện là gì? ", "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
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!