Skip to content

Commit

Permalink
fix multiclass label bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristyKoh committed Apr 12, 2023
1 parent e536aa6 commit 66c7a6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elk/extraction/prompt_loading.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def qa_cat(q: str, a: str) -> str:
raise ValueError(f'Prompt duplicated {dup_count} times! "{maybe_dup}"')

return dict(
label=label,
label=new_label,
prompts=prompts,
template_names=prompter.all_template_names,
)

0 comments on commit 66c7a6b

Please sign in to comment.