Skip to content

Question Answering using Bert-Large

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.

BERT validation run uses the SQuAD v1.1 dataset.

Get Validation Dataset

cm run script --tags=get,dataset,squad,validation -j

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 Bert-Large Model

Pytorch

cm run script --tags=get,ml-model,bert-large,_pytorch -j

Onnx

cm run script --tags=get,ml-model,bert-large,_onnx -j

Tensorflow

cm run script --tags=get,ml-model,bert-large,_tensorflow -j