To run our code:
- git clone the project to your local
- import the file in google colab
- in the "gptRequest" function, enter your openai secret key on line 2
- uncomment the 2 code blocks below the "gptRequest" function
- in the "Data Augmentation" section of the code, enter your openai secret key on line 2
- uncomment the 2 code blocks in the "Data Augmentation" section to generate the dataset
- run all
- to use the trained model, unzip model.zip file and upload in a google drive folder named "ECE1786", or change the path in frontend.ipynb.