We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65118b5 commit 2c8e989Copy full SHA for 2c8e989
1 file changed
examples/llm_prompt_optimization/evaluator.py
@@ -271,6 +271,7 @@ def evaluate_prompt(prompt, dataset, config, num_samples):
271
correct += 1
272
273
total += 1
274
+ continue # Skip the general case to avoid double counting
275
276
elif is_emotion:
277
# For emotion classification (0-5)
0 commit comments