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 SparseEncoder model = SparseEncoder("sparse-encoder-testing/inference-free-splade-bert-tiny-nq") queries = ["Which planet is known as the Red Planet?"] documents = [ "Venus is often called Earth's twin because of its similar size and proximity.", "Mars, known for its reddish appearance, is often referred to as the Red Planet.", "Jupiter, the largest planet in our solar system, has a prominent red spot.", ] query_embeddings = model.encode_query(queries) document_embeddings = model.encode_document(documents) similarities = model.similarity(query_embeddings, document_embeddings) print(similarities) - Notebooks
- Google Colab
- Kaggle
Download query_0_SparseStaticEmbedding/model.safetensors from sparse-encoder-testing/inference-free-splade-bert-tiny-nq: direct link, hf CLI and curl.
- Browser
- Download file 122 kB
-
https://huggingface.co/sparse-encoder-testing/inference-free-splade-bert-tiny-nq/resolve/main/query_0_SparseStaticEmbedding/model.safetensors
- Command line
-
hf download hf://sparse-encoder-testing/inference-free-splade-bert-tiny-nq/query_0_SparseStaticEmbedding/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/sparse-encoder-testing/inference-free-splade-bert-tiny-nq/resolve/main/query_0_SparseStaticEmbedding/model.safetensors
122 kB
- Xet hash:
- b01cc23f9c8385dd6f3b437ce53227e9ac69f5a3995174e8e2e63e5341ecfa77
- Size of remote file:
- 122 kB
- SHA256:
- 82ca927cba4916c595053947bfea48b28692538d894ab9f94cceca63f57a845a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.