forked from cansumoran/Song-Popularity-and-Decade-Prediction
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
23 lines (13 loc) · 811 Bytes
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
To run the scripts:
If you are running on your device and not the Google Colab, make sure you import all the required packages.
In RNN scripts, find the line:
train = pd.read_csv('BALANCED.csv') # change to the dataset file
and change the file name/path to the dataset you want to use.
If you are running RNN GloVe scripts for the first time, uncomment:
#!wget http://nlp.stanford.edu/data/glove.6B.zip
#!unzip glove*.zip
And run these commands. Running these commands once should be enough, therefore recomment these lines after you run them.
If you are running RNN Word2Vec scripts for the first time, uncomment:
#wv = api.load('word2vec-google-news-300')
#wv.save_word2vec_format('model.bin', binary=True)
And run these commands. Running these commands once should be enough, therefore recomment