Feature Extraction
sentence-transformers
Safetensors
English
distilbert
sparse-encoder
sparse
splade
text-embeddings-inference
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
File size: 107 Bytes
b6d36f0 | 1 2 3 4 5 | {
"pooling_strategy": "max",
"activation_function": "relu",
"word_embedding_dimension": 30522
} |