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

  • Log In
  • Sign Up

pulkitmehtawork
/
sparse-distilbert-base-uncased-python-code-lightening

Feature Extraction
sentence-transformers
Safetensors
English
distilbert
sparse-encoder
sparse
splade
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use pulkitmehtawork/sparse-distilbert-base-uncased-python-code-lightening with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use pulkitmehtawork/sparse-distilbert-base-uncased-python-code-lightening with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("pulkitmehtawork/sparse-distilbert-base-uncased-python-code-lightening")
    
    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
sparse-distilbert-base-uncased-python-code-lightening
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
pulkitmehtawork's picture
pulkitmehtawork
Add new SparseEncoder model
b6d36f0 verified 10 months ago
  • 1_SpladePooling
    Add new SparseEncoder model 10 months ago
  • .gitattributes
    1.52 kB
    initial commit 10 months ago
  • README.md
    4.16 kB
    Add new SparseEncoder model 10 months ago
  • config.json
    506 Bytes
    Add new SparseEncoder model 10 months ago
  • config_sentence_transformers.json
    274 Bytes
    Add new SparseEncoder model 10 months ago
  • model.safetensors
    268 MB
    xet
    Add new SparseEncoder model 10 months ago
  • modules.json
    274 Bytes
    Add new SparseEncoder model 10 months ago
  • sentence_bert_config.json
    57 Bytes
    Add new SparseEncoder model 10 months ago
  • special_tokens_map.json
    125 Bytes
    Add new SparseEncoder model 10 months ago
  • tokenizer.json
    712 kB
    Add new SparseEncoder model 10 months ago
  • tokenizer_config.json
    1.23 kB
    Add new SparseEncoder model 10 months ago
  • vocab.txt
    232 kB
    Add new SparseEncoder model 10 months ago