This video serves as a quick introduction to word embedding models, and it walks through how to create and visualize a word2vec model using the genism Python library. You can find the code at github.com/vierth/ppdh under wordembedding
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.