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
a8549bdd
"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "94980b529fad34f55c5d34c94bae2814db6773a6"
Unverified
Commit
a8549bdd
authored
Mar 31, 2021
by
Suraj Patil
Committed by
GitHub
Mar 31, 2021
Browse files
fix example in config (#10993)
parent
a96edb85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
src/transformers/models/gpt_neo/configuration_gpt_neo.py
src/transformers/models/gpt_neo/configuration_gpt_neo.py
+7
-7
No files found.
src/transformers/models/gpt_neo/configuration_gpt_neo.py
View file @
a8549bdd
...
...
@@ -79,16 +79,16 @@ class GPTNeoConfig(PretrainedConfig):
Example::
>>> from transformers import GPTNeoModel, GPTNeoConfig
>>> from transformers import GPTNeoModel, GPTNeoConfig
>>> # Initializing a GPTNeo EleutherAI/gpt-neo-1.3B style configuration
>>> configuration = GPTNeoConfig()
>>> # Initializing a GPTNeo EleutherAI/gpt-neo-1.3B style configuration
>>> configuration = GPTNeoConfig()
>>> # Initializing a model from the EleutherAI/gpt-neo-1.3B style configuration
>>> model = GPTNeoModel(configuration)
>>> # Initializing a model from the EleutherAI/gpt-neo-1.3B style configuration
>>> model = GPTNeoModel(configuration)
>>> # Accessing the model configuration
>>> configuration = model.config
>>> # Accessing the model configuration
>>> configuration = model.config
"""
model_type
=
"gpt_neo"
...
...
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