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

ishandotsh
/
logembed_a1

Sentence Similarity
sentence-transformers
Safetensors
mpnet
feature-extraction
Generated from Trainer
dataset_size:48972
loss:TripletLoss
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • sentence-transformers

    How to use ishandotsh/logembed_a1 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("ishandotsh/logembed_a1")
    
    sentences = [
        "[instance: <*>] Terminating instance",
        "pam_unix(sshd:session): session opened for user <*> by (uid=<*>)",
        "[instance: <*>] Terminating instance",
        "[instance: <*>] Creating image"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
logembed_a1 / 1_Pooling
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
ishandotsh's picture
ishandotsh
init
b0f39b5 over 1 year ago
  • config.json
    296 Bytes
    init over 1 year ago