mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-01 02:31:11 +06:00
[Doctest] UniSpeech Config for doctest (#19596)
This commit is contained in:
parent
71a27e3952
commit
0ac6b90563
@ -164,12 +164,12 @@ class UniSpeechConfig(PretrainedConfig):
|
||||
Example:
|
||||
|
||||
```python
|
||||
>>> from transformers import UniSpeechModel, UniSpeechConfig
|
||||
>>> from transformers import UniSpeechConfig, UniSpeechModel
|
||||
|
||||
>>> # Initializing a UniSpeech facebook/unispeech-base-960h style configuration
|
||||
>>> configuration = UniSpeechConfig()
|
||||
|
||||
>>> # Initializing a model from the facebook/unispeech-base-960h style configuration
|
||||
>>> # Initializing a model (with random weights) from the facebook/unispeech-base-960h style configuration
|
||||
>>> model = UniSpeechModel(configuration)
|
||||
|
||||
>>> # Accessing the model configuration
|
||||
|
@ -102,6 +102,7 @@ src/transformers/models/swin/modeling_swin.py
|
||||
src/transformers/models/swinv2/configuration_swinv2.py
|
||||
src/transformers/models/trajectory_transformer/configuration_trajectory_transformer.py
|
||||
src/transformers/models/trocr/modeling_trocr.py
|
||||
src/transformers/models/unispeech/configuration_unispeech.py
|
||||
src/transformers/models/unispeech/modeling_unispeech.py
|
||||
src/transformers/models/unispeech_sat/modeling_unispeech_sat.py
|
||||
src/transformers/models/van/modeling_van.py
|
||||
|
Loading…
Reference in New Issue
Block a user