ReaLLMASIC / nanoGPT

The simplest, fastest repository for training/finetuning medium-sized GPTs.
MIT License
23 stars 17 forks source link

Add interactivity to sample.py #172

Closed klei22 closed 3 months ago

klei22 commented 3 months ago

This change allows general chatting with the model.

The model will stop when it sees a given string, allow for user input, add to the generated input (concatenation) and then continue inference.