Try a walking desk to stay healthy while you study or work!
Notes and resources at ocdevel.com/mlg/23
Neural Network Types in NLP
-
Vanilla Neural Networks (Feedforward Networks):
- Used for general classification or regression tasks.
- Examples include predicting housing costs or classifying images as cat, dog, or tree.
-
Convolutional Neural Networks (CNNs):
- Primarily used for image-related tasks.
-
Recurrent Neural Networks (RNNs):
- Used for sequence-based tasks such as weather predictions, stock market predictions, and natural language processing.
- Differ from feedforward networks as they loop back onto previous steps to handle sequences over time.
Key Concepts and Applications
LSTM Functionality
- An LSTM cell replaces traditional neurons in an RNN with complex machinery that regulates information flow.
- Components within an LSTM cell:
- Forget Gate: Decides which information to discard from the cell state.
- Input Gate: Determines which information to update.
- Output Gate: Controls the output from the cell.