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
      • 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
715 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
anhtuansh's picture
anhtuansh
Add new SentenceTransformer model.
f2686cd verified almost 2 years ago
  • 1_Pooling
    Add new SentenceTransformer model. almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    50.8 kB
    Add new SentenceTransformer model. almost 2 years ago
  • config.json
    838 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • config_sentence_transformers.json
    201 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • model.safetensors
    711 MB
    xet
    Add new SentenceTransformer model. almost 2 years ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • special_tokens_map.json
    125 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer.json
    2.92 MB
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer_config.json
    1.19 kB
    Add new SentenceTransformer model. almost 2 years ago
  • vocab.txt
    996 kB
    Add new SentenceTransformer model. almost 2 years ago