/sentiment-analysis

Primary LanguageJupyter Notebook

A set of tools and models for sentiment analysis on Kaggle Datset.

To set up in your python environment using Anaconda or python-venv, run

pip install numpy matplotlib scikit-learn pandas nltk tiktoken torch transformers jupyter

To finetune on GPT2 with openAI pretrained weights run

python -m models.finetune_gpt2