from huggingface_hub import snapshot_download # Download the model locally snapshot_download( repo_id="ibm-granite/granite-4.0-micro", local_dir="./granite-4.0-micro" )