nanoGPT icon indicating copy to clipboard operation
nanoGPT copied to clipboard

Running the code

Open ionbotYT opened this issue 2 years ago • 1 comments
trafficstars

When I try to run the code it doesn't work for some random reason... image It does not talk like a normal chatbot would.

ionbotYT avatar Jul 10 '23 01:07 ionbotYT

  1. Try downloading the entire git repository and work from there there, that made it work for me. Also, get your python on path, and just CD into the directory

like this:

cd C:/users/piyus/...
python sample.py
  1. This isn't ChatGPT. This is based of GPT-2 which was more like text completion or single prompt story writing. If you did want to train it to be more like chatgpt, you would have to edit the code to a format like the One I mentioned in https://github.com/karpathy/nanoGPT/issues/328 this is also followed by other models, including open source ones like redpajama-chat

hope this helps!

VatsaDev avatar Jul 12 '23 00:07 VatsaDev