Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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
/
halong_embedding-Financial-Matryoshka-1e-200k

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
Model card Files Files and versions
xet
Community

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
halong_embedding-Financial-Matryoshka-1e-200k
1.13 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
anhtuansh's picture
anhtuansh
Add new SentenceTransformer model
27c7337 verified almost 2 years ago
  • 1_Pooling
    Add new SentenceTransformer model almost 2 years ago
  • .gitattributes
    1.57 kB
    Add new SentenceTransformer model almost 2 years ago
  • README.md
    523 kB
    Add new SentenceTransformer model almost 2 years ago
  • config.json
    707 Bytes
    Add new SentenceTransformer model almost 2 years ago
  • config_sentence_transformers.json
    205 Bytes
    Add new SentenceTransformer model almost 2 years ago
  • model.safetensors
    1.11 GB
    xet
    Add new SentenceTransformer model almost 2 years ago
  • modules.json
    349 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
    964 Bytes
    Add new SentenceTransformer model almost 2 years ago
  • tokenizer.json
    17.1 MB
    xet
    Add new SentenceTransformer model almost 2 years ago
  • tokenizer_config.json
    1.34 kB
    Add new SentenceTransformer model almost 2 years ago