Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
4a5d63c9
Unverified
Commit
4a5d63c9
authored
Oct 12, 2022
by
imarekkus
Committed by
GitHub
Oct 12, 2022
Browse files
Albert config update (#19541)
parent
51d21b76
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
src/transformers/models/albert/configuration_albert.py
src/transformers/models/albert/configuration_albert.py
+1
-1
utils/documentation_tests.txt
utils/documentation_tests.txt
+1
-0
No files found.
src/transformers/models/albert/configuration_albert.py
View file @
4a5d63c9
...
...
@@ -101,7 +101,7 @@ class AlbertConfig(PretrainedConfig):
... intermediate_size=3072,
... )
>>> # Initializing a model from the ALBERT-base style configuration
>>> # Initializing a model
(with random weights)
from the ALBERT-base style configuration
>>> model = AlbertModel(albert_xxlarge_configuration)
>>> # Accessing the model configuration
...
...
utils/documentation_tests.txt
View file @
4a5d63c9
...
...
@@ -12,6 +12,7 @@ docs/source/en/model_doc/tapex.mdx
docs/source/en/model_doc/donut.mdx
docs/source/en/model_doc/encoder-decoder.mdx
src/transformers/generation_utils.py
src/transformers/models/albert/configuration_albert.py
src/transformers/models/albert/modeling_albert.py
src/transformers/models/albert/modeling_tf_albert.py
src/transformers/models/bart/configuration_bart.py
...
...
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