Feature Extraction
sentence-transformers
Safetensors
English
bert
sparse-encoder
sparse
splade
Generated from Trainer
dataset_size:99000
loss:SpladeLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use sparse-encoder-testing/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/splade-bert-tiny-nq with sentence-transformers:
from sentence_transformers import SparseEncoder model = SparseEncoder("sparse-encoder-testing/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 model.safetensors from sparse-encoder-testing/splade-bert-tiny-nq: direct link, hf CLI and curl.
- Browser
- Download file 17.7 MB
-
https://huggingface.co/sparse-encoder-testing/splade-bert-tiny-nq/resolve/main/model.safetensors
- Command line
-
hf download hf://sparse-encoder-testing/splade-bert-tiny-nq/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/sparse-encoder-testing/splade-bert-tiny-nq/resolve/main/model.safetensors
17.7 MB
- Xet hash:
- 278192abc9b98393a6b943444881b28569a79b8c9369486fd17a33a21aa3e293
- Size of remote file:
- 17.7 MB
- SHA256:
- ad666f447e266a0be1d4a4c941f403bfe85443fe23b289f666ec3e0386f61131
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.