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

iambestfeed
/
vietnamese-embedding-model

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

Instructions to use iambestfeed/vietnamese-embedding-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use iambestfeed/vietnamese-embedding-model with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("iambestfeed/vietnamese-embedding-model")
    
    sentences = [
        "Điều 2 Quyết định 185/QĐ-UB năm 1998 Bảng giá đất tỉnh Bến Tre có nội dung như sau:\n\nĐiều 2. Giá đất trên được áp dụng cho những trường hợp: Tính thuế chuyển quyền sử dụng cho những trường hợp: Tính thuế chuyển quyền sử dụng đất, thu lệ phí trước bạ, thu tiền sử dụng đất khi giao đất, cho thuê đất, tính giá trị tài sản khi giao đất, bồi thường thiệt hại về đất khi Nhà nước thu hồi.\nTrường hợp giao đất theo hình thức đấu giá, thì giá đất sẽ do Uỷ ban nhân dân tỉnh cho trường hợp cụ thể.\nGiá cho thuê đất đối với các tổ chức, cá nhân nước ngoài hoặc xí nghiệp có vốn đầu tư nước ngoài được áp dụng theo quy định của Chính phủ.",
        "Điều 2 Quyết định 55/2012/QĐ-UBND dự toán ngân sách phân bổ dự toán ngân sách 2013 Bình Dương",
        "Điều 2 Quyết định 185/QĐ-UB năm 1998 Bảng giá đất tỉnh Bến Tre",
        "Điều 3 Quyết định 79/2019/QĐ-UBND mức thu học phí quản lý và sử dụng học phí giáo dục mầm non Huế"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
vietnamese-embedding-model
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
iambestfeed's picture
iambestfeed
Add new SentenceTransformer model with an onnx backend
fb8b67e verified 10 months ago
  • 1_Pooling
    Add new SentenceTransformer model with an onnx backend 10 months ago
  • onnx
    Add new SentenceTransformer model with an onnx backend 10 months ago
  • .gitattributes
    1.52 kB
    initial commit 10 months ago
  • README.md
    24.9 kB
    Add new SentenceTransformer model with an onnx backend 10 months ago
  • added_tokens.json
    22 Bytes
    Add new SentenceTransformer model with an onnx backend 10 months ago
  • bpe.codes
    1.14 MB
    Add new SentenceTransformer model with an onnx backend 10 months ago
  • config.json
    672 Bytes
    Add new SentenceTransformer model with an onnx backend 10 months ago
  • config_sentence_transformers.json
    205 Bytes
    Add new SentenceTransformer model with an onnx backend 10 months ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model with an onnx backend 10 months ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model with an onnx backend 10 months ago
  • special_tokens_map.json
    965 Bytes
    Add new SentenceTransformer model with an onnx backend 10 months ago
  • tokenizer_config.json
    1.17 kB
    Add new SentenceTransformer model with an onnx backend 10 months ago
  • vocab.txt
    895 kB
    Add new SentenceTransformer model with an onnx backend 10 months ago