I want to get the vector embeddings of a custom dimension using some word embedding models such as word2vec or GloVe on PyTorch?
For example:
word = "cat"
output (of my desired size say 1024 dimension vector) = some_embedding_function(word)

Is there any way to do this on pytorch using some pre-trained models available?
Thanks!