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
7ccd6fc4
Unverified
Commit
7ccd6fc4
authored
Oct 24, 2022
by
Yih-Dar
Committed by
GitHub
Oct 24, 2022
Browse files
Fix OOM in Config doctest (#19840)
Co-authored-by:
ydshieh
<
ydshieh@users.noreply.github.com
>
parent
18adc40d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/transformers/models/gpt_neox/configuration_gpt_neox.py
src/transformers/models/gpt_neox/configuration_gpt_neox.py
+2
-2
No files found.
src/transformers/models/gpt_neox/configuration_gpt_neox.py
View file @
7ccd6fc4
...
...
@@ -78,10 +78,10 @@ class GPTNeoXConfig(PretrainedConfig):
>>> configuration = GPTNeoXConfig()
>>> # Initializing a model (with random weights) from the gpt-neox-20b style configuration
>>> model = GPTNeoXModel(configuration)
>>> model = GPTNeoXModel(configuration)
# doctest: +SKIP
>>> # Accessing the model configuration
>>> configuration = model.config
>>> configuration = model.config
# doctest: +SKIP
```"""
model_type
=
"gpt_neox"
...
...
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