Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Intro to Ai Sentiment Analysis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
joshmk31
Intro to Ai Sentiment Analysis
Commits
cb27f10e
Commit
cb27f10e
authored
1 year ago
by
joshmk31
Browse files
Options
Downloads
Patches
Plain Diff
work on readme
parent
d63fbd43
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+31
-1
31 additions, 1 deletion
README.md
with
31 additions
and
1 deletion
README.md
+
31
−
1
View file @
cb27f10e
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment