Skip to content

Commit c99ed49

Browse files
authored
[docs] remove flax references from /en/model_doc (#40311)
* 1st commit * all models up to D * all models up to G * all models up to M * all remaining models
1 parent c2e3cc2 commit c99ed49

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+168
-2206
lines changed

docs/source/en/model_doc/aimv2.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,3 @@ probs = outputs.logits_per_image.softmax(dim=-1)
100100

101101
[[autodoc]] Aimv2TextModel
102102
- forward
103-
104-
</pt>
105-
<tf>

docs/source/en/model_doc/albert.md

Lines changed: 1 addition & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ rendered properly in your Markdown viewer.
1818
<div style="float: right;">
1919
<div class="flex flex-wrap space-x-1">
2020
<img alt="PyTorch" src="https://img.shields.io/badge/PyTorch-DE3412?style=flat&logo=pytorch&logoColor=white" >
21-
<img alt= "TensorFlow" src= "https://img.shields.io/badge/TensorFlow-FF6F00?style=flat&logo=tensorflow&logoColor=white" >
22-
<img alt= "Flax" src="https://img.shields.io/badge/Flax-29a79b.svg?style…Nu+W0m6K/I9gGPd/dfx/EN/wN62AhsBWuAAAAAElFTkSuQmCC">
23-
<img alt="SDPA" src= "https://img.shields.io/badge/SDPA-DE3412?style=flat&logo=pytorch&logoColor=white" >
21+
<img alt="SDPA" src= "https://img.shields.io/badge/SDPA-DE3412?style=flat&logo=pytorch&logoColor=white" >
2422
</div>
2523
</div>
2624

@@ -110,42 +108,30 @@ The resources provided in the following sections consist of a list of official H
110108

111109
- [`AlbertForSequenceClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/text-classification).
112110

113-
- [`TFAlbertForSequenceClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/tensorflow/text-classification).
114-
115-
- [`FlaxAlbertForSequenceClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/flax/text-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/text_classification_flax.ipynb).
116111
- Check the [Text classification task guide](../tasks/sequence_classification) on how to use the model.
117112

118113
<PipelineTag pipeline="token-classification"/>
119114

120115
- [`AlbertForTokenClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/token-classification).
121116

122-
- [`TFAlbertForTokenClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/tensorflow/token-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/token_classification-tf.ipynb).
123-
124-
- [`FlaxAlbertForTokenClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/flax/token-classification).
125117
- [Token classification](https://huggingface.co/course/chapter7/2?fw=pt) chapter of the 🤗 Hugging Face Course.
126118
- Check the [Token classification task guide](../tasks/token_classification) on how to use the model.
127119

128120
<PipelineTag pipeline="fill-mask"/>
129121

130122
- [`AlbertForMaskedLM`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/language-modeling#robertabertdistilbert-and-masked-language-modeling) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/language_modeling.ipynb).
131-
- [`TFAlbertForMaskedLM`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/tensorflow/language-modeling#run_mlmpy) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/language_modeling-tf.ipynb).
132-
- [`FlaxAlbertForMaskedLM`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/flax/language-modeling#masked-language-modeling) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/masked_language_modeling_flax.ipynb).
133123
- [Masked language modeling](https://huggingface.co/course/chapter7/3?fw=pt) chapter of the 🤗 Hugging Face Course.
134124
- Check the [Masked language modeling task guide](../tasks/masked_language_modeling) on how to use the model.
135125

136126
<PipelineTag pipeline="question-answering"/>
137127

138128
- [`AlbertForQuestionAnswering`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/question-answering) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/question_answering.ipynb).
139-
- [`TFAlbertForQuestionAnswering`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/tensorflow/question-answering) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/question_answering-tf.ipynb).
140-
- [`FlaxAlbertForQuestionAnswering`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/flax/question-answering).
141129
- [Question answering](https://huggingface.co/course/chapter7/7?fw=pt) chapter of the 🤗 Hugging Face Course.
142130
- Check the [Question answering task guide](../tasks/question_answering) on how to use the model.
143131

144132
**Multiple choice**
145133

146134
- [`AlbertForMultipleChoice`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/multiple-choice) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/multiple_choice.ipynb).
147-
- [`TFAlbertForMultipleChoice`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/tensorflow/multiple-choice) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/multiple_choice-tf.ipynb).
148-
149135
- Check the [Multiple choice task guide](../tasks/multiple_choice) on how to use the model.
150136

151137
## AlbertConfig
@@ -164,11 +150,6 @@ The resources provided in the following sections consist of a list of official H
164150

165151
[[autodoc]] models.albert.modeling_albert.AlbertForPreTrainingOutput
166152

167-
[[autodoc]] models.albert.modeling_tf_albert.TFAlbertForPreTrainingOutput
168-
169-
<frameworkcontent>
170-
<pt>
171-
172153
## AlbertModel
173154

174155
[[autodoc]] AlbertModel - forward
@@ -196,69 +177,3 @@ The resources provided in the following sections consist of a list of official H
196177
## AlbertForQuestionAnswering
197178

198179
[[autodoc]] AlbertForQuestionAnswering - forward
199-
200-
</pt>
201-
202-
<tf>
203-
204-
## TFAlbertModel
205-
206-
[[autodoc]] TFAlbertModel - call
207-
208-
## TFAlbertForPreTraining
209-
210-
[[autodoc]] TFAlbertForPreTraining - call
211-
212-
## TFAlbertForMaskedLM
213-
214-
[[autodoc]] TFAlbertForMaskedLM - call
215-
216-
## TFAlbertForSequenceClassification
217-
218-
[[autodoc]] TFAlbertForSequenceClassification - call
219-
220-
## TFAlbertForMultipleChoice
221-
222-
[[autodoc]] TFAlbertForMultipleChoice - call
223-
224-
## TFAlbertForTokenClassification
225-
226-
[[autodoc]] TFAlbertForTokenClassification - call
227-
228-
## TFAlbertForQuestionAnswering
229-
230-
[[autodoc]] TFAlbertForQuestionAnswering - call
231-
232-
</tf>
233-
<jax>
234-
235-
## FlaxAlbertModel
236-
237-
[[autodoc]] FlaxAlbertModel - **call**
238-
239-
## FlaxAlbertForPreTraining
240-
241-
[[autodoc]] FlaxAlbertForPreTraining - **call**
242-
243-
## FlaxAlbertForMaskedLM
244-
245-
[[autodoc]] FlaxAlbertForMaskedLM - **call**
246-
247-
## FlaxAlbertForSequenceClassification
248-
249-
[[autodoc]] FlaxAlbertForSequenceClassification - **call**
250-
251-
## FlaxAlbertForMultipleChoice
252-
253-
[[autodoc]] FlaxAlbertForMultipleChoice - **call**
254-
255-
## FlaxAlbertForTokenClassification
256-
257-
[[autodoc]] FlaxAlbertForTokenClassification - **call**
258-
259-
## FlaxAlbertForQuestionAnswering
260-
261-
[[autodoc]] FlaxAlbertForQuestionAnswering - **call**
262-
263-
</jax>
264-
</frameworkcontent>

0 commit comments

Comments
 (0)