"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "94980b529fad34f55c5d34c94bae2814db6773a6"
Unverified Commit a8549bdd authored by Suraj Patil's avatar Suraj Patil Committed by GitHub
Browse files

fix example in config (#10993)

parent a96edb85
......@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment