machine-learning-articles
machine-learning-articles copied to clipboard
Understanding emotions - from Keras to pyTorch
TL;DR
How to implement DeepMoji from scratch in pyTorch.
Article Link
Understanding emotions - from Keras to pyTorch
Author
Huggingface 🤗
Key Takeaways
- Custom LSTM module
- Attention layer
- PackedSequence [doc]
- DataSet class [doc]
- Initialization of the weights
Useful Code Snippets
import torch
Useful Tools
Comments/ Questions
Nice article. What do you think about using this for?
This article is very useful in two ways.
- As a pipeline to develop NLP models in pyTorch from scratch
- For feature extraction related to emotions to feed other models.
Nice. I will go back to this article in the future as I need to perform feature extraction related to emotion or want to build NLP models in PyTorch from scratch