A (Useless) Text Model in pure JS
lol js a useless text model. i was js bored so experimented with nodejs to train a model in pure js from scratch and its the result.
🧪 About This Experiment
The model is trained on a 20k sample of everyday english. The training script can be found in the repo, named train.js.
Heads up: it's not perfect! I'm still js experimenting.
🚀 How to Run
- Clone the repo in your work dir.
- Then make sure to install Node.js or Bun.
- And run one of the following commands in your terminal:
To use Node.js:
node index.js