Update skipgram_word_embeddings.py
Redundant code line 159 and 161
This commit is contained in:
parent
ca60201fe5
commit
d5cd2687ed
@ -158,7 +158,7 @@ norm_weights = np_utils.normalize(weights)
|
||||
|
||||
word_index = tokenizer.word_index
|
||||
reverse_word_index = dict([(v, k) for k, v in list(word_index.items())])
|
||||
word_index = tokenizer.word_index
|
||||
|
||||
|
||||
|
||||
def embed_word(w):
|
||||
|
Loading…
Reference in New Issue
Block a user