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

  • Log In
  • Sign Up

sinistera
/
potion-base-8m-onnx

Model2Vec
ONNX
Safetensors
sentence-transformers
embeddings
static-embeddings
Model card Files Files and versions
xet
Community

Instructions to use sinistera/potion-base-8m-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Model2Vec

    How to use sinistera/potion-base-8m-onnx with Model2Vec:

    from model2vec import StaticModel
    
    model = StaticModel.from_pretrained("sinistera/potion-base-8m-onnx")
  • sentence-transformers

    How to use sinistera/potion-base-8m-onnx with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("sinistera/potion-base-8m-onnx")
    
    sentences = [
        "The weather is lovely today.",
        "It's so sunny outside!",
        "He drove to the stadium."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [3, 3]
  • Notebooks
  • Google Colab
  • Kaggle
potion-base-8m-onnx
61.2 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 4 commits
nimagp
fix problem
2bcc469 5 months ago
  • onnx
    fix problem 5 months ago
  • .gitattributes
    1.52 kB
    initial commit 5 months ago
  • README.md
    3.76 kB
    Upload folder using huggingface_hub 5 months ago
  • config.json
    80 Bytes
    Upload folder using huggingface_hub 5 months ago
  • model.safetensors
    30.2 MB
    xet
    Upload folder using huggingface_hub 5 months ago
  • modules.json
    278 Bytes
    Upload folder using huggingface_hub 5 months ago
  • tokenizer.json
    684 kB
    Upload folder using huggingface_hub 5 months ago
  • tokenizer_config.json
    71 Bytes
    Upload folder using huggingface_hub 5 months ago