"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "9396b40433408a5a3c1316a9ff40b026e1c1d708"
Unverified Commit 7ccd6fc4 authored by Yih-Dar's avatar Yih-Dar Committed by GitHub
Browse files

Fix OOM in Config doctest (#19840)


Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
parent 18adc40d
...@@ -78,10 +78,10 @@ class GPTNeoXConfig(PretrainedConfig): ...@@ -78,10 +78,10 @@ class GPTNeoXConfig(PretrainedConfig):
>>> configuration = GPTNeoXConfig() >>> configuration = GPTNeoXConfig()
>>> # Initializing a model (with random weights) from the gpt-neox-20b style configuration >>> # 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 >>> # Accessing the model configuration
>>> configuration = model.config >>> configuration = model.config # doctest: +SKIP
```""" ```"""
model_type = "gpt_neox" model_type = "gpt_neox"
......
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