Convert model to tflite

Hi !

Is there a way to convert rasa nlu model to tflite file ?

I take a look on trained model, all we have is a list of pkl files, mapping and metadata ; tflite_converter can work with a Keras H5 model or SavedModel, but how to convert Rasa NLU model to something that tensorflow lite can use ?

Thanks !!

for now it is not supported, we’re using custom keras model that is not straightforward to convert

@Ghostvv Would you please explain “custom keras model” part more. How are you doing it ?

you can find our custom model here: rasa/ at main · RasaHQ/rasa · GitHub