Table 2: Performance of pre-trained vs. SPG-retrained models. All models are evaluated a subset of COCO val2017, on the 21 categories that are present in the Pascal VOC dataset.
Prepare the ImageNet dataset manually and place it in /path/to/imagenet. For image classification examples, pass the argument --data-path=/path/to/imagenet to the training script. The extracted dataset directory should follow this structure:
Prepare the MS-COCO 2017 dataset manually and place it in /path/to/coco. For semantic segmentation examples, pass the argument --data-path=/path/to/coco to the training script. The extracted dataset directory should follow this structure:
Prepare the GSM8K dataset manually and place it in /path/to/gsm8k. For language modeling examples, pass the argument --data-path=/path/to/gsm8k to the training script. The extracted dataset directory should follow this structure:
setup
1/path/to/gsm8k/:
2 train.parquet
3 test.parquet
For 🗣️ Keyword Spotting subset, Common Language, SQuAD, Common Voice, GLUE and WMT datasets, manual downloading is not required — they will be automatically loaded via the Hugging Face Datasets library when running our audio-classification, question-answering, speech-recognition, text-classification, or translation examples.