Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
DhruvaBansal00 committed Oct 23, 2024
1 parent 7b69613 commit 951698a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/autolabel/tasks/attribute_extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,9 +363,9 @@ def parse_llm_response(
original_attr_labels,
)
)
llm_label[attribute["name"]] = (
self.config.label_separator().join(filtered_attr_labels)
)
llm_label[
attribute["name"]
] = self.config.label_separator().join(filtered_attr_labels)
if len(filtered_attr_labels) != len(original_attr_labels):
logger.warning(
f"Attribute {attr_label} from the LLM response {llm_label} is not in the labels list. Filtered list: {filtered_attr_labels}"
Expand Down

0 comments on commit 951698a

Please sign in to comment.