This repository contains a test implementation of the GPT (Generative Pre-training Transformer) chatbot.
This code was developed and tested with Python 3.8. It may work with other versions of Python, but this has not been tested. The following packages are required:
- transformers
- torch
- numpy
These can be installed via pip:
pip install transformers torch numpy
To use the chatbot, run the following command:
python main.py
This will start the chatbot, which will prompt you for input. Type a message and press Enter to send it to the chatbot. The chatbot will generate a response based on the input.
You can exit the chatbot by typing CTRL + C.
This code is licensed under the MIT License. See the LICENSE file for details.