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 model_args.json from huggingface-mic/splade-v3-distilbert-mic: direct link, hf CLI and curl.
- Browser
- Download file 280 Bytes
-
https://huggingface.co/huggingface-mic/splade-v3-distilbert-mic/resolve/main/model_args.json
- Command line
-
hf download hf://huggingface-mic/splade-v3-distilbert-mic/model_args.json
-
curl -L -o model_args.json https://huggingface.co/huggingface-mic/splade-v3-distilbert-mic/resolve/main/model_args.json
280 Bytes
| { | |
| "model_name_or_path": "distilbert-base-uncased", | |
| "max_length": 128, | |
| "shared_weights": true, | |
| "splade_doc": false, | |
| "model_q": null, | |
| "dense_pooling": "cls", | |
| "dense": false, | |
| "adapter_name": null, | |
| "adapter_config": null, | |
| "load_adapter": null | |
| } |