miniai-1m / README.md
PyxiLabs's picture
Update README.md
559a9e5 verified
---
license: mit
language:
- en
pipeline_tag: text-generation
---
# 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
1. Clone the repo in your work dir.
2. Then make sure to install [Node.js](https://nodejs.org/) or [Bun](https://bun.sh/).
3. And run one of the following commands in your terminal:
To use **Node.js**:
```bash
node index.js