Add torchscript export for IntentSlotClassificationModel.
Is there a way to check what jenkins is failing with? It seems the details link points to a non-public IP.
A bit of a roundabout way of allowing `IntentSlotClassificationModel`s to be exported to torchscript. Not immediately sure how to do this in a cleaner way without adding/changing too much.