Skip to content

Commit 5349674

Browse files
fix: [PrefEval Evaluation] propagate --lib and --version arguments in search and response modes (#780)
Co-authored-by: CaralHsi <[email protected]>
1 parent 8819cc5 commit 5349674

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

evaluation/scripts/run_prefeval_eval.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@ python $LIB_SCRIPT search \
108108
--input $IDS_FILE \
109109
--output $SEARCH_FILE \
110110
--top-k $TOP_K \
111-
--max-workers $WORKERS
111+
--max-workers $WORKERS \
112+
--lib $LIB \
113+
--version $VERSION
112114

113115
if [ $? -ne 0 ]; then
114116
echo "Error: $LIB_SCRIPT 'search' mode failed."
@@ -121,7 +123,9 @@ echo "Running $LIB_SCRIPT in 'response' mode..."
121123
python $LIB_SCRIPT response \
122124
--input $SEARCH_FILE \
123125
--output $RESPONSE_FILE \
124-
--max-workers $WORKERS
126+
--max-workers $WORKERS \
127+
--lib $LIB \
128+
--version $VERSION
125129

126130
if [ $? -ne 0 ]; then
127131
echo "Error: $LIB_SCRIPT 'response' mode failed."

0 commit comments

Comments
 (0)