May 2018
Intermediate to advanced
472 pages
11h 27m
English
It is not just enough to produce text; we also need a way to measure the quality of the produced text. One such way is to measure how surprised or perplexed the RNN was to see the output given the input. That is, if the cross-entropy loss for an input xi and its corresponding output yi is
, then the perplexity would be as follows:
Using this, we can compute the average perplexity for a training dataset of size N with the following:
In Figure 6.12, we show the behavior of the training and validation ...
Read now
Unlock full access