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
dbeb7fb4
"...include/git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "bc4b5a7fc7118d68309774d050783958186c8570"
Commit
dbeb7fb4
authored
Jan 16, 2020
by
Lysandre
Committed by
Lysandre Debut
Jan 23, 2020
Browse files
BERT TensorFlow
parent
cd77c750
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
236 additions
and
209 deletions
+236
-209
src/transformers/modeling_tf_albert.py
src/transformers/modeling_tf_albert.py
+1
-1
src/transformers/modeling_tf_bert.py
src/transformers/modeling_tf_bert.py
+235
-208
No files found.
src/transformers/modeling_tf_albert.py
View file @
dbeb7fb4
...
...
@@ -496,7 +496,7 @@ ALBERT_START_DOCSTRING = r"""
- having all inputs as keyword arguments (like PyTorch models), or
- having all inputs as a list, tuple or dict in the first positional arguments.
This second option is useful
l
when using :obj:`tf.keras.Model.fit()` method which currently requires having
This second option is useful when using :obj:`tf.keras.Model.fit()` method which currently requires having
all the tensors in the first argument of the model call function: :obj:`model(inputs)`.
If you choose this second option, there are three possibilities you can use to gather all the input Tensors
...
...
src/transformers/modeling_tf_bert.py
View file @
dbeb7fb4
This diff is collapsed.
Click to expand it.
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