Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

NASA-AIML
/
MIKA_Custom_IR

Sentence Similarity
sentence-transformers
PyTorch
Safetensors
mpnet
feature-extraction
text-embeddings-inference
Model card Files Files and versions
xet
Community
2

Instructions to use NASA-AIML/MIKA_Custom_IR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use NASA-AIML/MIKA_Custom_IR with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("NASA-AIML/MIKA_Custom_IR")
    
    sentences = [
        "what components are vulnerable to fatigue crack?",
        "One of the first-stage compressor blades had fractued due to fatigue cracking.",
        "Witnesses and the fire department personnel noted fuel leaking due to a cracked fuel line.",
        "During periods of low visibility and night conditions, the supporting sensors sometimes conflict."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
MIKA_Custom_IR / 1_Pooling
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
sequoiaandrade's picture
sequoiaandrade
added pooling
bb03bf1 over 2 years ago
  • config.json
    190 Bytes
    added pooling over 2 years ago