Deep Learning Based Emotion Recognition with PyTorch and TensorFlow

In this tutorial we are going to learn how to train deep neural networks, such as recurrent neural networks (RNNs), for addressing a natural language task known as emotion recognition.

Elvis
Elvis
Oct 18, 2018 · 2 min read
Image for post
Image for post

In this tutorial we are going to learn how to train deep neural networks, such as recurrent neural networks (RNNs), for addressing a natural language task known as emotion recognition. We will cover everything you need to know to get started with NLP using deep learning frameworks such as TensorFlow and PyTorch. We will cover the common best practices, functionalities, and steps you need to understand the basics of TensorFlow’s and PyTorch’s APIs to build powerful predictive models via the computation graph. In the process of building our models, we will compare PyTorch and TensorFlow to let the learner appreciate the strengths of each tool.

Below is a clip demonstrating what the notebooks contains:

Image for post
Image for post

TensorFlow version (Colab Notebook | GitHub)

PyTorch version (Colab Notebook | GitHub)


One last quick thing: any sort of engagement (like follows, shares, 👏👏👏, and feedback) will make a huge difference for the future and sustainability of the dair.ai publication. So I will deeply appreciate any of that in advance.

Elvis

Written by

Elvis

ML and NLP Research Scientist | Ph.D. | Twitter (https://twitter.com/omarsar0) and LinkedIn (https://www.linkedin.com/in/omarsar/)

dair.ai

dair.ai

Democratizing Artificial Intelligence Research, Education, Technologies

Elvis

Written by

Elvis

ML and NLP Research Scientist | Ph.D. | Twitter (https://twitter.com/omarsar0) and LinkedIn (https://www.linkedin.com/in/omarsar/)

dair.ai

dair.ai

Democratizing Artificial Intelligence Research, Education, Technologies

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store