Skip to content

Commit

Permalink
fix error with only-rephrasals flag v2
Browse files Browse the repository at this point in the history
  • Loading branch information
rchan26 committed Nov 26, 2024
1 parent 2d3fb5e commit 617ce54
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/prompto/scripts/run_experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -707,6 +707,7 @@ async def main():
"Only rephrasing the experiment, not processing it. "
f"See rephrased prompts in {rephrased_experiment_path}!"
)
return None

original_experiment_file_path = experiment.input_file_path
original_experiment_name = experiment.experiment_name
Expand Down Expand Up @@ -735,8 +736,6 @@ async def main():
destination=destination,
)

return None

# process the experiment
logging.info(f"Starting processing experiment: {experiment.input_file_path}...")
await experiment.process(evaluation_funcs=scoring_functions)
Expand Down

0 comments on commit 617ce54

Please sign in to comment.