ktrain icon indicating copy to clipboard operation
ktrain copied to clipboard

about ner tflite model

Open evilying opened this issue 3 years ago • 1 comments

Hi Amaiya,

I noticed that there is text and ner preprocessing, repectively. After I trained the ner model using Bilstm-transformer, there seems like two separate models in the predictor folder. Am I correct?

If I want to export the trained ner model (Bilstm-transformer) to tflite, I need to write two text preprocessing method (one for bilstm, another for transformer) on the android?

Thanks.

Best, K

evilying avatar Jul 31 '23 22:07 evilying

Hello: Yes, that sounds correct. The transformer model produces embeddings that are used as features in the BiLSTM model.

amaiya avatar Aug 01 '23 18:08 amaiya