Views
No views yet
1from xpmir.models import AutoModel
2
3# Model that can be re-used in experiments
4model, init_tasks = AutoModel.load_from_hf_hub("xpmir/SPLADE_DistilMSE")
5
6# Use this if you want to actually use the model
7model = AutoModel.load_from_hf_hub("xpmir/SPLADE_DistilMSE", as_instance=True)
8model.rsv("walgreens store sales average", "The average Walgreens salary ranges...")| Dataset | AP | P@20 | RR | RR@10 | nDCG | nDCG@10 | nDCG@20 |
|---|---|---|---|---|---|---|---|
| msmarco_dev | 0.3642 | 0.0382 | 0.3693 | 0.3582 | 0.4879 | 0.4222 | 0.4458 |
| trec2019 | 0.4896 | 0.7209 | 0.9496 | 0.9496 | 0.7253 | 0.7055 | 0.6926 |
| trec2020 | 0.5026 | 0.6315 | 0.9483 | 0.9475 | 0.7273 | 0.6868 | 0.6627 |