Skip to content

Commit

Permalink
chore: uncomment (TabbyML#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
vodkaslime authored Sep 8, 2023
1 parent d513368 commit 8955cf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions experimental/prompt-rewrite-eval/evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def generate_completion_segments(args):
toml.dump(config, f)

sample_index_command = [binary, "scheduler", "--now"]
# subprocess.run(sample_index_command, env={"TABBY_ROOT": sample_path})
subprocess.run(sample_index_command, env={"TABBY_ROOT": sample_path})

# Read in dataset.jsonl and build segments
contents = []
Expand Down Expand Up @@ -179,7 +179,7 @@ def rewrite_prompt(args):

def main():
args = toml.load("eval.toml")
# index(args)
index(args)
rewrite_prompt(args)

if __name__ == "__main__":
Expand Down

0 comments on commit 8955cf0

Please sign in to comment.