How to create embeddings for genres in neural collaborative filtering

how to create embeddings for genres if one hot encoding is used for genres on MovieLens100K dataset instead of label encoder