Kaggle / kagglehub

Python library to access Kaggle resources
Apache License 2.0
47 stars 9 forks source link

Add log before extracting model file. #68

Closed rosbo closed 7 months ago

rosbo commented 7 months ago

Extracting (unzipping) can take several seconds for large models. Adding an extra log statement to clarify that we are not simply hanging after the download completes.

$ hatch run python -c "import kagglehub; print(kagglehub.model_download('keras/bert/keras/bert_tiny_en_uncased'))"

Downloading from https://www.kaggle.com/api/v1/models/keras/bert/keras/bert_tiny_en_uncased/2/download...
100%|███████████████████████████████| 15.6M/15.6M [00:00<00:00, 139MB/s]
Extracting model files...