machine-learning-articles icon indicating copy to clipboard operation
machine-learning-articles copied to clipboard

Understanding emotions - from Keras to pyTorch

Open MarioGzSl opened this issue 4 years ago • 3 comments

TL;DR

How to implement DeepMoji from scratch in pyTorch. Paris

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

MarioGzSl avatar Apr 17 '20 02:04 MarioGzSl

Nice article. What do you think about using this for?

khuyentran1401 avatar Apr 17 '20 14:04 khuyentran1401

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.

MarioGzSl avatar Apr 19 '20 04:04 MarioGzSl

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

khuyentran1401 avatar Apr 20 '20 18:04 khuyentran1401