Skip to content

Commit ff3cbc9

Browse files
committed
updated path references to work on server
1 parent 7e13d80 commit ff3cbc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def generate_w2idx_idx2w(vocabulary):
7474
def get_embedding_matrix(word2idx, idx2word, normalization=False):
7575
# Load the GloVe vectors into a dictionary, keeping only words in vocabulary
7676
embedding_dim = 300
77-
glove_path = "../glove/glove840B300d.txt"
77+
glove_path = "glove/glove840B300d.txt"
7878
glove_vectors = {}
7979
with open(glove_path) as glove_file:
8080
for line in tqdm(glove_file, total=sum(1 for line in open(glove_path))):

0 commit comments

Comments
 (0)