Instructions to use huggingface-mic/splade-v3-distilbert-mic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use huggingface-mic/splade-v3-distilbert-mic with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("huggingface-mic/splade-v3-distilbert-mic") 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
Download 1_SpladePooling/config.json from huggingface-mic/splade-v3-distilbert-mic: direct link, hf CLI and curl.
- Browser
- Download file 101 Bytes
-
https://huggingface.co/huggingface-mic/splade-v3-distilbert-mic/resolve/main/1_SpladePooling/config.json
- Command line
-
hf download hf://huggingface-mic/splade-v3-distilbert-mic/1_SpladePooling/config.json
-
curl -L -o config.json https://huggingface.co/huggingface-mic/splade-v3-distilbert-mic/resolve/main/1_SpladePooling/config.json
101 Bytes
| { | |
| "pooling_strategy": "max", | |
| "activation_function": "relu", | |
| "embedding_dimension": null | |
| } |