Skip to content

Richard2926/NLP-Final

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NLP-Final

In order to run any of the 4 models, please navigate to the models directory and follow the respective readme associated under the model's folder.

In order to run the react web app, please navigate to the joke directory and follow the instructions under the readme file.

In order to view the data statistics, navigate to the dataset folder and run the ipynb file to see the results.

Running pretrained models

If you want to try out our BERT or GPT-2 models then we have specific scripts for trying those out!

For our BERT joke classifier navigate to ./models/BERT and checkout the README.md for the installs. The script is testBERT.py.

For our GPT joke generator navigate to ./models/GPT and checkout the README.md for the installs. The script is testGPT.py.

With these scripts you can try giving BERT some sentences to classify as jokes or not and you can prompt GPT with some inputs that it should turn into a joke by continuing.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published