Unverified Commit 11709842 authored by imarekkus's avatar imarekkus Committed by GitHub
Browse files

[Doctest] CTRL config (#19574)

parent 0e83c966
......@@ -65,12 +65,12 @@ class CTRLConfig(PretrainedConfig):
Examples:
```python
>>> from transformers import CTRLModel, CTRLConfig
>>> from transformers import CTRLConfig, CTRLModel
>>> # Initializing a CTRL configuration
>>> configuration = CTRLConfig()
>>> # Initializing a model from the configuration
>>> # Initializing a model (with random weights) from the configuration
>>> model = CTRLModel(configuration)
>>> # Accessing the model configuration
......
......@@ -30,6 +30,7 @@ src/transformers/models/blenderbot_small/modeling_blenderbot_small.py
src/transformers/models/bloom/configuration_bloom.py
src/transformers/models/conditional_detr/modeling_conditional_detr.py
src/transformers/models/convnext/modeling_convnext.py
src/transformers/models/ctrl/configuration_ctrl.py
src/transformers/models/ctrl/modeling_ctrl.py
src/transformers/models/cvt/modeling_cvt.py
src/transformers/models/data2vec/modeling_data2vec_audio.py
......
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