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

hungq
/
hust_sbert

Sentence Similarity
sentence-transformers
Safetensors
roberta
feature-extraction
dense
Generated from Trainer
dataset_size:11033
loss:CosineSimilarityLoss
Model card Files Files and versions
xet
Community

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

  • Libraries
  • sentence-transformers

    How to use hungq/hust_sbert with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("hungq/hust_sbert")
    
    sentences = [
        "or 2 will be lowered by one level if the \\nnumber of failed credits in the semester is less than or equal to 4 . \\nđ) Students under academic probation  level 3 will be lowered to level 2 if their total unearned \\ncredits since enrollment is less than or equal to 24 . This downgrade is applied regardless of the criteria \\nfor raising probation status in point a and b above.  \\ne) Academic probation is not applicable for s ummer semesters.  \\n2. Academic  load limitation is enforced for students on level 2 probation  or higher , requiring \\nthem to register for a reduced number of credits in the first semester of the academic year. Specific",
        "3 academic probation  for the second consecutive time.  \\nb) A student exceeds the maximum study duration or is no longer able to meet graduation \\nrequirements within the permitted  timeframe as specified in Clause 3, Article 3 of this document . \\nArticle 20. Disciplinary actions for student violations  \\nViolations and corresponding disciplinary measures are handled in accordance with the current \\nregulations stipulated in the Regulation s on Student Affairs for Full -Time Undergraduate Students of \\nthe University.  \\n  17 \\n \\n CHAPTER III \\nENGINEER  PROGRAM S \\nArticle 21. Academic  Registration for Engine er Program s \\n1. Academic",
        "Chương V\nTỔ CHỨC THỰC HIỆN\nĐiều 12. Trách nhiệm của sinh viên được cấp học bổng\n1. Phối hợp với Ban Công tác sinh viên và các đơn vị, cơ quan chức năng liên\nquan làm thủ tục xuất cảnh.\n2. Chủ động liên hệ với đối tác nước ngoài lập kế hoạch học tập; chịu trách\nnhiệm đảm bảo các hoạt động ở nước ngoài và tiến độ học tập của bản thân.\n3. Tuân thủ các quy định của chương trình học bổng, quy định về việc cấp học\nbổng cho sinh viên đi học tại nước ngoài của ĐHBK Hà Nội, quy định của đơn vị đối\ntác nước ngoài.\n4. Nghiêm chỉnh chấp hành các quy định khác của pháp luật Việt Nam, pháp luật\nvà phong tục tập quán của nước sở tại.",
        "thưởng;13\nc) Căn cứ vào đề xuất của Hội đồng khen thưởng sinh viên, Ban Công tác sinh\nviên báo cáo Giám đốc đại học ra quyết định khen thưởng sinh viên đủ điều kiện.\n3. Không xét khen thưởng đối với sinh viên đang trong thời gian xem xét kỷ luật\nhoặc đang trong thời gian thi hành kỷ luật, sinh viên học quá thời gian thiết kế chương\ntrình đào tạo chuẩn (không tính thời gian sinh viên nghỉ học để điều trị bệnh, thời gian\nsinh viên thực hiện nghĩa vụ quân sự theo quy định của Nhà nước).\nĐiều 31. Xử lý kỷ luật   \n1. Hình thức kỷ luật:\na) Khiển trách: áp dụng đối với sinh viên có hành vi vi phạm lần đầu nhưng\nở mức độ nhẹ;"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
hust_sbert
542 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
hungq's picture
hungq
Add new SentenceTransformer model
925c514 verified 7 months ago
  • 1_Pooling
    Add new SentenceTransformer model 7 months ago
  • .gitattributes
    1.52 kB
    initial commit 7 months ago
  • README.md
    35.4 kB
    Add new SentenceTransformer model 7 months ago
  • added_tokens.json
    22 Bytes
    Add new SentenceTransformer model 7 months ago
  • bpe.codes
    1.14 MB
    Add new SentenceTransformer model 7 months ago
  • config.json
    701 Bytes
    Add new SentenceTransformer model 7 months ago
  • config_sentence_transformers.json
    283 Bytes
    Add new SentenceTransformer model 7 months ago
  • model.safetensors
    540 MB
    xet
    Add new SentenceTransformer model 7 months ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model 7 months ago
  • sentence_bert_config.json
    57 Bytes
    Add new SentenceTransformer model 7 months ago
  • special_tokens_map.json
    167 Bytes
    Add new SentenceTransformer model 7 months ago
  • tokenizer_config.json
    1.18 kB
    Add new SentenceTransformer model 7 months ago
  • vocab.txt
    895 kB
    Add new SentenceTransformer model 7 months ago