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

Separate data and view for benchmarks #451

Merged
merged 2 commits into from
Oct 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 0 additions & 36 deletions docs/_src/benchmarks/reader_performance.html

This file was deleted.

39 changes: 39 additions & 0 deletions docs/_src/benchmarks/reader_performance.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"chart_type": "BarChart",
"title": "Reader Performance",
"subtitle": "Time and Accuracy Benchmarks",
"description": "",
"bars": "horizontal",
"columns": [
"Model",
"Top 10 Accuracy",
"Time"
],
"data": [
{
"model": "RoBERTa",
"accuracy": 72.22222222222222,
"time": 56.033346766999784
},
{
"model": "MiniLM",
"accuracy": 38.88888888888889,
"time": 49.28621050500078
},
{
"model": "BERT base",
"accuracy": 31.48148148148148,
"time": 42.67899718899935
},
{
"model": "BERT large",
"accuracy": 53.70370370370371,
"time": 74.21550956300052
},
{
"model": "XLMR large",
"accuracy": 72.22222222222222,
"time": 76.56486266000047
}
]
}
44 changes: 0 additions & 44 deletions docs/_src/benchmarks/retriever_performance.html

This file was deleted.

37 changes: 37 additions & 0 deletions docs/_src/benchmarks/retriever_performance.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"chart_type": "BarChart",
"title": "Retriever Performance",
"subtitle": "Time and Accuracy Benchmarks",
"description": "",
"bars": "horizontal",
"columns": [
"Model",
"Recall",
"Index Time",
"Query Time"
],
"series": {
"s0": "recall",
"s1": "time",
"s2": "time"
},
"axes": {
"label": "recall",
"time_side": "top",
"time_label": "seconds"
},
"data": [
{
"model": "BM25 (Elasticsearch)",
"recall": 1.0,
"index_time": 3.868239733,
"query_time": 0.47588522500000074
},
{
"model": "DPR (FAISS)",
"recall": 0.9629629629629629,
"index_time": 18.181850872000723,
"query_time": 1.358759985992947
}
]
}