Export the model using torchscript