Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

evaluating sparse retrievers splade++ (main branch) #149

Open
srikanthmalla opened this issue Sep 3, 2024 · 1 comment
Open

evaluating sparse retrievers splade++ (main branch) #149

srikanthmalla opened this issue Sep 3, 2024 · 1 comment

Comments

@srikanthmalla
Copy link
Contributor

srikanthmalla commented Sep 3, 2024

Hi @MXueguang ,

I am currently evaluating a sparse retriever, splade++ (cocondensor-ensembledistil) on arguana using below command:

./eval_beir.sh --dataset arguana 
              --tokenizer naver/splade-cocondenser-ensembledistil  
              --model_name_path naver/splade-cocondenser-ensembledistil  
              --embedding_dir beir_embedding_arguana_splade 
              --query_prefix ""  
              --passage_prefix "" 
              --normalize

ndcg@10 is self reported as 0.518 in their paper (Table 4), and no other metrics like mrr, map, recall in paper or in huggingface page

From the above script in the repo, I got 0.1730 . Am I passing wrong arguments, or the current embedding, and retrieving is not supported for sparse vector embeddings like splade? Please let me know.

Thank you,
Srikanth

@MXueguang
Copy link
Contributor

Hi @srikanthmalla , splade use the max pooling of MLM layer to get the sparse vectors.
directly use the script to get dense vector not works for splade.
please see https://github.com/texttron/tevatron/tree/main/examples/splade regarding how splade encode text and build inverted index for search.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants