Skip to content

Commit

Permalink
fix: wrong split for truthful_qa
Browse files Browse the repository at this point in the history
  • Loading branch information
Davidyz committed Jul 10, 2024
1 parent 0d7e803 commit 958c396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llm_unlearn_ucl/data_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def make_dataset(
)
if dataset_uri == "truthfulqa/truthful_qa":
full_dataset = cast(
Dataset, load_dataset(dataset_uri, "generation", split=split)
Dataset, load_dataset(dataset_uri, "generation", split="validation")
)
full_dataset = cast(
Dataset, load_dataset(dataset_uri, split=split)
Expand Down

0 comments on commit 958c396

Please sign in to comment.