Path: blob/master/data/glove_word_vectors.ipynb
2923 views
Kernel: Python [conda env:ml4t] *
Download Pre-Trained Global Vectors (GloVe) for Word Representation
We use a dataset that contains 1.6 million training and 350 test tweets from 2009 with algorithmically assigned binary positive and negative sentiment scores that are fairly evenly split.
Imports & Settings
In [1]:
Download and unzip
You can learn more about the data and manually download them from here.
In [2]:
In [3]:
In [4]:
Downloads can take 10-20 min per target or longer, dpending on your connection. You can paste one of the urls in a browser do check download speed & time estimate.
In [5]:
Out[5]:
downloading ('glove.6B.100d.txt', 'glove.6B.300d.txt')...
0%| | 0/4 [00:00<?, ?it/s]
done
100%|██████████| 4/4 [00:11<00:00, 2.85s/it]
downloading ('glove.twitter.27B.200d.txt',)...
0%| | 0/4 [00:00<?, ?it/s]
done
100%|██████████| 4/4 [00:16<00:00, 4.02s/it]
downloading ('glove.840B.300d.txt',)...
0%| | 0/1 [00:00<?, ?it/s]
done
100%|██████████| 1/1 [00:58<00:00, 58.75s/it]