Skip to content

Commit

Permalink
Working to simplify output.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan committed May 28, 2024
1 parent cec8d66 commit 7558671
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions llm_eval/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ def process_dataset(self):
if col.endswith('.input'):
output_col = col.replace('.input', '.output')
prompt, output = self.generate_output(row[col])
output = self.post_process_output(output)
df.at[index, output_col] = output
self.unload_model(model_name)
return df
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "llm-eval"
version = "0.5.1"
version = "0.5.2"
authors = [
{name = "Jonathan Eisenzopf", email = "[email protected]"},
]
Expand Down

0 comments on commit 7558671

Please sign in to comment.