Feature Extraction
sentence-transformers
PyTorch
ONNX
English
bert
splade++
document-expansion
sparse representation
bag-of-words
passage-retrieval
knowledge-distillation
document encoder
sparse-encoder
sparse
splade
text-embeddings-inference
Instructions to use prithivida/Splade_PP_en_v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use prithivida/Splade_PP_en_v2 with sentence-transformers:
from sentence_transformers import SparseEncoder model = SparseEncoder("prithivida/Splade_PP_en_v2") 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
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.89f5edd -
sentence_transformers_support (#2)
Verified signature- Add support for Sentence Transformer (fd892c44ece765cd2eea98f34a84a52cda185d3c) - Update README.md (2a36dcec5365886f4487325e059223f9b5c65e0b)f0d4aa2
-
Upload dost_logo.png
Verified signaturea32312f -
Update README.md
Verified signature8da95e1
-
Rename splade_v2_model.onnx to onnx/model.onnx
Verified signature61802d2 -
Upload splade_v2_model.onnx
Verified signature0349008
-
Update README.md
Verified signature705294c
-
config from latest checkpoint
Prithivi Dadf977b3 -
updated config
Prithivi Da8d3d5f1 -
Add backlink to V1
Verified signature78a0a15
-
added OOD to top
Verified signaturee74ee1d -
Update config.json
Verified signaturef826493
-
Merge branch 'main' of https://huggingface.co/prithivida/Splade_PP_en_v2
Prithivi Da14527b1 -
OOD metrics
Prithivi Dab8f2e8d -
Update README.md
Verified signature1e7a7d4 -
Update config.json
Verified signaturefb5a76d
-
Update README.md
Verified signature145e8e8 -
OOD metrics
Prithivi Daa008fa4 -
updated metrics
Prithivi Da443753d -
Delete ID.png
Verified signatureb90829e -
updated metrics
Prithivi Da7e00d7e -
Delete Metrics.png
Verified signature43d06a8 -
Merge branch 'main' of https://huggingface.co/prithivida/Splade_PP_en_v2
Prithivi Da4daaa6a -
add metrics
Prithivi Da582a165 -
Update README.md
Verified signature225fc45 -
fleshed ID
Prithivi Da43225a6 -
Update README.md
Verified signaturea471aa7 -
Update README.md
Verified signature3f34dd1 -
Merge branch 'main' of https://huggingface.co/prithivida/Splade_PP_en_v2
Prithivi Da473551f -
Initial Commit
Prithivi Da757fff4 -
Delete .DS_Store
Verified signatureee73597 -
Initial Commit
Prithivi Da1cdf444 -
initial commit
Verified signature7e4ad46