Use Tensorflow Python to replace Tensorflow.js, for model training.
JS version is only for web tool API and model evaluation:
https://github.com/decentralizedlab/SmartIntentNN
pip install -r ./requirement.txt
python3 ./lstm_smartbert.py train [batch] [start id] [batch size] [epoch]