Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
brightmart committed Nov 24, 2018
1 parent 27ab348 commit 621a484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion a00_Bert/train_bert_multi-label.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def main(_):
for epoch in range(curr_epoch, FLAGS.num_epochs):
loss_total, counter = 0.0, 0
for start, end in zip(range(0, number_of_training_data, batch_size),range(batch_size, number_of_training_data, batch_size)):
iteration = iteration + 1
iteration = iteration + 1 ###
input_mask_, segment_ids_, input_ids_=get_input_mask_segment_ids(trainX[start:end],cls_id) # input_ids_,input_mask_,segment_ids_
feed_dict = {input_ids: input_ids_, input_mask: input_mask_, segment_ids:segment_ids_,
label_ids:trainY[start:end],is_training:True}
Expand Down

0 comments on commit 621a484

Please sign in to comment.