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

tokiers
/
potion-base-2M

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

Instructions to use tokiers/potion-base-2M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Model2Vec

    How to use tokiers/potion-base-2M with Model2Vec:

    from model2vec import StaticModel
    
    model = StaticModel.from_pretrained("tokiers/potion-base-2M")
  • sentence-transformers

    How to use tokiers/potion-base-2M with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("tokiers/potion-base-2M")
    
    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-2M
17.8 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 13 commits
bhavnicksm's picture
bhavnicksm
Upload README.md with huggingface_hub
a011a80 verified about 2 months ago
  • onnx
    Upload onnx/model.onnx with huggingface_hub about 2 months ago
  • .gitattributes
    1.62 kB
    Upload tokie-banner.png with huggingface_hub about 2 months ago
  • README.md
    5.46 kB
    Upload README.md with huggingface_hub about 2 months ago
  • config.json
    200 Bytes
    Upload config.json with huggingface_hub about 2 months ago
  • model.safetensors
    7.56 MB
    xet
    Upload model.safetensors with huggingface_hub about 2 months ago
  • modules.json
    278 Bytes
    Upload modules.json with huggingface_hub about 2 months ago
  • special_tokens_map.json
    134 Bytes
    Upload special_tokens_map.json with huggingface_hub about 2 months ago
  • tokenizer.json
    684 kB
    Upload tokenizer.json with huggingface_hub about 2 months ago
  • tokenizer.tkz
    1.68 MB
    xet
    Upload tokenizer.tkz with huggingface_hub about 2 months ago
  • tokenizer_config.json
    1.43 kB
    Upload tokenizer_config.json with huggingface_hub about 2 months ago
  • tokie-banner.png
    135 kB
    xet
    Upload tokie-banner.png with huggingface_hub about 2 months ago
  • vocab.txt
    220 kB
    Upload vocab.txt with huggingface_hub about 2 months ago