From 66245bfe44eee1252c9f5ea7f6f2125ac99a736c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maik=20Fr=C3=B6be?= Date: Wed, 20 Mar 2024 07:28:15 +0100 Subject: [PATCH] Update README.md --- README.md | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index d301d9f..257d875 100644 --- a/README.md +++ b/README.md @@ -8,20 +8,12 @@ Please ensure that you have python >= 3.7, Docker, and tira-run installed (`pip3 ``` tira-run \ - --input-dataset workshop-on-open-web-search/query-processing-20231027-training \ - --input-run 'workshop-on-open-web-search/tira-ir-starter/Index (tira-ir-starter-pyterrier)' \ - --image mam10eks/qpptk:0.0.1 \ - --command 'python3 /qpptk_main.py -ti $inputRun/index/ --jsonl_queries $inputDataset/queries.jsonl --predict --retrieve --output $outputDir --cleanOutput --stats_index_path /tmp' + --input-dataset workshop-on-open-web-search/retrieval-20231027-training \ + --approach ir-benchmarks/qpptk/all-predictors \ + --input-run 'ir-benchmarks/tira-ir-starter/Index (tira-ir-starter-pyterrier)' ``` - File "/workspaces/QPP-EnhancedEval/code/qpptk/qpptk/global_manager.py", line 33, in run_pre_prediction_process - max_idf = process.calc_max_idf() - File "/workspaces/QPP-EnhancedEval/code/qpptk/qpptk/pre_retrieval_predictors.py", line 30, in calc_max_idf - return np.log(np.array(self.total_docs) / self.terms_df).max() - File "/usr/local/lib/python3.10/dist-packages/numpy/core/_methods.py", line 40, in _amax - return umr_maximum(a, axis, None, out, keepdims, initial, where) -ValueError: zero-size array to reduction operation maximum which has no identity - +In this command, `--input-dataset` refers to a dataset identifier (can be replaced with `--input-directory` to run on data not available in ir_datasets), `--approach` is the identifier of the qpptk software in TIRA that did run all available predictors, and `--input-run` specifies that a PyTerrier index should be constructed / passed produced by the software with the corresponding id. ## Build the Docker Images