Train GPT based on user file upload/input. This model is trained on Donald Knuth's Wikipedia page.
"gpt-3.5-turbo" is used.
Steps:
- Replace or add multiple files(training data) in the data folder located in the backend.
- Delete the index.json files in the main directory before running the flask server.
- Install backend dependencies using virtualenv and pip/pip3.
- Install frontend dependencies using npm i.
- Insert your OpenAI API key in the CustomGPT.py file.
- Run python file, this will initiate flask server.
- Run frontend using npm start.