Unverified Commit 069b6384 authored by Julien Plu's avatar Julien Plu Committed by GitHub
Browse files

Fix next sentence output (#8466)

parent da842e4e
......@@ -325,7 +325,7 @@ class TFNextSentencePredictorOutput(ModelOutput):
heads.
"""
loss: tf.Tensor = None
loss: Optional[tf.Tensor] = None
logits: tf.Tensor = None
hidden_states: Optional[Tuple[tf.Tensor]] = None
attentions: Optional[Tuple[tf.Tensor]] = None
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment