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
c4fd609a
"vscode:/vscode.git/clone" did not exist on "07b4d6dc7d3aeb660ae891869b677543bd7a6f78"
Unverified
Commit
c4fd609a
authored
Jan 02, 2021
by
Chris Kennedy
Committed by
GitHub
Jan 02, 2021
Browse files
file_utils.py: TF examples outputs.last_hidden_states -> state (#9382)
parent
b01f451c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/file_utils.py
src/transformers/file_utils.py
+1
-1
No files found.
src/transformers/file_utils.py
View file @
c4fd609a
...
...
@@ -851,7 +851,7 @@ TF_BASE_MODEL_SAMPLE = r"""
>>> inputs = tokenizer("Hello, my dog is cute", return_tensors="tf")
>>> outputs = model(inputs)
>>> last_hidden_states = outputs.last_hidden_state
s
>>> last_hidden_states = outputs.last_hidden_state
"""
TF_MULTIPLE_CHOICE_SAMPLE
=
r
"""
...
...
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