260042: The Input Model Definition File is invalid. Expected model types are: 'TextClassifier' and 'ZeroShotClassifier'.

Description

The input model definition file provided is not supported. Supported model types are TextClassifier and ZeroShotClassifier.

Solution

Review the input model definition file and ensure that the model type specified in the file is either TextClassifier or ZeroShotClassifier. To train a supported model, use the Train Text Classification Model tool.