Feature Extraction
sentence-transformers
PyTorch
English
bert
splade
query-expansion
document-expansion
bag-of-words
passage-retrieval
knowledge-distillation
sparse-encoder
sparse
text-embeddings-inference
Instructions to use naver/splade-cocondenser-ensembledistil with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use naver/splade-cocondenser-ensembledistil with sentence-transformers:
from sentence_transformers import SparseEncoder model = SparseEncoder("naver/splade-cocondenser-ensembledistil") 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
Training a new Language
#2
by scubagecko - opened
Hi!
I'd like to train this model on a new language (Italian), using for example the Wikipedia dataset.
Can anyone explain me how to achive this?
I've tried to follow SPLADE instructions on GitHub, but I'm not sure I've understood correctly.
Thanks in adavance to anyone willing to help.
Matteo
Hi @scubagecko
Completely missed the notifications here! It's been a while, I am closing the issue, feel free to re-open it if it's still relevant.
tformal changed discussion status to closed