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
42477d68
Unverified
Commit
42477d68
authored
Jun 30, 2021
by
fcakyon
Committed by
GitHub
Jun 30, 2021
Browse files
fix typo in mt5 configuration docstring (#12432)
parent
89073a95
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/models/mt5/configuration_mt5.py
src/transformers/models/mt5/configuration_mt5.py
+1
-1
No files found.
src/transformers/models/mt5/configuration_mt5.py
View file @
42477d68
...
@@ -32,7 +32,7 @@ class MT5Config(PretrainedConfig):
...
@@ -32,7 +32,7 @@ class MT5Config(PretrainedConfig):
outputs. Read the documentation from :class:`~transformers.PretrainedConfig` for more information.
outputs. Read the documentation from :class:`~transformers.PretrainedConfig` for more information.
Arguments:
Arguments:
vocab_size (:obj:`int`, `optional`, defaults to
3
212
8
):
vocab_size (:obj:`int`, `optional`, defaults to 2
501
12):
Vocabulary size of the T5 model. Defines the number of different tokens that can be represented by the
Vocabulary size of the T5 model. Defines the number of different tokens that can be represented by the
:obj:`inputs_ids` passed when calling :class:`~transformers.T5Model` or :class:`~transformers.TFT5Model`.
:obj:`inputs_ids` passed when calling :class:`~transformers.T5Model` or :class:`~transformers.TFT5Model`.
d_model (:obj:`int`, `optional`, defaults to 512):
d_model (:obj:`int`, `optional`, defaults to 512):
...
...
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