def _instantiate_model_class(self, model_data: RasaModelData) -> 'RasaModel':
    return self.model_class()(data_signature=model_data.get_signature(), label_data=self._label_data, entity_tag_specs=self._entity_tag_specs, config=self.component_config)
def _instantiate_model_class(self, model_data: RasaModelData) -> 'RasaModel':
    return self.model_class()(data_signature=model_data.get_signature(), label_data=self._label_data, entity_tag_specs=self._entity_tag_specs, config=self.component_config)