第9章リカレントニューラルネットワーク
9.3.5. Exercises9.3.5 練習問題
- Suppose there are 100,000 words in the training dataset. How much word frequency and multi-word adjacent frequency does a four-gram need to store?
英語のヒント
訓練データセットに10万語あるとする。4グラムは、単語の頻度と、複数の単語が隣り合う頻度をどれだけ保存する必要があるか。 - How would you model a dialogue?
英語のヒント
対話をどうモデル化するか。 - What other methods can you think of for reading long sequence data?
英語のヒント
長い系列データを読み込むほかの方法として、何が考えられるか。 - Consider our method for discarding a uniformly random number of the first few tokens at the beginning of each epoch.
英語のヒント
各エポックの初めに、最初のいくつかのトークンを一様にランダムな数だけ捨てるという、この方法を考えよう。- Does it really lead to a perfectly uniform distribution over the sequences on the document?
英語のヒント
それは本当に、文書上の系列にわたる完全に一様な分布につながるか。 - What would you have to do to make things even more uniform?
英語のヒント
さらに一様にするには、何をする必要があるか。
- If we want a sequence example to be a complete sentence, what kind of problem does this introduce in minibatch sampling? How can we fix it?
英語のヒント
系列の事例を完全な文にしたい場合、ミニバッチのサンプリングにどんな問題が生じるか。それをどう直せるか。