Skip to content

Commit

Permalink
fix bert label dataype
Browse files Browse the repository at this point in the history
  • Loading branch information
undertherain committed Jun 19, 2020
1 parent f699ba5 commit 9fba12c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarker/modules/problems/bert/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ def get_data(params):
params["problem"]["len_sequence"],
)
X = np.random.random(shape).astype(np.int64)
Y = np.ones((cnt_batches, params["batch_size"]))
Y = np.ones((cnt_batches, params["batch_size"]), dtype=np.int64)
return X, Y

0 comments on commit 9fba12c

Please sign in to comment.