It employs a pointer network (Vinyals et al., 2015) to compute the distribution of the next token in the decoder.
the probability of selecting the i-th token w i in the natural language question as the next token in the substring is computed as: where h is the hidden state of the previously generated token.