splade-distilbert-base-uncased-gooaq-matryoshka
This is a SPLADE Sparse Encoder model finetuned from distilbert/distilbert-base-uncased on the gooaq-hard-negatives dataset using the sentence-transformers library. It maps inputs to a 30522-dimensional sparse vector space and can be used for semantic search and sparse retrieval.
Model Details
Model Description
- Model Type: SPLADE Sparse Encoder
- Base model: distilbert/distilbert-base-uncased
- Maximum Sequence Length: 256 tokens
- Output Dimensionality: 30522 dimensions
- Similarity Function: Dot Product
- Supported Modality: Text
- Training Dataset:
- Language: en
- License: apache-2.0
Model Sources
Full Model Architecture
SparseEncoder(
(0): Transformer({'transformer_task': 'fill-mask', 'modality_config': {'text': {'method': 'forward', 'method_output_name': 'logits'}}, 'module_output_name': 'token_embeddings', 'architecture': 'DistilBertForMaskedLM'})
(1): SpladePooling({'pooling_strategy': 'max', 'activation_function': 'relu', 'embedding_dimension': 30522})
)
Usage
Direct Usage (Sentence Transformers)
First install the Sentence Transformers library:
pip install -U sentence-transformers
Then you can load this model and run inference.
from sentence_transformers import SparseEncoder
# Download from the 🤗 Hub
model = SparseEncoder("tomaarsen/splade-distilbert-base-uncased-gooaq-matryoshka")
# Run inference
sentences = [
'what language is irog ko?',
'Filipino / Tagalog language translation for the meaning of the word irog in the Tagalog Dictionary.',
'The official language is French, which was inherited from colonial rule. Several indigenous languages have been given the status of national languages: Fula (or Pular); Malinké (or Maninka); Susu; Kissi; Kpelle (known in French as Guerzé) and Loma.',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 30522]
# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities)
# tensor([[ 25.3361, 26.1972, 16.9183],
# [ 26.1972, 95.3169, 38.9372],
# [ 16.9183, 38.9372, 236.6596]])
Evaluation
Metrics
Sparse Information Retrieval
- Datasets:
NanoMSMARCO, NanoNFCorpus, NanoNQ, NanoClimateFEVER, NanoDBPedia, NanoFEVER, NanoFiQA2018, NanoHotpotQA, NanoMSMARCO, NanoNFCorpus, NanoNQ, NanoQuoraRetrieval, NanoSCIDOCS, NanoArguAna, NanoSciFact and NanoTouche2020
- Evaluated with
SparseInformationRetrievalEvaluator
| Metric |
NanoMSMARCO |
NanoNFCorpus |
NanoNQ |
NanoClimateFEVER |
NanoDBPedia |
NanoFEVER |
NanoFiQA2018 |
NanoHotpotQA |
NanoQuoraRetrieval |
NanoSCIDOCS |
NanoArguAna |
NanoSciFact |
NanoTouche2020 |
| dot_accuracy@1 |
0.44 |
0.46 |
0.36 |
0.2 |
0.62 |
0.62 |
0.38 |
0.9 |
0.62 |
0.38 |
0.12 |
0.5 |
0.5306 |
| dot_accuracy@3 |
0.66 |
0.54 |
0.64 |
0.42 |
0.82 |
0.82 |
0.5 |
0.92 |
0.8 |
0.62 |
0.34 |
0.58 |
0.8776 |
| dot_accuracy@5 |
0.78 |
0.58 |
0.72 |
0.52 |
0.86 |
0.86 |
0.56 |
0.92 |
0.9 |
0.68 |
0.36 |
0.62 |
0.9388 |
| dot_accuracy@10 |
0.82 |
0.62 |
0.82 |
0.66 |
0.94 |
0.92 |
0.68 |
0.94 |
0.96 |
0.82 |
0.52 |
0.76 |
0.9796 |
| dot_precision@1 |
0.44 |
0.46 |
0.36 |
0.2 |
0.62 |
0.62 |
0.38 |
0.9 |
0.62 |
0.38 |
0.12 |
0.5 |
0.5306 |
| dot_precision@3 |
0.22 |
0.34 |
0.22 |
0.1467 |
0.5533 |
0.28 |
0.2333 |
0.46 |
0.2667 |
0.3 |
0.1133 |
0.2133 |
0.5782 |
| dot_precision@5 |
0.156 |
0.3 |
0.148 |
0.12 |
0.496 |
0.18 |
0.184 |
0.288 |
0.2 |
0.24 |
0.072 |
0.136 |
0.5184 |
| dot_precision@10 |
0.082 |
0.248 |
0.084 |
0.082 |
0.452 |
0.096 |
0.124 |
0.166 |
0.122 |
0.176 |
0.052 |
0.086 |
0.4755 |
| dot_recall@1 |
0.44 |
0.0375 |
0.35 |
0.105 |
0.0632 |
0.5967 |
0.2169 |
0.45 |
0.61 |
0.0797 |
0.12 |
0.475 |
0.0381 |
| dot_recall@3 |
0.66 |
0.0655 |
0.6 |
0.1973 |
0.1462 |
0.7767 |
0.3177 |
0.69 |
0.7667 |
0.1857 |
0.34 |
0.565 |
0.1221 |
| dot_recall@5 |
0.78 |
0.0961 |
0.68 |
0.2473 |
0.1933 |
0.8267 |
0.3892 |
0.72 |
0.8547 |
0.2487 |
0.36 |
0.595 |
0.1806 |
| dot_recall@10 |
0.82 |
0.14 |
0.76 |
0.3147 |
0.3088 |
0.8867 |
0.5136 |
0.83 |
0.9467 |
0.3617 |
0.52 |
0.75 |
0.3044 |
| dot_ndcg@10 |
0.6231 |
0.316 |
0.5691 |
0.253 |
0.5462 |
0.7572 |
0.419 |
0.7893 |
0.7938 |
0.3382 |
0.3118 |
0.6044 |
0.5158 |
| dot_mrr@10 |
0.5597 |
0.5143 |
0.5234 |
0.3331 |
0.7245 |
0.7287 |
0.4608 |
0.9125 |
0.7357 |
0.5126 |
0.2469 |
0.5658 |
0.7104 |
| dot_map@100 |
0.5694 |
0.135 |
0.5112 |
0.188 |
0.3998 |
0.7155 |
0.3528 |
0.7203 |
0.7423 |
0.2483 |
0.2538 |
0.562 |
0.3764 |
| query_active_dims |
46.54 |
57.22 |
52.58 |
200.24 |
59.84 |
136.7 |
40.84 |
56.44 |
23.78 |
108.84 |
562.24 |
224.22 |
18.9184 |
| query_sparsity_ratio |
0.9985 |
0.9981 |
0.9983 |
0.9934 |
0.998 |
0.9955 |
0.9987 |
0.9982 |
0.9992 |
0.9964 |
0.9816 |
0.9927 |
0.9994 |
| corpus_active_dims |
313.5269 |
638.8121 |
392.7436 |
496.554 |
333.1353 |
517.5905 |
385.743 |
349.5796 |
26.3426 |
573.3639 |
531.3667 |
611.2617 |
435.631 |
| corpus_sparsity_ratio |
0.9897 |
0.9791 |
0.9871 |
0.9837 |
0.9891 |
0.983 |
0.9874 |
0.9885 |
0.9991 |
0.9812 |
0.9826 |
0.98 |
0.9857 |
| avg_flops |
13.8657 |
27.3289 |
16.2441 |
60.977 |
18.8132 |
43.4376 |
19.0257 |
16.628 |
4.1781 |
45.5425 |
163.9853 |
95.1283 |
8.7876 |
Sparse Nano BEIR
- Dataset:
NanoBEIR_mean
- Evaluated with
SparseNanoBEIREvaluator with these parameters:{
"dataset_names": [
"msmarco",
"nfcorpus",
"nq"
],
"dataset_id": "sentence-transformers/NanoBEIR-en"
}
| Metric |
Value |
| dot_accuracy@1 |
0.42 |
| dot_accuracy@3 |
0.6133 |
| dot_accuracy@5 |
0.6933 |
| dot_accuracy@10 |
0.7533 |
| dot_precision@1 |
0.42 |
| dot_precision@3 |
0.26 |
| dot_precision@5 |
0.2013 |
| dot_precision@10 |
0.138 |
| dot_recall@1 |
0.2758 |
| dot_recall@3 |
0.4418 |
| dot_recall@5 |
0.5187 |
| dot_recall@10 |
0.5733 |
| dot_ndcg@10 |
0.5027 |
| dot_mrr@10 |
0.5325 |
| dot_map@100 |
0.4052 |
| query_active_dims |
52.1133 |
| query_sparsity_ratio |
0.9983 |
| corpus_active_dims |
417.8491 |
| corpus_sparsity_ratio |
0.9863 |
| avg_flops |
16.8444 |
Sparse Information Retrieval
| Metric |
NanoMSMARCO_64 |
NanoNFCorpus_64 |
NanoNQ_64 |
NanoClimateFEVER_64 |
NanoDBPedia_64 |
NanoFEVER_64 |
NanoFiQA2018_64 |
NanoHotpotQA_64 |
NanoQuoraRetrieval_64 |
NanoSCIDOCS_64 |
NanoArguAna_64 |
NanoSciFact_64 |
NanoTouche2020_64 |
| dot_accuracy@1 |
0.3 |
0.36 |
0.28 |
0.26 |
0.72 |
0.48 |
0.34 |
0.78 |
0.62 |
0.4 |
0.14 |
0.5 |
0.6327 |
| dot_accuracy@3 |
0.56 |
0.5 |
0.52 |
0.42 |
0.8 |
0.64 |
0.54 |
0.88 |
0.8 |
0.68 |
0.52 |
0.64 |
0.8571 |
| dot_accuracy@5 |
0.72 |
0.52 |
0.62 |
0.56 |
0.88 |
0.8 |
0.62 |
0.9 |
0.9 |
0.72 |
0.64 |
0.68 |
0.898 |
| dot_accuracy@10 |
0.82 |
0.6 |
0.74 |
0.64 |
0.94 |
0.9 |
0.66 |
0.94 |
0.96 |
0.8 |
0.78 |
0.76 |
0.9592 |
| dot_precision@1 |
0.3 |
0.36 |
0.28 |
0.26 |
0.72 |
0.48 |
0.34 |
0.78 |
0.62 |
0.4 |
0.14 |
0.5 |
0.6327 |
| dot_precision@3 |
0.1867 |
0.34 |
0.18 |
0.1533 |
0.54 |
0.2133 |
0.2467 |
0.4467 |
0.2667 |
0.3267 |
0.1733 |
0.22 |
0.5782 |
| dot_precision@5 |
0.144 |
0.296 |
0.128 |
0.128 |
0.512 |
0.164 |
0.2 |
0.316 |
0.204 |
0.28 |
0.128 |
0.148 |
0.5061 |
| dot_precision@10 |
0.082 |
0.228 |
0.08 |
0.08 |
0.456 |
0.092 |
0.118 |
0.17 |
0.122 |
0.19 |
0.078 |
0.086 |
0.4327 |
| dot_recall@1 |
0.3 |
0.0323 |
0.28 |
0.145 |
0.0753 |
0.4667 |
0.1769 |
0.39 |
0.61 |
0.0847 |
0.14 |
0.475 |
0.0424 |
| dot_recall@3 |
0.56 |
0.0624 |
0.51 |
0.2133 |
0.1475 |
0.6067 |
0.353 |
0.67 |
0.7667 |
0.2017 |
0.52 |
0.61 |
0.1172 |
| dot_recall@5 |
0.72 |
0.0894 |
0.58 |
0.2757 |
0.2164 |
0.7633 |
0.4552 |
0.79 |
0.858 |
0.2877 |
0.64 |
0.665 |
0.1799 |
| dot_recall@10 |
0.82 |
0.1102 |
0.72 |
0.3257 |
0.3246 |
0.8433 |
0.4926 |
0.85 |
0.9467 |
0.3877 |
0.78 |
0.75 |
0.286 |
| dot_ndcg@10 |
0.5462 |
0.2828 |
0.4996 |
0.2818 |
0.5646 |
0.6495 |
0.4027 |
0.772 |
0.7945 |
0.3651 |
0.4533 |
0.6205 |
0.493 |
| dot_mrr@10 |
0.4595 |
0.4336 |
0.4306 |
0.3719 |
0.7783 |
0.6032 |
0.4477 |
0.8375 |
0.7359 |
0.5368 |
0.3486 |
0.5873 |
0.7549 |
| dot_map@100 |
0.4693 |
0.1172 |
0.4342 |
0.2231 |
0.4159 |
0.5905 |
0.338 |
0.7022 |
0.7435 |
0.2689 |
0.357 |
0.5797 |
0.3614 |
| query_active_dims |
41.76 |
51.6 |
45.64 |
64.0 |
50.96 |
63.74 |
37.18 |
43.88 |
21.5 |
62.12 |
64.0 |
64.0 |
18.9184 |
| query_sparsity_ratio |
0.9986 |
0.9983 |
0.9985 |
0.9979 |
0.9983 |
0.9979 |
0.9988 |
0.9986 |
0.9993 |
0.998 |
0.9979 |
0.9979 |
0.9994 |
| corpus_active_dims |
63.9921 |
64.0 |
63.7462 |
63.9959 |
63.9692 |
64.0 |
63.9897 |
63.932 |
24.3761 |
64.0 |
64.0 |
64.0 |
63.6421 |
| corpus_sparsity_ratio |
0.9979 |
0.9979 |
0.9979 |
0.9979 |
0.9979 |
0.9979 |
0.9979 |
0.9979 |
0.9992 |
0.9979 |
0.9979 |
0.9979 |
0.9979 |
| avg_flops |
5.1669 |
7.0214 |
5.387 |
6.542 |
6.4564 |
6.5857 |
7.6373 |
5.9724 |
4.0877 |
6.2167 |
7.248 |
9.2891 |
4.491 |
Sparse Nano BEIR
- Dataset:
NanoBEIR_mean_64
- Evaluated with
SparseNanoBEIREvaluator with these parameters:{
"dataset_names": [
"msmarco",
"nfcorpus",
"nq"
],
"dataset_id": "sentence-transformers/NanoBEIR-en",
"max_active_dims": 64
}
| Metric |
Value |
| dot_accuracy@1 |
0.3133 |
| dot_accuracy@3 |
0.5267 |
| dot_accuracy@5 |
0.62 |
| dot_accuracy@10 |
0.72 |
| dot_precision@1 |
0.3133 |
| dot_precision@3 |
0.2356 |
| dot_precision@5 |
0.1893 |
| dot_precision@10 |
0.13 |
| dot_recall@1 |
0.2041 |
| dot_recall@3 |
0.3775 |
| dot_recall@5 |
0.4631 |
| dot_recall@10 |
0.5501 |
| dot_ndcg@10 |
0.4429 |
| dot_mrr@10 |
0.4412 |
| dot_map@100 |
0.3402 |
| query_active_dims |
46.3333 |
| query_sparsity_ratio |
0.9985 |
| corpus_active_dims |
63.8989 |
| corpus_sparsity_ratio |
0.9979 |
| avg_flops |
5.3125 |
Sparse Nano BEIR
- Dataset:
NanoBEIR_mean
- Evaluated with
SparseNanoBEIREvaluator with these parameters:{
"dataset_names": [
"climatefever",
"dbpedia",
"fever",
"fiqa2018",
"hotpotqa",
"msmarco",
"nfcorpus",
"nq",
"quoraretrieval",
"scidocs",
"arguana",
"scifact",
"touche2020"
],
"dataset_id": "sentence-transformers/NanoBEIR-en"
}
| Metric |
Value |
| dot_accuracy@1 |
0.4716 |
| dot_accuracy@3 |
0.6567 |
| dot_accuracy@5 |
0.7153 |
| dot_accuracy@10 |
0.803 |
| dot_precision@1 |
0.4716 |
| dot_precision@3 |
0.3019 |
| dot_precision@5 |
0.2337 |
| dot_precision@10 |
0.1727 |
| dot_recall@1 |
0.2755 |
| dot_recall@3 |
0.4179 |
| dot_recall@5 |
0.4747 |
| dot_recall@10 |
0.5736 |
| dot_ndcg@10 |
0.5259 |
| dot_mrr@10 |
0.5791 |
| dot_map@100 |
0.4442 |
| query_active_dims |
122.3436 |
| query_sparsity_ratio |
0.996 |
| corpus_active_dims |
402.8399 |
| corpus_sparsity_ratio |
0.9868 |
| avg_flops |
27.3454 |
Sparse Information Retrieval
| Metric |
NanoClimateFEVER_256 |
NanoDBPedia_256 |
NanoFEVER_256 |
NanoFiQA2018_256 |
NanoHotpotQA_256 |
NanoMSMARCO_256 |
NanoNFCorpus_256 |
NanoNQ_256 |
NanoQuoraRetrieval_256 |
NanoSCIDOCS_256 |
NanoArguAna_256 |
NanoSciFact_256 |
NanoTouche2020_256 |
| dot_accuracy@1 |
0.2 |
0.64 |
0.72 |
0.4 |
0.88 |
0.46 |
0.36 |
0.36 |
0.62 |
0.42 |
0.14 |
0.52 |
0.5306 |
| dot_accuracy@3 |
0.52 |
0.84 |
0.76 |
0.5 |
0.92 |
0.68 |
0.52 |
0.6 |
0.8 |
0.66 |
0.4 |
0.64 |
0.8571 |
| dot_accuracy@5 |
0.56 |
0.86 |
0.82 |
0.56 |
0.92 |
0.78 |
0.56 |
0.72 |
0.9 |
0.76 |
0.48 |
0.7 |
0.9388 |
| dot_accuracy@10 |
0.66 |
0.92 |
0.92 |
0.68 |
0.94 |
0.82 |
0.58 |
0.88 |
0.96 |
0.86 |
0.64 |
0.76 |
0.9796 |
| dot_precision@1 |
0.2 |
0.64 |
0.72 |
0.4 |
0.88 |
0.46 |
0.36 |
0.36 |
0.62 |
0.42 |
0.14 |
0.52 |
0.5306 |
| dot_precision@3 |
0.18 |
0.54 |
0.2533 |
0.24 |
0.46 |
0.2267 |
0.3267 |
0.2067 |
0.2667 |
0.34 |
0.1333 |
0.2267 |
0.5918 |
| dot_precision@5 |
0.128 |
0.508 |
0.164 |
0.196 |
0.292 |
0.156 |
0.3 |
0.148 |
0.2 |
0.26 |
0.096 |
0.16 |
0.5388 |
| dot_precision@10 |
0.082 |
0.456 |
0.1 |
0.122 |
0.166 |
0.082 |
0.254 |
0.09 |
0.122 |
0.188 |
0.064 |
0.086 |
0.4694 |
| dot_recall@1 |
0.105 |
0.0636 |
0.6867 |
0.2269 |
0.44 |
0.46 |
0.0312 |
0.35 |
0.61 |
0.0887 |
0.14 |
0.485 |
0.0396 |
| dot_recall@3 |
0.2507 |
0.1456 |
0.7267 |
0.3277 |
0.69 |
0.68 |
0.064 |
0.56 |
0.7667 |
0.2117 |
0.4 |
0.62 |
0.1269 |
| dot_recall@5 |
0.2823 |
0.1996 |
0.7667 |
0.4106 |
0.73 |
0.78 |
0.0921 |
0.67 |
0.8547 |
0.2687 |
0.48 |
0.69 |
0.1829 |
| dot_recall@10 |
0.3323 |
0.3108 |
0.9033 |
0.5086 |
0.83 |
0.82 |
0.1192 |
0.82 |
0.9467 |
0.3857 |
0.64 |
0.75 |
0.3019 |
| dot_ndcg@10 |
0.2751 |
0.5533 |
0.7866 |
0.4239 |
0.789 |
0.6347 |
0.3026 |
0.5853 |
0.7938 |
0.3667 |
0.3787 |
0.6267 |
0.5129 |
| dot_mrr@10 |
0.3671 |
0.7467 |
0.7687 |
0.4731 |
0.9025 |
0.575 |
0.45 |
0.5265 |
0.7357 |
0.5506 |
0.297 |
0.5951 |
0.7084 |
| dot_map@100 |
0.2105 |
0.4075 |
0.7472 |
0.3619 |
0.7241 |
0.5846 |
0.1286 |
0.5099 |
0.7423 |
0.274 |
0.3088 |
0.5887 |
0.3752 |
| query_active_dims |
190.42 |
59.84 |
136.7 |
40.84 |
56.44 |
46.54 |
57.22 |
52.58 |
23.78 |
108.84 |
254.88 |
209.54 |
18.9184 |
| query_sparsity_ratio |
0.9938 |
0.998 |
0.9955 |
0.9987 |
0.9982 |
0.9985 |
0.9981 |
0.9983 |
0.9992 |
0.9964 |
0.9916 |
0.9931 |
0.9994 |
| corpus_active_dims |
253.9586 |
241.2501 |
252.6761 |
248.5826 |
239.5544 |
246.0133 |
255.8415 |
232.8483 |
26.3426 |
255.4244 |
255.4465 |
255.9846 |
234.4869 |
| corpus_sparsity_ratio |
0.9917 |
0.9921 |
0.9917 |
0.9919 |
0.9922 |
0.9919 |
0.9916 |
0.9924 |
0.9991 |
0.9916 |
0.9916 |
0.9916 |
0.9923 |
| avg_flops |
37.4757 |
16.0535 |
27.7506 |
15.9107 |
13.8505 |
12.246 |
16.7266 |
12.472 |
4.1781 |
27.1029 |
53.8559 |
50.9131 |
7.2412 |
Sparse Nano BEIR
- Dataset:
NanoBEIR_mean_256
- Evaluated with
SparseNanoBEIREvaluator with these parameters:{
"dataset_names": [
"climatefever",
"dbpedia",
"fever",
"fiqa2018",
"hotpotqa",
"msmarco",
"nfcorpus",
"nq",
"quoraretrieval",
"scidocs",
"arguana",
"scifact",
"touche2020"
],
"dataset_id": "sentence-transformers/NanoBEIR-en",
"max_active_dims": 256
}
| Metric |
Value |
| dot_accuracy@1 |
0.4808 |
| dot_accuracy@3 |
0.669 |
| dot_accuracy@5 |
0.7353 |
| dot_accuracy@10 |
0.8154 |
| dot_precision@1 |
0.4808 |
| dot_precision@3 |
0.3071 |
| dot_precision@5 |
0.2421 |
| dot_precision@10 |
0.1755 |
| dot_recall@1 |
0.2867 |
| dot_recall@3 |
0.4285 |
| dot_recall@5 |
0.4929 |
| dot_recall@10 |
0.5899 |
| dot_ndcg@10 |
0.5407 |
| dot_mrr@10 |
0.592 |
| dot_map@100 |
0.4587 |
| query_active_dims |
96.7766 |
| query_sparsity_ratio |
0.9968 |
| corpus_active_dims |
226.1286 |
| corpus_sparsity_ratio |
0.9926 |
| avg_flops |
16.3268 |
Sparse Information Retrieval
| Metric |
NanoClimateFEVER_128 |
NanoDBPedia_128 |
NanoFEVER_128 |
NanoFiQA2018_128 |
NanoHotpotQA_128 |
NanoMSMARCO_128 |
NanoNFCorpus_128 |
NanoNQ_128 |
NanoQuoraRetrieval_128 |
NanoSCIDOCS_128 |
NanoArguAna_128 |
NanoSciFact_128 |
NanoTouche2020_128 |
| dot_accuracy@1 |
0.3 |
0.7 |
0.56 |
0.4 |
0.88 |
0.38 |
0.42 |
0.38 |
0.62 |
0.4 |
0.08 |
0.48 |
0.5918 |
| dot_accuracy@3 |
0.46 |
0.84 |
0.7 |
0.52 |
0.92 |
0.66 |
0.52 |
0.62 |
0.8 |
0.62 |
0.42 |
0.66 |
0.8367 |
| dot_accuracy@5 |
0.6 |
0.86 |
0.86 |
0.58 |
0.92 |
0.76 |
0.56 |
0.68 |
0.9 |
0.72 |
0.5 |
0.7 |
0.9388 |
| dot_accuracy@10 |
0.66 |
0.96 |
0.92 |
0.66 |
0.94 |
0.82 |
0.6 |
0.82 |
0.96 |
0.84 |
0.76 |
0.76 |
1.0 |
| dot_precision@1 |
0.3 |
0.7 |
0.56 |
0.4 |
0.88 |
0.38 |
0.42 |
0.38 |
0.62 |
0.4 |
0.08 |
0.48 |
0.5918 |
| dot_precision@3 |
0.1667 |
0.54 |
0.2333 |
0.24 |
0.4667 |
0.22 |
0.32 |
0.2133 |
0.2667 |
0.3133 |
0.14 |
0.2267 |
0.6054 |
| dot_precision@5 |
0.132 |
0.508 |
0.176 |
0.192 |
0.3 |
0.152 |
0.308 |
0.14 |
0.2 |
0.26 |
0.1 |
0.152 |
0.5592 |
| dot_precision@10 |
0.084 |
0.46 |
0.1 |
0.118 |
0.164 |
0.082 |
0.252 |
0.088 |
0.122 |
0.204 |
0.076 |
0.086 |
0.4735 |
| dot_recall@1 |
0.1673 |
0.0653 |
0.5367 |
0.2369 |
0.44 |
0.38 |
0.0342 |
0.36 |
0.61 |
0.0837 |
0.08 |
0.46 |
0.0426 |
| dot_recall@3 |
0.2373 |
0.1425 |
0.6667 |
0.3367 |
0.7 |
0.66 |
0.0737 |
0.58 |
0.7667 |
0.1937 |
0.42 |
0.62 |
0.125 |
| dot_recall@5 |
0.2797 |
0.1993 |
0.8133 |
0.4181 |
0.75 |
0.76 |
0.0922 |
0.63 |
0.8547 |
0.2667 |
0.5 |
0.67 |
0.1896 |
| dot_recall@10 |
0.3347 |
0.3241 |
0.9033 |
0.5001 |
0.82 |
0.82 |
0.1172 |
0.78 |
0.9467 |
0.4177 |
0.76 |
0.75 |
0.3069 |
| dot_ndcg@10 |
0.3043 |
0.5646 |
0.709 |
0.4274 |
0.7866 |
0.6001 |
0.3041 |
0.5683 |
0.7938 |
0.3786 |
0.3995 |
0.6173 |
0.5247 |
| dot_mrr@10 |
0.4187 |
0.7834 |
0.6599 |
0.4796 |
0.9029 |
0.5289 |
0.4754 |
0.5167 |
0.7357 |
0.5357 |
0.2874 |
0.5836 |
0.7259 |
| dot_map@100 |
0.2439 |
0.414 |
0.6445 |
0.3701 |
0.7262 |
0.5383 |
0.1288 |
0.5025 |
0.7423 |
0.2781 |
0.2966 |
0.5739 |
0.3777 |
| query_active_dims |
124.24 |
59.66 |
117.68 |
40.74 |
55.96 |
46.54 |
57.22 |
52.14 |
23.52 |
99.1 |
128.0 |
126.78 |
18.9184 |
| query_sparsity_ratio |
0.9959 |
0.998 |
0.9961 |
0.9987 |
0.9982 |
0.9985 |
0.9981 |
0.9983 |
0.9992 |
0.9968 |
0.9958 |
0.9958 |
0.9994 |
| corpus_active_dims |
127.9117 |
127.3046 |
127.8967 |
127.7055 |
126.7253 |
127.908 |
128.0 |
125.0781 |
26.0069 |
127.9743 |
127.9939 |
128.0 |
124.3459 |
| corpus_sparsity_ratio |
0.9958 |
0.9958 |
0.9958 |
0.9958 |
0.9958 |
0.9958 |
0.9958 |
0.9959 |
0.9991 |
0.9958 |
0.9958 |
0.9958 |
0.9959 |
| avg_flops |
15.9173 |
10.8497 |
15.0093 |
11.4256 |
9.687 |
8.1656 |
10.7655 |
8.4454 |
4.1659 |
14.1642 |
18.2635 |
21.8183 |
5.7189 |
Sparse Nano BEIR
- Dataset:
NanoBEIR_mean_128
- Evaluated with
SparseNanoBEIREvaluator with these parameters:{
"dataset_names": [
"climatefever",
"dbpedia",
"fever",
"fiqa2018",
"hotpotqa",
"msmarco",
"nfcorpus",
"nq",
"quoraretrieval",
"scidocs",
"arguana",
"scifact",
"touche2020"
],
"dataset_id": "sentence-transformers/NanoBEIR-en",
"max_active_dims": 128
}
| Metric |
Value |
| dot_accuracy@1 |
0.4763 |
| dot_accuracy@3 |
0.6597 |
| dot_accuracy@5 |
0.7368 |
| dot_accuracy@10 |
0.8231 |
| dot_precision@1 |
0.4763 |
| dot_precision@3 |
0.304 |
| dot_precision@5 |
0.2446 |
| dot_precision@10 |
0.1777 |
| dot_recall@1 |
0.269 |
| dot_recall@3 |
0.4248 |
| dot_recall@5 |
0.4941 |
| dot_recall@10 |
0.5985 |
| dot_ndcg@10 |
0.5368 |
| dot_mrr@10 |
0.5872 |
| dot_map@100 |
0.449 |
| query_active_dims |
73.1988 |
| query_sparsity_ratio |
0.9976 |
| corpus_active_dims |
117.9959 |
| corpus_sparsity_ratio |
0.9961 |
| avg_flops |
8.7317 |
Sparse Nano BEIR
- Dataset:
NanoBEIR_mean_64
- Evaluated with
SparseNanoBEIREvaluator with these parameters:{
"dataset_names": [
"climatefever",
"dbpedia",
"fever",
"fiqa2018",
"hotpotqa",
"msmarco",
"nfcorpus",
"nq",
"quoraretrieval",
"scidocs",
"arguana",
"scifact",
"touche2020"
],
"dataset_id": "sentence-transformers/NanoBEIR-en",
"max_active_dims": 64
}
| Metric |
Value |
| dot_accuracy@1 |
0.4471 |
| dot_accuracy@3 |
0.6429 |
| dot_accuracy@5 |
0.7275 |
| dot_accuracy@10 |
0.8076 |
| dot_precision@1 |
0.4471 |
| dot_precision@3 |
0.2978 |
| dot_precision@5 |
0.2426 |
| dot_precision@10 |
0.1704 |
| dot_recall@1 |
0.2476 |
| dot_recall@3 |
0.4106 |
| dot_recall@5 |
0.5016 |
| dot_recall@10 |
0.5874 |
| dot_ndcg@10 |
0.5174 |
| dot_mrr@10 |
0.5635 |
| dot_map@100 |
0.4308 |
| query_active_dims |
48.453 |
| query_sparsity_ratio |
0.9984 |
| corpus_active_dims |
60.3815 |
| corpus_sparsity_ratio |
0.998 |
| avg_flops |
4.9196 |
Training Details
Training Dataset
gooaq-hard-negatives
- Dataset: gooaq-hard-negatives at 87594a1
- Size: 99,000 training samples
- Columns:
question, answer, negative_1, negative_2, negative_3, negative_4, and negative_5
- Approximate statistics based on the first 100 samples:
|
question |
answer |
negative_1 |
negative_2 |
negative_3 |
negative_4 |
negative_5 |
| type |
string |
string |
string |
string |
string |
string |
string |
| modality |
text |
text |
text |
text |
text |
text |
text |
| details |
- min: 8 tokens
- mean: 12.03 tokens
- max: 17 tokens
|
- min: 15 tokens
- mean: 59.51 tokens
- max: 97 tokens
|
- min: 19 tokens
- mean: 59.18 tokens
- max: 103 tokens
|
- min: 19 tokens
- mean: 56.26 tokens
- max: 89 tokens
|
- min: 13 tokens
- mean: 59.7 tokens
- max: 95 tokens
|
- min: 14 tokens
- mean: 59.08 tokens
- max: 112 tokens
|
- min: 20 tokens
- mean: 60.14 tokens
- max: 92 tokens
|
- Samples:
| question |
answer |
negative_1 |
negative_2 |
negative_3 |
negative_4 |
negative_5 |
will acrylic paint stick to polyester? |
I recommend acrylic because polyester is a manmade fabric and acrylic is a water-based paint. Oil paints contain solvents. ... You could also use acrylic paint markers with good results. If you are painting on fabric you might want to spray it with some kind of protective coat after it's set for a few day. |
Acrylic resin (but not acrylic emulsion, which is the basis of acrylic paint) is a thermoplastic, which means it is one of a group of plastics which can be heated and manipulated repeatedly, whereas polyester resin and epoxy are thermosetting plastics, which use heat or a catalyst to solidify into a solid mass that won ... |
Acrylic paint is ideal on foam core because you do not need to use solvents like with oil paints. Acrylic it fast-drying, durable and adheres to most surfaces. It also has an even sheen and does not need a base coat. |
The short answer is no, house paint does not generally perform as well as artists' acrylics in terms of durability, lightfastness and appearance. ... Vehicles and binders used in house paints vary from one manufacturer to another, but usually the term “latex” or “acrylic latex” is used to describe the polymer base. |
Acrylics are synthetic paints designed to mix and blend just like oils. Acrylic paint dries extremely fast, to the extent it will dry on your palette if you do not use the paint quick enough. It is less forgiving in this manner and you must be decisive when you paint. |
You can paint acrylic paint over enamel paint, but only with proper surface preparation. If you just apply a coat of water-based paint, it won't adhere properly on the surface and the colour will fade quickly. That's because the sheen of the enamel paint interferes with the acrylic paint. |
what is the difference between zone 6 and zone 6a? |
Subset Zone Temperatures Each gardening zone is divided into two subsets; zone 6 subsets are 6a and 6b. ... Zone 6: This zone has a minimum average of temperatures of -10° to 0°F. Zone 6a: This subzone has a minimum average temperature of -10° to -5° F. Zone 6b: This subzone has a minimum average temperature of -5° to 0°F. |
The zone 2 feature allows this receiver to send a second source signal to a separate audio system in another location. For example, you can watch a DVD in the main zone, while others can listen to a CD in zone 2 at the same time. ... An additional audio system (for example, an amplifier) to output the sound in zone 2. |
The only difference is the size - Zone 1 measures 43cm, the 2 is 60 - and the further north you live the more likely you are to need the larger. |
Zone C may have ponding and local drainage problems that don't warrant a detailed study or designation as base floodplain. Zone X is the area determined to be outside the 500-year flood and protected by levee from 100- year flood. |
The USDA Hardiness Zone Map divides North America into 11 separate planting zones; each growing zone is 10°F warmer (or colder) in an average winter than the adjacent zone. If you see a hardiness zone in a gardening catalog or plant description, chances are it refers to this USDA map. |
Forward Lookup Zones—Forward Lookup Zones allow the DNS Server to resolve queries where the client sends a name to the DNS Server to request the IP address of the requested host. |
what is the working principle of electroscope? |
The principle of an electroscope is based on the atomic structure of elements, the internal structure of metal elements, charge induction, and the idea that like charges repel and opposite charges attract. All elements are composed of electrons, protons, and neutrons - with the electrons surrounding the nucleus. |
Detecting EM Waves. To detect the electric fields, use a conducting rod. The fields cause charges (generally electrons) to accelerate back and forth on the rod, creating a potential difference that oscillates at the frequency of the EM wave and with an amplitude proportional to the amplitude of the wave. |
['Head/Body houses the optical parts in the upper part of the microscope.', 'Base of the microscope supports the microscope and houses the illuminator.', 'Arm connects to the base and supports the microscope head.'] |
Handheld and benchtop equipment such as electronic meters are available to test parameters including pH, turbidity (the amount of particulate suspended in a liquid), and electrical conductivity. |
Electronystagmography (ENG or electrooculography) is used to evaluate people with vertigo (a false sense of spinning or motion that can cause dizziness) and certain other disorders that affect hearing and vision. Electrodes are placed at locations above and below the eye to record electrical activity. |
What is the working principle of magnetic flow meter? Faraday's Law The operation of a electromagnetic flowmeter is based upon Faraday's Law, which states that the voltage induced across any conductor as it moves at right angles through a magnetic field is proportional to the velocity of that conductor. |
- Loss:
CachedSpladeLoss with these parameters:{
"loss": "SparseMatryoshkaLoss(loss='SparseMultipleNegativesRankingLoss', max_active_dims=(None, 256, 128, 64), query_max_active_dims=(None, 256, 128, 64), matryoshka_weights=(0.25, 0.25, 0.25, 0.25), n_dims_per_step=-1)",
"document_regularizer_weight": 0.0001,
"query_regularizer_weight": 5e-05,
"mini_batch_size": 32,
"mini_batch_num_tokens": null
}
Evaluation Dataset
gooaq-hard-negatives
- Dataset: gooaq-hard-negatives at 87594a1
- Size: 1,000 evaluation samples
- Columns:
question, answer, negative_1, negative_2, negative_3, negative_4, and negative_5
- Approximate statistics based on the first 100 samples:
|
question |
answer |
negative_1 |
negative_2 |
negative_3 |
negative_4 |
negative_5 |
| type |
string |
string |
string |
string |
string |
string |
string |
| modality |
text |
text |
text |
text |
text |
text |
text |
| details |
- min: 8 tokens
- mean: 11.78 tokens
- max: 19 tokens
|
- min: 24 tokens
- mean: 61.1 tokens
- max: 147 tokens
|
- min: 16 tokens
- mean: 59.66 tokens
- max: 131 tokens
|
- min: 21 tokens
- mean: 62.78 tokens
- max: 149 tokens
|
- min: 20 tokens
- mean: 62.54 tokens
- max: 116 tokens
|
- min: 15 tokens
- mean: 58.56 tokens
- max: 110 tokens
|
- min: 19 tokens
- mean: 58.97 tokens
- max: 116 tokens
|
- Samples:
| question |
answer |
negative_1 |
negative_2 |
negative_3 |
negative_4 |
negative_5 |
is aiims and jipmer cancelled for 2020? |
According to the above-mentioned clause, the AIIMs and JIPMER medical entrances have been scrapped and the admissions will be conducted under NEET. ... The National Testing Agency will be conducting the NEET 2020 examination on May 3, 2020, in the pen and paper mode. |
Okeechobee Music and Arts Festival has been canceled for 2019. ... After months of radio silence from the Okeechobee Music and Arts Festival, organizers announced on Thursday afternoon that the 2019 gathering has been canceled, but say it will return in March 2020. |
Update: 2020 Minneapolis Summer X Games Cancelled April 24th, 2020: Due to the ongoing COVID-19 concerns, ESPN has announced X Games Minneapolis 2020, originally scheduled for July 17-19, has been cancelled. Please visit the Official X Games website for more information. |
New episodes will air at least until September 2020. But that doesn't mean the series is canceled. Chandler Massey, who portrays Will Horton on "Days," took to Twitter following the news to assure fans that the daytime soap opera isn't going anywhere. "We're not being cancelled," he tweeted Tuesday. |
New Delhi: Confirming that All India Institute of Medical Sciences (AIIMS) entrance will be merged with National Eligibility cum Entrance Test (NEET) from 2020-21 onwards, the Union Minister of State of Health and Family welfare stated that the move will ensure a common standard of medical education in the country and ... |
iZombie was renewed for a third season on March 11, 2016. iZombie was renewed for a fourth season on May 10, 2017, which premiered on February 26, 2018. iZombie was renewed for a fifth and final season on May 2018, which premiered on May 2, 2019. |
vs_installershell.exe has an invalid certificate vs 2019? |
Probably due to a pending Windows update not being installed. ... Please go to windows update and make sure all pending windows update are installed and reboot the computer, then go to C:\Program Files (x86)\Microsoft Visual Studio\Installer then run vs_installershell.exe as administrator. |
This issue may occur if one or more of the following condition are true: The computer's date and time settings are incorrect. The certificate has expired or is not yet valid. |
This issue may occur if one or more of the following condition are true: The computer's date and time settings are incorrect. The certificate has expired or is not yet valid. |
['Click Start > Run.', 'Type in MMC and click OK.', 'Go into the File Tab (or Console) > select Add/Remove Snap-in.', 'Click Add > Click Certificates and click Add, then click close.', 'Click OK (in the Add/Remove Snap-in window)', 'Select Computer Account.', 'Select Local Computer.', 'Click the + to expand the Certificates console tree.'] |
['Click Start > Run.', 'Type in MMC and click OK.', 'Go into the File Tab (or Console) > select Add/Remove Snap-in.', 'Click Add > Click Certificates and click Add, then click close.', 'Click OK (in the Add/Remove Snap-in window)', 'Select Computer Account.', 'Select Local Computer.', 'Click the + to expand the Certificates console tree.'] |
['Use certmgr. msc command inside Run dialog. Press Win+R keys -> type certmgr. ... ', 'Use Windows 10 to open the certificate. You can also simply double-click your . crt file in order for Windows to open it. ... ', 'Open . crt file inside your favorite browser. Right-click on the .'] |
do you get your period on depo? |
Many women stop having their menstrual periods after about 6-12 months of getting Depo-Provera® injections. This is no reason to worry. It's not a medical problem and it does not mean you are pregnant. It just means that your ovaries are resting, and the lining of your uterus does not grow. |
Many women stop having their menstrual periods after about 6-12 months of getting Depo-Provera® injections. This is no reason to worry. It's not a medical problem and it does not mean you are pregnant. It just means that your ovaries are resting, and the lining of your uterus does not grow. |
You will get your menstrual period back within 6-18 months after you stop taking the Depo-Provera® injections. |
You will get your menstrual period back within 6-18 months after you stop taking the Depo-Provera® injections. |
You will get your menstrual period back within 6-18 months after you stop taking the Depo-Provera® injections. |
It's not a medical problem and it does not mean you are pregnant. It just means that your ovaries are resting, and the lining of your uterus does not grow. So there is no menstrual bleeding. You will get your menstrual period back within 6-18 months after you stop taking the Depo-Provera® injections. |
- Loss:
CachedSpladeLoss with these parameters:{
"loss": "SparseMatryoshkaLoss(loss='SparseMultipleNegativesRankingLoss', max_active_dims=(None, 256, 128, 64), query_max_active_dims=(None, 256, 128, 64), matryoshka_weights=(0.25, 0.25, 0.25, 0.25), n_dims_per_step=-1)",
"document_regularizer_weight": 0.0001,
"query_regularizer_weight": 5e-05,
"mini_batch_size": 32,
"mini_batch_num_tokens": null
}
Training Hyperparameters
Non-Default Hyperparameters
per_device_train_batch_size: 32
num_train_epochs: 1
learning_rate: 2e-05
bf16: True
per_device_eval_batch_size: 32
data_seed: 42
batch_sampler: no_duplicates
All Hyperparameters
Click to expand
per_device_train_batch_size: 32
num_train_epochs: 1
max_steps: -1
learning_rate: 2e-05
lr_scheduler_type: linear
lr_scheduler_kwargs: None
warmup_steps: 0
optim: adamw_torch_fused
optim_args: None
weight_decay: 0.0
adam_beta1: 0.9
adam_beta2: 0.999
adam_epsilon: 1e-08
optim_target_modules: None
gradient_accumulation_steps: 1
average_tokens_across_devices: True
max_grad_norm: 1.0
label_smoothing_factor: 0.0
bf16: True
fp16: False
bf16_full_eval: False
fp16_full_eval: False
tf32: None
gradient_checkpointing: False
gradient_checkpointing_kwargs: None
torch_compile: False
torch_compile_backend: None
torch_compile_mode: None
use_liger_kernel: False
liger_kernel_config: None
use_cache: False
neftune_noise_alpha: None
torch_empty_cache_steps: None
auto_find_batch_size: False
log_on_each_node: True
logging_nan_inf_filter: True
include_num_input_tokens_seen: no
log_level: passive
log_level_replica: warning
disable_tqdm: False
project: huggingface
trackio_space_id: None
trackio_bucket_id: None
trackio_static_space_id: None
per_device_eval_batch_size: 32
prediction_loss_only: True
eval_on_start: False
eval_do_concat_batches: True
eval_use_gather_object: False
eval_accumulation_steps: None
include_for_metrics: []
batch_eval_metrics: False
save_only_model: False
save_on_each_node: False
enable_jit_checkpoint: False
push_to_hub: False
hub_private_repo: None
hub_model_id: None
hub_strategy: every_save
hub_always_push: False
hub_revision: None
load_best_model_at_end: False
ignore_data_skip: False
restore_callback_states_from_checkpoint: False
full_determinism: False
seed: 42
data_seed: 42
use_cpu: False
accelerator_config: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
parallelism_config: None
dataloader_drop_last: False
dataloader_num_workers: 0
dataloader_pin_memory: True
dataloader_persistent_workers: False
dataloader_prefetch_factor: None
dataloader_multiprocessing_context: None
dataloader_in_order: True
remove_unused_columns: True
label_names: None
train_sampling_strategy: random
length_column_name: length
ddp_find_unused_parameters: None
ddp_bucket_cap_mb: None
ddp_broadcast_buffers: False
ddp_static_graph: None
ddp_backend: None
ddp_timeout: 1800
fsdp: None
fsdp_config: None
deepspeed: None
debug: []
skip_memory_metrics: True
do_predict: False
resume_from_checkpoint: None
local_rank: -1
prompts: None
batch_sampler: no_duplicates
multi_dataset_batch_sampler: proportional
router_mapping: {}
learning_rate_mapping: {}
activation_checkpointing: False
activation_checkpointing_kwargs: None
warmup_ratio: None
Training Logs
| Epoch |
Step |
Training Loss |
Validation Loss |
NanoMSMARCO_dot_ndcg@10 |
NanoNFCorpus_dot_ndcg@10 |
NanoNQ_dot_ndcg@10 |
NanoBEIR_mean_dot_ndcg@10 |
NanoMSMARCO_64_dot_ndcg@10 |
NanoNFCorpus_64_dot_ndcg@10 |
NanoNQ_64_dot_ndcg@10 |
NanoBEIR_mean_64_dot_ndcg@10 |
NanoClimateFEVER_dot_ndcg@10 |
NanoDBPedia_dot_ndcg@10 |
NanoFEVER_dot_ndcg@10 |
NanoFiQA2018_dot_ndcg@10 |
NanoHotpotQA_dot_ndcg@10 |
NanoQuoraRetrieval_dot_ndcg@10 |
NanoSCIDOCS_dot_ndcg@10 |
NanoArguAna_dot_ndcg@10 |
NanoSciFact_dot_ndcg@10 |
NanoTouche2020_dot_ndcg@10 |
NanoClimateFEVER_256_dot_ndcg@10 |
NanoDBPedia_256_dot_ndcg@10 |
NanoFEVER_256_dot_ndcg@10 |
NanoFiQA2018_256_dot_ndcg@10 |
NanoHotpotQA_256_dot_ndcg@10 |
NanoMSMARCO_256_dot_ndcg@10 |
NanoNFCorpus_256_dot_ndcg@10 |
NanoNQ_256_dot_ndcg@10 |
NanoQuoraRetrieval_256_dot_ndcg@10 |
NanoSCIDOCS_256_dot_ndcg@10 |
NanoArguAna_256_dot_ndcg@10 |
NanoSciFact_256_dot_ndcg@10 |
NanoTouche2020_256_dot_ndcg@10 |
NanoBEIR_mean_256_dot_ndcg@10 |
NanoClimateFEVER_128_dot_ndcg@10 |
NanoDBPedia_128_dot_ndcg@10 |
NanoFEVER_128_dot_ndcg@10 |
NanoFiQA2018_128_dot_ndcg@10 |
NanoHotpotQA_128_dot_ndcg@10 |
NanoMSMARCO_128_dot_ndcg@10 |
NanoNFCorpus_128_dot_ndcg@10 |
NanoNQ_128_dot_ndcg@10 |
NanoQuoraRetrieval_128_dot_ndcg@10 |
NanoSCIDOCS_128_dot_ndcg@10 |
NanoArguAna_128_dot_ndcg@10 |
NanoSciFact_128_dot_ndcg@10 |
NanoTouche2020_128_dot_ndcg@10 |
NanoBEIR_mean_128_dot_ndcg@10 |
NanoClimateFEVER_64_dot_ndcg@10 |
NanoDBPedia_64_dot_ndcg@10 |
NanoFEVER_64_dot_ndcg@10 |
NanoFiQA2018_64_dot_ndcg@10 |
NanoHotpotQA_64_dot_ndcg@10 |
NanoQuoraRetrieval_64_dot_ndcg@10 |
NanoSCIDOCS_64_dot_ndcg@10 |
NanoArguAna_64_dot_ndcg@10 |
NanoSciFact_64_dot_ndcg@10 |
NanoTouche2020_64_dot_ndcg@10 |
| 0.0501 |
155 |
6.0748 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.1002 |
310 |
1.1041 |
0.9276 |
0.5678 |
0.2837 |
0.5264 |
0.4593 |
0.5225 |
0.2165 |
0.5234 |
0.4208 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.1503 |
465 |
0.9582 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.2004 |
620 |
0.9917 |
0.9225 |
0.5817 |
0.3013 |
0.5244 |
0.4691 |
0.5444 |
0.2683 |
0.4669 |
0.4265 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.2505 |
775 |
0.9537 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.3006 |
930 |
0.9412 |
0.8158 |
0.5775 |
0.3224 |
0.5436 |
0.4812 |
0.5553 |
0.2788 |
0.5017 |
0.4453 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.3507 |
1085 |
0.9376 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.4008 |
1240 |
0.8759 |
0.8066 |
0.5673 |
0.3199 |
0.5572 |
0.4815 |
0.5259 |
0.2677 |
0.5235 |
0.4390 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.4509 |
1395 |
0.8431 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.5010 |
1550 |
0.8460 |
0.7563 |
0.5723 |
0.3313 |
0.5821 |
0.4952 |
0.5338 |
0.2777 |
0.5304 |
0.4473 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.5511 |
1705 |
0.8521 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.6012 |
1860 |
0.8180 |
0.7399 |
0.6007 |
0.2997 |
0.5489 |
0.4831 |
0.5746 |
0.2737 |
0.4946 |
0.4476 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.6513 |
2015 |
0.8088 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.7014 |
2170 |
0.8033 |
0.7306 |
0.6177 |
0.3227 |
0.5504 |
0.4970 |
0.5632 |
0.2725 |
0.5076 |
0.4477 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.7515 |
2325 |
0.8048 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.8016 |
2480 |
0.8116 |
0.7149 |
0.6090 |
0.3182 |
0.5688 |
0.4987 |
0.5433 |
0.2853 |
0.5280 |
0.4522 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.8516 |
2635 |
0.7978 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.9017 |
2790 |
0.7981 |
0.7186 |
0.6119 |
0.3150 |
0.5382 |
0.4884 |
0.5361 |
0.2792 |
0.5162 |
0.4439 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.9518 |
2945 |
0.8002 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 1.0 |
3094 |
- |
0.7052 |
0.6231 |
0.3160 |
0.5691 |
0.5027 |
0.5462 |
0.2828 |
0.4996 |
0.4429 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| -1 |
-1 |
- |
- |
0.6231 |
0.3160 |
0.5691 |
0.5259 |
0.5462 |
0.2828 |
0.4996 |
0.5174 |
0.2530 |
0.5462 |
0.7572 |
0.4190 |
0.7893 |
0.7938 |
0.3382 |
0.3118 |
0.6044 |
0.5158 |
0.2751 |
0.5533 |
0.7866 |
0.4239 |
0.7890 |
0.6347 |
0.3026 |
0.5853 |
0.7938 |
0.3667 |
0.3787 |
0.6267 |
0.5129 |
0.5407 |
0.3043 |
0.5646 |
0.7090 |
0.4274 |
0.7866 |
0.6001 |
0.3041 |
0.5683 |
0.7938 |
0.3786 |
0.3995 |
0.6173 |
0.5247 |
0.5368 |
0.2818 |
0.5646 |
0.6495 |
0.4027 |
0.7720 |
0.7945 |
0.3651 |
0.4533 |
0.6205 |
0.4930 |
Training Time
- Training: 27.0 minutes
- Evaluation: 4.5 minutes
- Total: 31.5 minutes
Framework Versions
- Python: 3.11.6
- Sentence Transformers: 6.4.0.dev0
- Transformers: 5.22.1
- PyTorch: 2.10.0+cu128
- Accelerate: 1.14.0
- Datasets: 4.8.4
- Tokenizers: 0.23.2
Additional Resources
Citation
BibTeX
Sentence Transformers
@inproceedings{reimers-2019-sentence-bert,
title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
author = "Reimers, Nils and Gurevych, Iryna",
booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
month = "11",
year = "2019",
publisher = "Association for Computational Linguistics",
url = "https://arxiv.org/abs/1908.10084",
}
CachedSpladeLoss
@misc{gao2021scaling,
title={Scaling Deep Contrastive Learning Batch Size under Memory Limited Setup},
author={Luyu Gao and Yunyi Zhang and Jiawei Han and Jamie Callan},
year={2021},
eprint={2101.06983},
archivePrefix={arXiv},
primaryClass={cs.LG}
}
@misc{formal2022distillationhardnegativesampling,
title={From Distillation to Hard Negative Sampling: Making Sparse Neural IR Models More Effective},
author={Thibault Formal and Carlos Lassance and Benjamin Piwowarski and St\'ephane Clinchant},
year={2022},
eprint={2205.04733},
archivePrefix={arXiv},
primaryClass={cs.IR},
}
SparseMatryoshkaLoss
@misc{kusupati2024matryoshka,
title={Matryoshka Representation Learning},
author={Aditya Kusupati and Gantavya Bhatt and Aniket Rege and Matthew Wallingford and Aditya Sinha and Vivek Ramanujan and William Howard-Snyder and Kaifeng Chen and Sham Kakade and Prateek Jain and Ali Farhadi},
year={2024},
eprint={2205.13147},
archivePrefix={arXiv},
primaryClass={cs.LG}
}
FlopsLoss
@article{paria2020minimizing,
title={Minimizing flops to learn efficient sparse representations},
author={Paria, Biswajit and Yeh, Chih-Kuan and Yen, Ian EH and Xu, Ning and Ravikumar, Pradeep and P{'o}czos, Barnab{'a}s},
journal={arXiv preprint arXiv:2004.05665},
year={2020}
}
SparseMultipleNegativesRankingLoss
@misc{oord2019representationlearningcontrastivepredictive,
title={Representation Learning with Contrastive Predictive Coding},
author={Aaron van den Oord and Yazhe Li and Oriol Vinyals},
year={2019},
eprint={1807.03748},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/1807.03748},
}