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

tomaarsen
/
test-asym-model

Sentence Similarity
sentence-transformers
ONNX
Safetensors
feature-extraction
Model card Files Files and versions
xet
Community
1

Instructions to use tomaarsen/test-asym-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use tomaarsen/test-asym-model with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("tomaarsen/test-asym-model")
    
    sentences = [
        "That is a happy person",
        "That is a happy dog",
        "That is a very happy person",
        "Today is a sunny day"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
test-asym-model
1.87 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
tomaarsen's picture
tomaarsen HF Staff
Add new SentenceTransformer model with an onnx backend (#1)
c3d9c86 verified about 1 year ago
  • doc_0_Transformer
    Add new SentenceTransformer model with an onnx backend (#1) about 1 year ago
  • doc_1_Pooling
    Add new SentenceTransformer model about 1 year ago
  • query_0_Transformer
    Add new SentenceTransformer model with an onnx backend (#1) about 1 year ago
  • query_1_Pooling
    Add new SentenceTransformer model about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    4.34 kB
    Add new SentenceTransformer model about 1 year ago
  • config.json
    519 Bytes
    Add new SentenceTransformer model about 1 year ago
  • config_sentence_transformers.json
    219 Bytes
    Add new SentenceTransformer model about 1 year ago
  • modules.json
    113 Bytes
    Add new SentenceTransformer model about 1 year ago