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

  • Log In
  • Sign Up

mrfoxv
/
snowflake_model2vec

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

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

  • Libraries
  • Model2Vec

    How to use mrfoxv/snowflake_model2vec with Model2Vec:

    from model2vec import StaticModel
    
    model = StaticModel.from_pretrained("mrfoxv/snowflake_model2vec")
  • sentence-transformers

    How to use mrfoxv/snowflake_model2vec with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("mrfoxv/snowflake_model2vec")
    
    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
snowflake_model2vec
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
mrfoxv's picture
mrfoxv
Upload folder using huggingface_hub
af3a927 verified 10 months ago
  • .gitattributes
    1.52 kB
    initial commit 10 months ago
  • README.md
    3.87 kB
    Upload folder using huggingface_hub 10 months ago
  • config.json
    346 Bytes
    Upload folder using huggingface_hub 10 months ago
  • model.safetensors
    22.7 MB
    xet
    Upload folder using huggingface_hub 10 months ago
  • modules.json
    278 Bytes
    Upload folder using huggingface_hub 10 months ago
  • script.py
    563 Bytes
    Upload folder using huggingface_hub 10 months ago
  • special_tokens_map.json
    695 Bytes
    Upload folder using huggingface_hub 10 months ago
  • tokenizer.json
    974 kB
    Upload folder using huggingface_hub 10 months ago
  • tokenizer_config.json
    1.43 kB
    Upload folder using huggingface_hub 10 months ago
  • vocab.txt
    232 kB
    Upload folder using huggingface_hub 10 months ago