This is the official implementation of the paper "Generation with Dynamic Vocabulary" We're still in the process of tidying up the code.