diff --git a/src/transformers/models/maskformer/configuration_maskformer.py b/src/transformers/models/maskformer/configuration_maskformer.py index ab68de3f04..8c0187d81b 100644 --- a/src/transformers/models/maskformer/configuration_maskformer.py +++ b/src/transformers/models/maskformer/configuration_maskformer.py @@ -87,7 +87,7 @@ class MaskFormerConfig(PretrainedConfig): >>> # Initializing a MaskFormer facebook/maskformer-swin-base-ade configuration >>> configuration = MaskFormerConfig() - >>> # Initializing a model from the facebook/maskformer-swin-base-ade style configuration + >>> # Initializing a model (with random weights) from the facebook/maskformer-swin-base-ade style configuration >>> model = MaskFormerModel(configuration) >>> # Accessing the model configuration diff --git a/utils/documentation_tests.txt b/utils/documentation_tests.txt index 21d62e80c5..af7065cf1e 100644 --- a/utils/documentation_tests.txt +++ b/utils/documentation_tests.txt @@ -88,6 +88,7 @@ src/transformers/models/longformer/modeling_tf_longformer.py src/transformers/models/longt5/modeling_longt5.py src/transformers/models/marian/modeling_marian.py src/transformers/models/markuplm/modeling_markuplm.py +src/transformers/models/maskformer/configuration_maskformer.py src/transformers/models/mbart/modeling_mbart.py src/transformers/models/megatron_bert/configuration_megatron_bert.py src/transformers/models/mobilebert/configuration_mobilebert.py