Skip to content

Commit

Permalink
Remove dataset download twice
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
  • Loading branch information
andreyvelich committed Mar 15, 2024
1 parent f3fb861 commit 4aed481
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sdk/python/kubeflow/storage_initializer/hugging_face.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@ def download_dataset(self):
if self.config.access_token:
huggingface_hub.login(self.config.access_token)

load_dataset(self.config.repo_id, cache_dir=VOLUME_PATH_DATASET)

# Load dataset and save to disk.
dataset = load_dataset(
self.config.repo_id,
Expand Down

0 comments on commit 4aed481

Please sign in to comment.