Unverified Commit c9a0da1e authored by AymenBer99's avatar AymenBer99 Committed by GitHub
Browse files

[Doctest] XLM Config for doctest (#19685)

parent eccbdbcd
......@@ -142,7 +142,7 @@ class XLMConfig(PretrainedConfig):
>>> # Initializing a XLM configuration
>>> configuration = XLMConfig()
>>> # Initializing a model from the configuration
>>> # Initializing a model (with random weights) from the configuration
>>> model = XLMModel(configuration)
>>> # Accessing the model configuration
......
......@@ -154,6 +154,7 @@ src/transformers/models/wavlm/modeling_wavlm.py
src/transformers/models/whisper/configuration_whisper.py
src/transformers/models/whisper/modeling_whisper.py
src/transformers/models/whisper/modeling_tf_whisper.py
src/transformers/models/xlm/configuration_xlm.py
src/transformers/models/xlm_roberta/configuration_xlm_roberta.py
src/transformers/models/xlm_roberta_xl/configuration_xlm_roberta_xl.py
src/transformers/models/xlnet/configuration_xlnet.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