Generative Model for Constructing Reaction Path from Initial to Final States