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
623cd6ae
Commit
623cd6ae
authored
Apr 12, 2021
by
Sylvain Gugger
Browse files
Fix style
parent
a99f7f5c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/transformers/models/reformer/configuration_reformer.py
src/transformers/models/reformer/configuration_reformer.py
+2
-2
No files found.
src/transformers/models/reformer/configuration_reformer.py
View file @
623cd6ae
...
@@ -134,8 +134,8 @@ class ReformerConfig(PretrainedConfig):
...
@@ -134,8 +134,8 @@ class ReformerConfig(PretrainedConfig):
pad_token_id (:obj:`int`, `optional`, defaults to 0):
pad_token_id (:obj:`int`, `optional`, defaults to 0):
The token id for the padding token.
The token id for the padding token.
vocab_size (:obj:`int`, `optional`, defaults to 320):\
vocab_size (:obj:`int`, `optional`, defaults to 320):\
Vocabulary size of the Reformer model. Defines the number of different tokens that can be represented by
the
Vocabulary size of the Reformer model. Defines the number of different tokens that can be represented by
:obj:`inputs_ids` passed when calling :class:`~transformers.ReformerModel`.
the
:obj:`inputs_ids` passed when calling :class:`~transformers.ReformerModel`.
tie_word_embeddings (:obj:`bool`, `optional`, defaults to :obj:`False`):
tie_word_embeddings (:obj:`bool`, `optional`, defaults to :obj:`False`):
Whether to tie input and output embeddings.
Whether to tie input and output embeddings.
use_cache (:obj:`bool`, `optional`, defaults to :obj:`True`):
use_cache (:obj:`bool`, `optional`, defaults to :obj:`True`):
...
...
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