We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e13d80 commit ff3cbc9Copy full SHA for ff3cbc9
util.py
@@ -74,7 +74,7 @@ def generate_w2idx_idx2w(vocabulary):
74
def get_embedding_matrix(word2idx, idx2word, normalization=False):
75
# Load the GloVe vectors into a dictionary, keeping only words in vocabulary
76
embedding_dim = 300
77
- glove_path = "../glove/glove840B300d.txt"
+ glove_path = "glove/glove840B300d.txt"
78
glove_vectors = {}
79
with open(glove_path) as glove_file:
80
for line in tqdm(glove_file, total=sum(1 for line in open(glove_path))):
0 commit comments