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): ...@@ -79,16 +79,16 @@ class GPTNeoConfig(PretrainedConfig):
Example:: Example::
>>> from transformers import GPTNeoModel, GPTNeoConfig >>> from transformers import GPTNeoModel, GPTNeoConfig
>>> # Initializing a GPTNeo EleutherAI/gpt-neo-1.3B style configuration >>> # Initializing a GPTNeo EleutherAI/gpt-neo-1.3B style configuration
>>> configuration = GPTNeoConfig() >>> configuration = GPTNeoConfig()
>>> # Initializing a model from the EleutherAI/gpt-neo-1.3B style configuration >>> # Initializing a model from the EleutherAI/gpt-neo-1.3B style configuration
>>> model = GPTNeoModel(configuration) >>> model = GPTNeoModel(configuration)
>>> # Accessing the model configuration >>> # Accessing the model configuration
>>> configuration = model.config >>> configuration = model.config
""" """
model_type = "gpt_neo" 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