Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
069b6384
"tasks/git@developer.sourcefind.cn:wuxk1/megatron-lm.git" did not exist on "1016e98a8351e7b1fd630c6930aa4fbb491df895"
Unverified
Commit
069b6384
authored
Nov 11, 2020
by
Julien Plu
Committed by
GitHub
Nov 11, 2020
Browse files
Fix next sentence output (#8466)
parent
da842e4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/modeling_tf_outputs.py
src/transformers/modeling_tf_outputs.py
+1
-1
No files found.
src/transformers/modeling_tf_outputs.py
View file @
069b6384
...
@@ -325,7 +325,7 @@ class TFNextSentencePredictorOutput(ModelOutput):
...
@@ -325,7 +325,7 @@ class TFNextSentencePredictorOutput(ModelOutput):
heads.
heads.
"""
"""
loss
:
tf
.
Tensor
=
None
loss
:
Optional
[
tf
.
Tensor
]
=
None
logits
:
tf
.
Tensor
=
None
logits
:
tf
.
Tensor
=
None
hidden_states
:
Optional
[
Tuple
[
tf
.
Tensor
]]
=
None
hidden_states
:
Optional
[
Tuple
[
tf
.
Tensor
]]
=
None
attentions
:
Optional
[
Tuple
[
tf
.
Tensor
]]
=
None
attentions
:
Optional
[
Tuple
[
tf
.
Tensor
]]
=
None
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment