Skip to content

bbulpett/test-chat-gpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

test-chat-gpt

This repository contains a test implementation of the GPT (Generative Pre-training Transformer) chatbot.

Requirements

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

Usage

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.

License

This code is licensed under the MIT License. See the LICENSE file for details.

About

Python test for Chat GPT API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages