[Docs] Model_doc structure/clarity improvements (#26876)
* first batch of structure improvements for model_docs * second batch of structure improvements for model_docs * more structure improvements for model_docs * more structure improvements for model_docs * structure improvements for cv model_docs * more structural refactoring * addressed feedback about image processors
This commit is contained in:
@@ -35,7 +35,7 @@ in the toxic content detection task under human-made attacks.*
|
||||
|
||||
This model was contributed by [weiweishi](https://huggingface.co/weiweishi).
|
||||
|
||||
## Documentation resources
|
||||
## Resources
|
||||
|
||||
- [Text classification task guide](../tasks/sequence_classification)
|
||||
- [Token classification task guide](../tasks/token_classification)
|
||||
@@ -49,7 +49,6 @@ This model was contributed by [weiweishi](https://huggingface.co/weiweishi).
|
||||
[[autodoc]] RoCBertConfig
|
||||
- all
|
||||
|
||||
|
||||
## RoCBertTokenizer
|
||||
|
||||
[[autodoc]] RoCBertTokenizer
|
||||
@@ -58,31 +57,26 @@ This model was contributed by [weiweishi](https://huggingface.co/weiweishi).
|
||||
- create_token_type_ids_from_sequences
|
||||
- save_vocabulary
|
||||
|
||||
|
||||
## RoCBertModel
|
||||
|
||||
[[autodoc]] RoCBertModel
|
||||
- forward
|
||||
|
||||
|
||||
## RoCBertForPreTraining
|
||||
|
||||
[[autodoc]] RoCBertForPreTraining
|
||||
- forward
|
||||
|
||||
|
||||
## RoCBertForCausalLM
|
||||
|
||||
[[autodoc]] RoCBertForCausalLM
|
||||
- forward
|
||||
|
||||
|
||||
## RoCBertForMaskedLM
|
||||
|
||||
[[autodoc]] RoCBertForMaskedLM
|
||||
- forward
|
||||
|
||||
|
||||
## RoCBertForSequenceClassification
|
||||
|
||||
[[autodoc]] transformers.RoCBertForSequenceClassification
|
||||
@@ -93,14 +87,12 @@ This model was contributed by [weiweishi](https://huggingface.co/weiweishi).
|
||||
[[autodoc]] transformers.RoCBertForMultipleChoice
|
||||
- forward
|
||||
|
||||
|
||||
## RoCBertForTokenClassification
|
||||
|
||||
[[autodoc]] transformers.RoCBertForTokenClassification
|
||||
- forward
|
||||
|
||||
|
||||
## RoCBertForQuestionAnswering
|
||||
|
||||
[[autodoc]] RoCBertForQuestionAnswering
|
||||
- forward
|
||||
- forward
|
||||
|
||||
Reference in New Issue
Block a user