Feature Extraction
sentence-transformers
Safetensors
English
sparse-encoder
sparse
asymmetric
inference-free
splade
Generated from Trainer
dataset_size:99000
loss:SpladeLoss
loss:SparseMultipleNegativesRankingLoss
loss:FlopsLoss
Eval Results (legacy)
Instructions to use sparse-encoder-testing/inference-free-splade-bert-tiny-nq with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use sparse-encoder-testing/inference-free-splade-bert-tiny-nq with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("sparse-encoder-testing/inference-free-splade-bert-tiny-nq") 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 document_1_SpladePooling/config.json from sparse-encoder-testing/inference-free-splade-bert-tiny-nq: direct link, hf CLI and curl.
- Browser
- Download file 111 Bytes
-
https://huggingface.co/sparse-encoder-testing/inference-free-splade-bert-tiny-nq/resolve/refs%2Fpr%2F1/document_1_SpladePooling/config.json
- Command line
-
hf download hf://sparse-encoder-testing/inference-free-splade-bert-tiny-nq@refs/pr/1/document_1_SpladePooling/config.json
-
curl -L -o config.json https://huggingface.co/sparse-encoder-testing/inference-free-splade-bert-tiny-nq/resolve/refs%2Fpr%2F1/document_1_SpladePooling/config.json
111 Bytes
| { | |
| "pooling_strategy": "max", | |
| "activation_function": "relu", | |
| "word_embedding_dimension": 30522 | |
| } |