Skip to content

Commit 64bcf86

Browse files
committed
reader
1 parent 10a7ec5 commit 64bcf86

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

models/recall/word2vec/word2vec_reader.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,8 @@ def __iter__(self):
110110
random.seed(12345)
111111
for i in range(self.neg_num):
112112
tmp.append(random.random())
113-
#tmp = np.array([0.92961609, 0.31637555, 0.18391881, 0.20456028, 0.56772503])
114113
neg_array = self.cs.searchsorted(tmp)
115-
#tmp = []
114+
116115
output.append(
117116
np.array([int(i)
118117
for i in neg_array]).astype('int64'))

0 commit comments

Comments
 (0)