"docs/vscode:/vscode.git/clone" did not exist on "6accd5effbc0d17beb0a63fac06939972081a977"
Unverified Commit 51007976 authored by Elabonga Atuo's avatar Elabonga Atuo Committed by GitHub
Browse files

[Doctest] Add configuration_m2m_100.py (#22733)

m2m-100-config for doctest
parent 888c4a2a
......@@ -88,12 +88,12 @@ class M2M100Config(PretrainedConfig):
Example:
```python
>>> from transformers import M2M100Model, M2M100Config
>>> from transformers import M2M100Config, M2M100Model
>>> # Initializing a M2M100 facebook/m2m100_418M style configuration
>>> configuration = M2M100Config()
>>> # Initializing a model from the facebook/m2m100_418M style configuration
>>> # Initializing a model (with random weights) from the facebook/m2m100_418M style configuration
>>> model = M2M100Model(configuration)
>>> # Accessing the model configuration
......
......@@ -284,6 +284,7 @@ src/transformers/models/layoutxlm/tokenization_layoutxlm_fast.py
src/transformers/models/llama/tokenization_llama.py
src/transformers/models/lxmert/tokenization_lxmert.py
src/transformers/models/lxmert/tokenization_lxmert_fast.py
src/transformers/models/m2m_100/configuration_m2m_100.py
src/transformers/models/markuplm/tokenization_markuplm.py
src/transformers/models/markuplm/tokenization_markuplm_fast.py
src/transformers/models/mbart/tokenization_mbart.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