Twitter emotions - Did emotions change during the pandemic when tweeting about nature?
0
stars
143
commits
Jupyter Notebook
primary language
Sep 17, 2023
updated
Project work for the DTU project course: "02466 Project work - Bachelor of Artificial Intelligence and Data Spring 23".
Twitter emotions - Did emotions change during the pandemic when tweeting about nature?
This repo contains the full code to reproduce analysis done in abovementioned project rapport.
The main idea is to take a big data set of tweets scraped using nature related keywords. This repo then contians functionality to pre-process data, use transfer learning to improve existing huggingface MLM's, fine tune MLM's to sentiment down stream tasks, and evaluate sentiment using fine tuned models, either pre trained or transfer learned and fintuned.
In general the repo is build with six scripts, most of them containing a script to perform an analysis and a script to evaluate the analysis afterwords. For each folder is one type of analysis, which are all described using local README files.
To run the entire analysis, use this script (it is not recommended to do this on a local computer, use an HPC)
Jupyter Notebook
94.2%
Shell
3.4%
Python
2.4%
Twitter emotions - Did emotions change during the pandemic when tweeting about nature?
0
stars
143
commits
Jupyter Notebook
primary language
Sep 17, 2023
updated
Project work for the DTU project course: "02466 Project work - Bachelor of Artificial Intelligence and Data Spring 23".
Twitter emotions - Did emotions change during the pandemic when tweeting about nature?
This repo contains the full code to reproduce analysis done in abovementioned project rapport.
The main idea is to take a big data set of tweets scraped using nature related keywords. This repo then contians functionality to pre-process data, use transfer learning to improve existing huggingface MLM's, fine tune MLM's to sentiment down stream tasks, and evaluate sentiment using fine tuned models, either pre trained or transfer learned and fintuned.
In general the repo is build with six scripts, most of them containing a script to perform an analysis and a script to evaluate the analysis afterwords. For each folder is one type of analysis, which are all described using local README files.
To run the entire analysis, use this script (it is not recommended to do this on a local computer, use an HPC)
Jupyter Notebook
94.2%
Shell
3.4%
Python
2.4%