Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Browser running LSTM for password prediction (qwertycards.com)
4 points by allspurs on May 14, 2021 | hide | past | favorite | 1 comment


Hi all - biggest challenge with this project was trying to get a pytorch LSTM model to run predictions in the browser. After trying to get onnx and tensorflow conversions working, had to give up and rebuild the model in Keras to export to tf.js. Web workers also help to have it run in the background, but was surprised to see the speed differences between different machines and modern phones (fast).

Trained on ~200k passwords with a few offensive words removed.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: