-
Book Overview & Buying
-
Table Of Contents
Machine Learning for Emotion Analysis in Python
By :
In this section, we will work through the code for implementing transformers for both single-emotion and multi-emotion datasets. We will be using Google Colaboratory (Colab) as it simplifies the implementation of transformers by providing a powerful cloud-based environment with pre-installed libraries and resources. So, let’s begin by looking at that.
Google Colab is a free notebook environment service that runs in the cloud (https://colab.research.google.com). There are many benefits of using Colab; for example, it allows developers to start programming rapidly without having to worry about setup, it allows code to be shared with people who do not have the correct software installed locally, and it also integrates well with GitHub. However, one of the biggest advantages is that Google provides free access to GPUs. Machine learning, at its core, involves lots and lots of mathematical operations – something that GPUs are good...