VGram crash if provided data is not enough for training dictionary of requested size. In jupyter notebooks it leads to kernel death