Skip to content

Text Summarization using GPT-J

Dataset

The benchmark implementation run command will automatically download the validation and calibration datasets and do the necessary preprocessing. In case you want to download only the datasets, you can use the below commands.

GPT-J validation run uses the CNNDM dataset.

Get Validation Dataset

mlcr get,dataset,cnndm,_validation -j

GPT-J calibration dataset is extracted from the CNNDM dataset.

Get Validation Dataset

mlcr get,dataset,cnndm,_calibration -j
  • --outdirname=<PATH_TO_DOWNLOAD_CNNDM_DATASET> could be provided to download the dataset to a specific location.

Model

The benchmark implementation run command will automatically download the required model and do the necessary conversions. In case you want to only download the official model, you can use the below commands.

Get the Official MLPerf GPT-J Model

Pytorch

mlcr get,ml-model,gptj,_pytorch -j
  • --outdirname=<PATH_TO_DOWNLOAD_GPTJ_MODEL> could be provided to download the model to a specific location.