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

ntucool
/
mlogging

Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:164
loss:MultipleNegativesRankingLoss
loss:CosineSimilarityLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • sentence-transformers

    How to use ntucool/mlogging with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("ntucool/mlogging")
    
    sentences = [
        "qa_234",
        "1客戶主軸馬達編碼器異常主軸馬達送修拿備品安裝聯軸器廠商安裝並校正動平衡我司協助裝回",
        "故障狀況 追加皮帶式油水分離機 處理狀況 備料為客戶追加",
        "追加皮帶式油水分離機"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
mlogging
96.4 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
ntucool's picture
ntucool
Upload folder using huggingface_hub
ce12a8f verified 11 months ago
  • 1_Pooling
    Upload folder using huggingface_hub 11 months ago
  • .DS_Store
    6.15 kB
    Upload folder using huggingface_hub 11 months ago
  • .gitattributes
    1.52 kB
    initial commit 11 months ago
  • README.md
    16.1 kB
    Upload folder using huggingface_hub 11 months ago
  • config.json
    694 Bytes
    Upload folder using huggingface_hub 11 months ago
  • config_sentence_transformers.json
    205 Bytes
    Upload folder using huggingface_hub 11 months ago
  • model.safetensors
    95.8 MB
    xet
    Upload folder using huggingface_hub 11 months ago
  • modules.json
    349 Bytes
    Upload folder using huggingface_hub 11 months ago
  • sentence_bert_config.json
    52 Bytes
    Upload folder using huggingface_hub 11 months ago
  • special_tokens_map.json
    695 Bytes
    Upload folder using huggingface_hub 11 months ago
  • tokenizer.json
    439 kB
    Upload folder using huggingface_hub 11 months ago
  • tokenizer_config.json
    1.27 kB
    Upload folder using huggingface_hub 11 months ago
  • vocab.txt
    110 kB
    Upload folder using huggingface_hub 11 months ago