Hi,
What you need is a embedding layer, as first layer which will take the encoded training data
we will feed the weight matrix in embedding layer using gensim .
Im a machine learning Expert worked on industry projects which need high level tech knowledge of Neural Networking
I have worked extensively in Neural Networking with frameworks like Keras,tensorflow,pytorch
and technology like
DEEP LEARNING, STATISTICAL MACHINE LEARNING
LSTM,CONVNET,ATTENTION LAYER
I HAVE APPLIED ALL OF THESE SUCCESSFULLY