I recently build an language model with N-gram model for text generation and for change I started exploring Neural Network for text generation. One thing I observed that the previous model results were better than the LSTM model even when both where built using same corpus.

  • $\begingroup$ This depends on the amount on you data, with much data neural nets will work better. By the way, neural nets are also type of ML algorithm. $\endgroup$ Apr 16 at 17:07
  • $\begingroup$ Please add a sample data on which your observation is based. NN needs more data. $\endgroup$
    – 10xAI
    Apr 17 at 6:26
  • $\begingroup$ N grams will not be able to capture the context like BERT, ELMo and other context deep learning based approaches. $\endgroup$ Apr 18 at 11:05


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.