Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/innerdoc/christmas-lyrics-emotion-detector
Detect Emotions on Christmas Lyrics with Zero-shot Emotion Classification. With the help of Streamlit and Plotly.
https://github.com/innerdoc/christmas-lyrics-emotion-detector
emotion-detection emotion-recognition natural-language-processing plotly plotly-python plutchik streamlit streamlit-webapp transformers zero-shot-classification
Last synced: 17 days ago
JSON representation
Detect Emotions on Christmas Lyrics with Zero-shot Emotion Classification. With the help of Streamlit and Plotly.
- Host: GitHub
- URL: https://github.com/innerdoc/christmas-lyrics-emotion-detector
- Owner: innerdoc
- License: mit
- Created: 2020-12-21T14:53:09.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-11-19T15:41:43.000Z (about 1 year ago)
- Last Synced: 2024-11-20T16:52:31.673Z (3 months ago)
- Topics: emotion-detection, emotion-recognition, natural-language-processing, plotly, plotly-python, plutchik, streamlit, streamlit-webapp, transformers, zero-shot-classification
- Language: Jupyter Notebook
- Homepage: https://www.innerdoc.com
- Size: 2.53 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Christmas Lyrics Emotion Detector
[![Open in Streamlit](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://www.innerdoc.com/christmas-lyrics-emotions-demo/) [![Twitter](https://img.shields.io/twitter/url/https/twitter.com/cloudposse.svg?style=social&label=Follow%20%40innerdoc)](https://twitter.com/innerdoc_nlp)
![alt text](christmas-lyrics-emotion-detector-post.png)
## About
This *Christmas Lyrics Emotion Detector* is created by [Rob van Zoest](https://www.linkedin.com/in/robvanzoest/) and started with the idea for a fun pre-christmas project:
- The **code** is available on [github.com/innerdoc](https://github.com/innerdoc/christmas-lyrics-emotion-detector)
- The **emotions** were taken from [Plutchik's wheel of Emotions](https://en.wikipedia.org/wiki/Robert_Plutchik)
- The **data** was generated with the help of *Zero-shot emotion classification* with [Transformers from Huggingface](https://joeddav.github.io/blog/2020/05/29/ZSL.html)
and this [Colab Notebook](https://colab.research.google.com/drive/1gcJq-6YXGca7i_8XUfq9z08MU_EWlkSd)
- The **interface** is build with the help of [Streamlit](https://www.streamlit.io/) and [Plotly](https://plotly.com/python/)## The result
[Open the demo app!](https://www.innerdoc.com/christmas-lyrics-emotions-demo/)Below an example of the App.
![alt text](christmas-lyrics-emotion-detector-streamlit.png "An example view of the Christmas Lyrics Emotions Detector App")
## Install and run
```
pip install -r requirements.txt
streamlit run christmas_lyrics_emotion_detector.py
```