How to convert LSTM based sentiment analysis to FHE equivalent?

How to convert LSTM based sentiment analysis model to FHE equivalent? I have converted the LSTM based sentiment analysis model to ONNX but when try to compile it, get an error “LSTM” is not supported.

1 Like

Hi @zakir,

LSTM onnx nodes are not yet supported in concrete-ml that’s why you get the error.

You can open a feature request on concrete-ml github repo https://github.com/zama-ai/concrete-ml/issues.

Or if you feel like implementing it in concrete-ml directly feel free to do so and open a PR!

1 Like

Hi, @jfrery are there any resources or guides related to implementing the onnx nodes. Currently interested in working on this for a class project.

Hi @singhaa,

Now we have yes: Support new ONNX node | 1.5 | Concrete ML

Feel free to open an issue if anything is unclear.

1 Like