haystack/docs/_src/benchmarks/retriever_map.json
Branden Chan 77d4c2ca1c
Benchmark milvus (#850)
* Add milvus benchmarking support

* Add latest docstring and tutorial changes

* Edit config

* Disable docker interactive mode

* Add milvus index type support

* Adjust FAISS and Milvus node branching

* Remove duplicate in config

* Revert method for speedup

* Add latest docstring and tutorial changes

* Add latest benchmark run

* Add latest docstring and tutorial changes

* Add json files

* Revert "Add latest docstring and tutorial changes"

This reverts commit e2efa5f08aa4fb55bbeeed42aa76817d63fc8923.

* Add latest docstring and tutorial changes

* Revert "Add latest docstring and tutorial changes"

This reverts commit b085a679b9d5f175e91c2c59565e73c5dec1374b.

* Fix typo

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-04-13 14:54:15 +02:00

144 lines
3.8 KiB
JSON

{
"chart_type": "LineChart",
"title": "Retriever Accuracy",
"subtitle": "mAP at different number of docs",
"description": "Here you can see how the mean avg. precision (mAP) of the retriever decays as the number of documents increases. The set up is the same as the above querying benchmark except that a varying number of negative documents are used to fill the document store.",
"columns": [
"n_docs",
"BM25 / ElasticSearch",
"DPR / ElasticSearch",
"DPR / FAISS (flat)",
"DPR / FAISS (HNSW)",
"DPR / Milvus (flat)",
"DPR / Milvus (HNSW)"
],
"axis": [
{
"x": "Number of docs",
"y": "mAP"
}
],
"data": [
{
"model": "DPR / ElasticSearch",
"n_docs": 10000,
"map": 89.87097014904356
},
{
"model": "BM25 / ElasticSearch",
"n_docs": 100000,
"map": 56.259591531012504
},
{
"model": "BM25 / ElasticSearch",
"n_docs": 10000,
"map": 66.33019927857616
},
{
"model": "DPR / ElasticSearch",
"n_docs": 1000,
"map": 92.95105322830891
},
{
"model": "BM25 / ElasticSearch",
"n_docs": 1000,
"map": 74.20444712972909
},
{
"model": "DPR / ElasticSearch",
"n_docs": 100000,
"map": 86.54606328368973
},
{
"model": "BM25 / ElasticSearch",
"n_docs": 500000,
"map": 45.60339705629754
},
{
"model": "DPR / ElasticSearch",
"n_docs": 500000,
"map": 80.86137228234091
},
{
"model": "DPR / FAISS (flat)",
"n_docs": 1000,
"map": 92.95105322830891
},
{
"model": "DPR / FAISS (flat)",
"n_docs": 500000,
"map": 80.86137228234091
},
{
"model": "DPR / FAISS (flat)",
"n_docs": 10000,
"map": 89.87097014904354
},
{
"model": "DPR / FAISS (flat)",
"n_docs": 100000,
"map": 86.54606328368973
},
{
"model": "DPR / FAISS (HNSW)",
"n_docs": 10000,
"map": 89.49563682134192
},
{
"model": "DPR / FAISS (HNSW)",
"n_docs": 100000,
"map": 84.33419639513305
},
{
"model": "DPR / FAISS (HNSW)",
"n_docs": 500000,
"map": 75.73315903145605
},
{
"model": "DPR / FAISS (HNSW)",
"n_docs": 1000,
"map": 92.95105322830891
},
{
"model": "DPR / Milvus (flat)",
"n_docs": 1000,
"map": 92.95105322830891
},
{
"model": "DPR / Milvus (flat)",
"n_docs": 10000,
"map": 89.87097014904354
},
{
"model": "DPR / Milvus (flat)",
"n_docs": 100000,
"map": 86.54606328368973
},
{
"model": "DPR / Milvus (flat)",
"n_docs": 500000,
"map": 80.86137228234091
},
{
"model": "DPR / Milvus (HNSW)",
"n_docs": 1000,
"map": 92.95105322830891
},
{
"model": "DPR / Milvus (HNSW)",
"n_docs": 10000,
"map": 89.87097014904354
},
{
"model": "DPR / Milvus (HNSW)",
"n_docs": 500000,
"map": 74.85616575291942
},
{
"model": "DPR / Milvus (HNSW)",
"n_docs": 100000,
"map": 86.54606328368973
}
]
}