Pointer Switch: We use z i,v ∈ {0, 1} to denote the decision of whether to copy one cell from the table.
we compute this probability as follows: if z i,v = 1, the next token y i,v is generated from the database, whereas if z i,v = 0, then the following token is generated from a softmax.