title: How to use GloVe word-embeddings file on Google colaboratory
body: <p>I have downloaded the data with wget</p>
  
  <pre><code>!wget http://nlp.stanford.edu/data/glove.6B.zip
   - ‘glove.6B.zip’ saved [862182613/862182613]
  </code></pre>
  
  <p>It is saved as zip and I would like to use glove.6B.300d.txt file from the zip file. What I want to achieve is : </p>
  
  <pre><code>embeddings_index = {}
  with io.open('glove.6B.300d.txt', encoding='utf8') as f:
      for line in f:
          values = line.split()
          word = values[0]
          coefs = np.asarray(values[1:],dtype='float32')
          embeddings_index[word] = coefs
  </code></pre>
  
  <p>Of course I am having this error:</p>
  
  <pre><code>IOErrorTraceback (most recent call last)
  &lt;ipython-input-47-d07cafc85c1c&gt; in &lt;module&gt;()
        1 embeddings_index = {}
  ----&gt; 2 with io.open('glove.6B.300d.txt', encoding='utf8') as f:
        3     for line in f:
        4         values = line.split()
        5         word = values[0]
  
  IOError: [Errno 2] No such file or directory: 'glove.6B.300d.txt'
  </code></pre>
  
  <p>How can I unzip and use that file in my code above on Google colab?</p>