Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gushiqiao committed Nov 29, 2024
1 parent 127cfd0 commit dc9507f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llmc/eval/eval_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __init__(self, tokenizer, config):
self.res_path = eval_cfg.get('res_path', None)
if self.dataset in ['human_eval']:
assert self.res_path is not None
os.makedirs(self.res_path, exist_ok=True)
os.makedirs(self.res_path, exist_ok=True)
self.format_tabs = eval_cfg.get('format_tabs', False)

@torch.no_grad()
Expand Down

0 comments on commit dc9507f

Please sign in to comment.