Skip to content

Commit

Permalink
Remove deprecated task in load_dataset (huggingface#33433)
Browse files Browse the repository at this point in the history
  • Loading branch information
albertvillanova authored Sep 11, 2024
1 parent 91f19a5 commit 42babe8
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,6 @@ def main():
data_args.dataset_name,
data_args.dataset_config_name,
cache_dir=model_args.cache_dir,
task="image-classification",
token=model_args.token,
trust_remote_code=model_args.trust_remote_code,
)
Expand All @@ -296,7 +295,6 @@ def main():
"imagefolder",
data_files=data_files,
cache_dir=model_args.cache_dir,
task="image-classification",
)
# See more about loading any type of standard or custom dataset (from files, python dict, pandas DataFrame, etc) at
# https://huggingface.co/docs/datasets/loading_datasets.
Expand Down

0 comments on commit 42babe8

Please sign in to comment.