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

KhangLeDuc
/
ProjectEmbedding

Sentence Similarity
sentence-transformers
Safetensors
Vietnamese
roberta
feature-extraction
dense
Generated from Trainer
dataset_size:57371
loss:MatryoshkaLoss
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use KhangLeDuc/ProjectEmbedding with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use KhangLeDuc/ProjectEmbedding with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("KhangLeDuc/ProjectEmbedding")
    
    sentences = [
        "Điều 1 Quyết_định 1788 / QĐ - UBND Quy_định tạm_thời định mức chi_phí trong xây_dựng có nội_dung như sau : \n \n Điều 1 . : Quy_định tạm_thời một_số định mức chi_phí trong xây_dựng cơ_bản lâm_sinh thuộc Dự_án 661 trên địa_bàn tỉnh Quảng_Bình như sau : \n 1 . Đối_với trồng và chăm_sóc rừng trồng phòng_hộ , rừng đặc_dụng : \n - Chi_phí trực_tiếp ( nhân_công , vật_tư ) được xây_dựng trên cơ_sở định mức ban_hành tại Quyết_định số 38 / 2005 / QĐ - BNN ngày 06 / 7 / 2005 của Bộ Nông_nghiệp và PTNT và đơn_giá trên địa_bàn tỉnh . \n - Chi_phí phục_vụ được tính theo Phụ_lục kèm theo Quyết_định này . \n 2 . Đối_với khoanh nuôi xúc_tiến tái_sinh có trồng bổ_sung cây lâm_nghiệp : \n Mức đầu_tư bình_quân là 2 triệu đồng / ha / 6 năm . Mức đầu_tư cụ_thể cho từng năm theo Phụ_lục kèm theo Quyết_định này .",
        "Khi có quyết_định tuyên_bố phá_sản thì doanh_nghiệp phải giải_quyết các khoản nợ theo thứ tự phân_chia tài_sản như thế_nào ?",
        "Mức phạt đối_với hành_vi cản_trở trái_phép việc nghiên_cứu khoa_học sử_dụng ngân_sách nhà nướcđược quy_định như thế_nào ?",
        "Điều 1 Quyết_định 1788 / QĐ - UBND Quy_định tạm_thời định mức chi_phí trong xây_dựng"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
ProjectEmbedding
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
KhangLeDuc's picture
KhangLeDuc
Upload fine-tuned Vietnamese embedding model
0e2edcf verified 5 months ago
  • 1_Pooling
    Upload fine-tuned Vietnamese embedding model 5 months ago
  • .gitattributes
    1.52 kB
    initial commit 5 months ago
  • README.md
    57 kB
    Upload fine-tuned Vietnamese embedding model 5 months ago
  • added_tokens.json
    25 Bytes
    Upload fine-tuned Vietnamese embedding model 5 months ago
  • bpe.codes
    1.14 MB
    Upload fine-tuned Vietnamese embedding model 5 months ago
  • config.json
    722 Bytes
    Upload fine-tuned Vietnamese embedding model 5 months ago
  • config_sentence_transformers.json
    296 Bytes
    Upload fine-tuned Vietnamese embedding model 5 months ago
  • model.safetensors
    540 MB
    xet
    Upload fine-tuned Vietnamese embedding model 5 months ago
  • modules.json
    242 Bytes
    Upload fine-tuned Vietnamese embedding model 5 months ago
  • sentence_bert_config.json
    56 Bytes
    Upload fine-tuned Vietnamese embedding model 5 months ago
  • special_tokens_map.json
    1.02 kB
    Upload fine-tuned Vietnamese embedding model 5 months ago
  • tokenizer_config.json
    1.23 kB
    Upload fine-tuned Vietnamese embedding model 5 months ago
  • vocab.txt
    895 kB
    Upload fine-tuned Vietnamese embedding model 5 months ago