Skip to content
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
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,16 @@ poetry install
Run the benchmark:

```bash
$ poetry shell
$ python run.py --help

Usage: run.py [OPTIONS]

Example: python3 -m run --engines *-m-16-* --datasets glove-*
Examples:

python3 run.py --engines "qdrant-rps-m-*-ef-*" --datasets "dbpedia-openai-100K-1536-angular" # Qdrant RPS mode

python3 run.py --engines "*-m-*-ef-*" --datasets "glove-*" # All engines and their configs for glove datasets

Options:
--engines TEXT [default: *]
Expand Down
7 changes: 5 additions & 2 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ def run(
skip_configure: Optional[bool] = False,
):
"""
Example:
python3 run.py --engines "*-m-16-*" --engines "qdrant-*" --datasets "glove-*"
Examples:

python3 run.py --engines "qdrant-rps-m-*-ef-*" --datasets "dbpedia-openai-100K-1536-angular" # Qdrant RPS mode

python3 run.py --engines "*-m-*-ef-*" --datasets "glove-*" # All engines and their configs for glove datasets
"""
all_engines = read_engine_configs()
all_datasets = read_dataset_config()
Expand Down
Loading