correct spelling in README (#19092)
This commit is contained in:
@@ -312,13 +312,13 @@ easily.
|
|||||||
|
|
||||||
# Testing documentation examples
|
# Testing documentation examples
|
||||||
|
|
||||||
Good documentation oftens comes with an example of how a specific function or class should be used.
|
Good documentation often comes with an example of how a specific function or class should be used.
|
||||||
Each model class should contain at least one example showcasing
|
Each model class should contain at least one example showcasing
|
||||||
how to use this model class in inference. *E.g.* the class [Wav2Vec2ForCTC](https://huggingface.co/docs/transformers/model_doc/wav2vec2#transformers.Wav2Vec2ForCTC)
|
how to use this model class in inference. *E.g.* the class [Wav2Vec2ForCTC](https://huggingface.co/docs/transformers/model_doc/wav2vec2#transformers.Wav2Vec2ForCTC)
|
||||||
includes an example of how to transcribe speech to text in the
|
includes an example of how to transcribe speech to text in the
|
||||||
[docstring of its forward function](https://huggingface.co/docs/transformers/model_doc/wav2vec2#transformers.Wav2Vec2ForCTC.forward).
|
[docstring of its forward function](https://huggingface.co/docs/transformers/model_doc/wav2vec2#transformers.Wav2Vec2ForCTC.forward).
|
||||||
|
|
||||||
## Writing documenation examples
|
## Writing documentation examples
|
||||||
|
|
||||||
The syntax for Example docstrings can look as follows:
|
The syntax for Example docstrings can look as follows:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user