This was an exercise in learning/practicing word embeddings by creating my own word embeddings. The word embeddings are done to encode the sentences “I like pizza” and “you hate cheese”. There are two models built – once by building the tensors manually, and once by using torch’s Linear module to build the tensors. You can see the embeddings visualized on the graph below and inside the jupyter notebook of the project
You can find the code at the GitHub repo here: https://github.com/c-crowder/word_embeddings