Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

anhtuansh
/
bert-base-multilingual-Financial-Matryoshka

Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:181350
loss:MatryoshkaLoss
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

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
bert-base-multilingual-Financial-Matryoshka / 1_Pooling
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
anhtuansh's picture
anhtuansh
Add new SentenceTransformer model.
f2686cd verified about 2 years ago
  • config.json
    296 Bytes
    Add new SentenceTransformer model. about 2 years ago