Skip to content

Commit

Permalink
Remove vestigial label_column rename
Browse files Browse the repository at this point in the history
  • Loading branch information
norabelrose committed Apr 18, 2023
1 parent e1b1834 commit 8bb3802
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions elk/extraction/prompt_loading.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,6 @@ def load_prompts(
extra_cols = list(assert_type(Features, ds.features))
extra_cols.remove(label_column)

if label_column != "label":
ds = ds.rename_column(label_column, "label")

for example in ds:
yield _convert_to_prompts(
example,
Expand Down

0 comments on commit 8bb3802

Please sign in to comment.