File size: 308 Bytes
5fa1a76 |
1 2 3 |
HF_DATASETS_OFFLINE=1 TRANSFORMERS_OFFLINE=1 \ python examples/pytorch/translation/run_translation.py --model_name_or_path google-t5/t5-small --dataset_name wmt16 --dataset_config ro-en This script should run without hanging or waiting to timeout because it won't attempt to download the model from the Hub. |