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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

BookingCare
/
gte-multilingual-base-v1

Sentence Similarity
sentence-transformers
Safetensors
Vietnamese
new
feature-extraction
Generated from Trainer
dataset_size:7009
loss:MultipleNegativesRankingLoss
custom_code
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use BookingCare/gte-multilingual-base-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use BookingCare/gte-multilingual-base-v1 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("BookingCare/gte-multilingual-base-v1", trust_remote_code=True)
    
    sentences = [
        "Hàng ngày, tôi uống thuốc huyết áp hỗ trợ điều trị viêm gan do gan nhiễm mỡ thì có thể tiêm vaccine Covid-19 được không? Nếu tiêm vaccine có phải ngưng uống thuốc gì không?",
        "Nếu huyết áp sau điều trị ổn định ở mức huyết áp tối thiểu <90 mmHg và huyết áp tối đa <140 mmHg thì Anh/Chị có thể tiêm tại các cơ sở đủ điều kiện tiêm chủng. Nếu huyết áp của Anh/Chị ở mức cao hơn thì Anh/Chị cần tiêm vaccine tại bệnh viện hoặc cơ sở đủ năng lực hồi sức cấp cứu ban đầu theo quy định của Bộ Y tế. Đồng thời, khi tiêm vắc xin, Anh/Chị vẫn duy trì uống thuốc điều trị của mình và không cần ngưng thuốc.",
        "Với tình trạng xét nghiệm của anh/chị thì bác sĩ có chẩn đoán là bệnh lý gì gây nên tình trạng xét nghiệm máu có các chỉ số cao hơn và thấp hơn so với bình thường không ạ? Anh/chị nên có kết quả chẩn đoán của bác sĩ khám bệnh để bác sĩ tư vấn có tiêm phòng được/tạm hoãn/chống chỉ định tiêm phòng vaccine Covid-19.",
        "Những triệu chứng như bạn mô tả cũng thường xuất hiện ở người bị thiếu máu. Để chẩn đoán chính xác có bị thiếu máu hay không và mức độ thiếu máu, bạn chỉ cần xét nghiệm công thức máu. Xét nghiệm công thức máu cho kết quả nhanh, chi phí hợp lý và mọi cơ sở y tế đều có thể làm được. Bạn nên tới cơ sở y tế để xét nghiệm để rõ chẩn đoán."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
gte-multilingual-base-v1
1.24 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
nampham1106's picture
nampham1106
Add new SentenceTransformer model.
97bc8e2 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
    46.9 kB
    Add new SentenceTransformer model. almost 2 years ago
  • config.json
    1.59 kB
    Add new SentenceTransformer model. almost 2 years ago
  • config_sentence_transformers.json
    201 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • model.safetensors
    1.22 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
    54 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