10.8. Beam Search

github: https://github.com/pandalabme/d2l/tree/main/exercises 1. Can we treat exhaustive search as a special type of beam search? Why or why not? We c

narcissuskid narcissuskid 发布于 2023-09-07

10.6. The Encoder–Decoder Architecture

github: https://github.com/pandalabme/d2l/tree/main/exercises 1. Suppose that we use neural networks to implement the encoder–decoder architecture. Do

narcissuskid narcissuskid 发布于 2023-09-06

10.5. Machine Translation and the Dataset

github: https://github.com/pandalabme/d2l/tree/main/exercises 1. Try different values of the max_examples argument in the _tokenize method. How does t

narcissuskid narcissuskid 发布于 2023-09-06

10.4. Bidirectional Recurrent Neural Networks

github: https://github.com/pandalabme/d2l/tree/main/exercises 1. If the different directions use a different number of hidden units, how will the shap

narcissuskid narcissuskid 发布于 2023-09-06

10.3. Deep Recurrent Neural Networks

github: https://github.com/pandalabme/d2l/tree/main/exercises 1. Replace the GRU by an LSTM and compare the accuracy and training speed. import sys im

narcissuskid narcissuskid 发布于 2023-09-05

10.1. Long Short-Term Memory (LSTM)

github: https://github.com/pandalabme/d2l/tree/main/exercises import sys import torch.nn as nn import torch import warnings from sklearn.model_selecti

narcissuskid narcissuskid 发布于 2023-09-05

10.2. Gated Recurrent Units (GRU)

github: https://github.com/pandalabme/d2l/tree/main/exercises 1. Assume that we only want to use the input at time step t' to predict the output at ti

narcissuskid narcissuskid 发布于 2023-09-05

9.7. Backpropagation Through Time

github: https://github.com/pandalabme/d2l/tree/main/exercises 1. Assume that we have a symmetric matrix M\in\mathbb{R}^{n\times m}

narcissuskid narcissuskid 发布于 2023-09-05

9.5. Recurrent Neural Network Implementation from Scratch

github: https://github.com/pandalabme/d2l/tree/main/exercises 1. Does the implemented language model predict the next token based on all the past toke

narcissuskid narcissuskid 发布于 2023-09-04

9.6. Concise Implementation of Recurrent Neural Networks

1. Can you make the RNN model overfit using the high-level APIs? Yes, you can intentionally design an RNN model to overfit using high-level APIs like

narcissuskid narcissuskid 发布于 2023-09-04