From cf0629056509d72c2664247d364044af8040fde4 Mon Sep 17 00:00:00 2001 From: Patrick von Platen Date: Mon, 9 Mar 2020 20:05:41 +0100 Subject: [PATCH] remove ipdb --- src/transformers/modeling_tf_utils.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/transformers/modeling_tf_utils.py b/src/transformers/modeling_tf_utils.py index dffed85cdb..2ab1a8a1c0 100644 --- a/src/transformers/modeling_tf_utils.py +++ b/src/transformers/modeling_tf_utils.py @@ -641,9 +641,6 @@ class TFPreTrainedModel(tf.keras.Model, TFModelUtilsMixin): # create attention mask if necessary # TODO (PVP): this should later be handled by the forward fn() in each model in the future see PR 3140 - import ipdb - - ipdb.set_trace() if (attention_mask is None) and (pad_token_id is not None) and (pad_token_id in input_ids.numpy()): attention_mask = tf.cast(tf.math.not_equal(input_ids, pad_token_id), dtype=tf.int32) elif attention_mask is None: