Skip to content
Snippets Groups Projects
Commit cb27f10e authored by joshmk31's avatar joshmk31
Browse files

work on readme

parent d63fbd43
No related branches found
No related tags found
No related merge requests found
Authors: Sai Puppala, Josh Klein, Sid Pothineni, Kenneth Hsu, Dani Tolessa
Date: 11/27/23
We created a sentiment analysis tool that analyzes a user's input for sentiment and emotion. It also
returns a category of website it thinks that input would fit best, and it stores each analysis of that
session in a brief history box.
We used models from hugging face for this assignment.
Sentiment analysis model: https://huggingface.co/lxyuan/distilbert-base-multilingual-cased-sentiments-student?text=the+sky+is+cloudy
Emotional analysis model: https://huggingface.co/SamLowe/roberta-base-go_emotions?
Website classification model: https://huggingface.co/alimazhar-110/website_classification?text=I+like+you.+I+love+you
To use this program, you must do the following:
pip install tkinter pip install tkinter
pip install transformers pip install transformers
pip install tensorflow pip install tensorflow
pip install torch pip install torch
\ No newline at end of file
* You may need to use py -m pip install ... if pip install does not work.
After installing these, you should be able to use the following command to run the program:
py ui.py
Troubleshooting:
If you are having difficulty running the program, the following could be helpful:
- If using VS Code, ensure the interpreter (botom right) is pointed at the location of the pip installs
- Try "pip install --upgrade pip" if you are receiving errors, and try to pip install --upgrade the packages
- Try "pip install --upgrade transformers" if you are receiving errors about the transformers package (or any other package)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment