diff --git a/docs/source/en/model_doc/albert.mdx b/docs/source/en/model_doc/albert.mdx
index 1a8d6759c1..5076a5150b 100644
--- a/docs/source/en/model_doc/albert.mdx
+++ b/docs/source/en/model_doc/albert.mdx
@@ -58,11 +58,11 @@ This model was contributed by [lysandre](https://huggingface.co/lysandre). This
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
+- [Multiple choice task guide](../tasks/multiple_choice)
## AlbertConfig
diff --git a/docs/source/en/model_doc/audio-spectrogram-transformer.mdx b/docs/source/en/model_doc/audio-spectrogram-transformer.mdx
index e1572697e0..f4a8f71d97 100644
--- a/docs/source/en/model_doc/audio-spectrogram-transformer.mdx
+++ b/docs/source/en/model_doc/audio-spectrogram-transformer.mdx
@@ -47,7 +47,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- A notebook illustrating inference with AST for audio classification can be found [here](https://github.com/NielsRogge/Transformers-Tutorials/tree/master/AST).
- [`ASTForAudioClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/audio-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/audio_classification.ipynb).
-- See also: [Audio classification](./tasks/audio_classification).
+- See also: [Audio classification](../tasks/audio_classification).
If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource.
diff --git a/docs/source/en/model_doc/bart.mdx b/docs/source/en/model_doc/bart.mdx
index beb6153b63..ef4bebd017 100644
--- a/docs/source/en/model_doc/bart.mdx
+++ b/docs/source/en/model_doc/bart.mdx
@@ -109,7 +109,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`TFBartForConditionalGeneration`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/tensorflow/summarization) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/summarization-tf.ipynb).
- [`FlaxBartForConditionalGeneration`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/flax/summarization).
- [Summarization](https://huggingface.co/course/chapter7/5?fw=pt#summarization) chapter of the π€ Hugging Face course.
-- [Summarization task guide](./tasks/summarization)
+- [Summarization task guide](../tasks/summarization)
@@ -117,19 +117,19 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`TFBartForConditionalGeneration`] 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).
- [`FlaxBartForConditionalGeneration`] 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).
- [Masked language modeling](https://huggingface.co/course/chapter7/3?fw=pt) chapter of the π€ Hugging Face Course.
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
- A notebook on how to [finetune mBART using Seq2SeqTrainer for Hindi to English translation](https://colab.research.google.com/github/vasudevgupta7/huggingface-tutorials/blob/main/translation_training.ipynb). π
- [`BartForConditionalGeneration`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/translation) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/translation.ipynb).
- [`TFBartForConditionalGeneration`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/tensorflow/translation) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/translation-tf.ipynb).
-- [Translation task guide](./tasks/translation)
+- [Translation task guide](../tasks/translation)
See also:
-- [Text classification task guide](./tasks/sequence_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Causal language modeling task guide](./tasks/language_modeling)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Causal language modeling task guide](../tasks/language_modeling)
## BartConfig
diff --git a/docs/source/en/model_doc/beit.mdx b/docs/source/en/model_doc/beit.mdx
index ff423b3717..c9ca2ee992 100644
--- a/docs/source/en/model_doc/beit.mdx
+++ b/docs/source/en/model_doc/beit.mdx
@@ -74,10 +74,10 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`BeitForImageClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/image-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_classification.ipynb).
-- See also: [Image classification task guide](./tasks/image_classification)
+- See also: [Image classification task guide](../tasks/image_classification)
**Semantic segmentation**
-- [Semantic segmentation task guide](./tasks/semantic_segmentation)
+- [Semantic segmentation task guide](../tasks/semantic_segmentation)
If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource.
diff --git a/docs/source/en/model_doc/bert.mdx b/docs/source/en/model_doc/bert.mdx
index d3b3ff217b..eae3bce130 100644
--- a/docs/source/en/model_doc/bert.mdx
+++ b/docs/source/en/model_doc/bert.mdx
@@ -72,7 +72,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`BertForSequenceClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/text-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/text_classification.ipynb).
- [`TFBertForSequenceClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/tensorflow/text-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/text_classification-tf.ipynb).
- [`FlaxBertForSequenceClassification`] 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).
-- [Text classification task guide](./tasks/sequence_classification)
+- [Text classification task guide](../tasks/sequence_classification)
@@ -82,7 +82,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`TFBertForTokenClassification`] 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).
- [`FlaxBertForTokenClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/flax/token-classification).
- [Token classification](https://huggingface.co/course/chapter7/2?fw=pt) chapter of the π€ Hugging Face Course.
-- [Token classification task guide](./tasks/token_classification)
+- [Token classification task guide](../tasks/token_classification)
@@ -90,7 +90,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`TFBertForMaskedLM`] 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).
- [`FlaxBertForMaskedLM`] 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).
- [Masked language modeling](https://huggingface.co/course/chapter7/3?fw=pt) chapter of the π€ Hugging Face Course.
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
@@ -98,12 +98,12 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`TFBertForQuestionAnswering`] 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).
- [`FlaxBertForQuestionAnswering`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/flax/question-answering).
- [Question answering](https://huggingface.co/course/chapter7/7?fw=pt) chapter of the π€ Hugging Face Course.
-- [Question answering task guide](./tasks/question_answering)
+- [Question answering task guide](../tasks/question_answering)
**Multiple choice**
- [`BertForMultipleChoice`] 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).
- [`TFBertForMultipleChoice`] 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).
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Multiple choice task guide](../tasks/multiple_choice)
β‘οΈ **Inference**
- A blog post on how to [Accelerate BERT inference with Hugging Face Transformers and AWS Inferentia](https://huggingface.co/blog/bert-inferentia-sagemaker).
diff --git a/docs/source/en/model_doc/big_bird.mdx b/docs/source/en/model_doc/big_bird.mdx
index b0511aeb6c..22bc4debf4 100644
--- a/docs/source/en/model_doc/big_bird.mdx
+++ b/docs/source/en/model_doc/big_bird.mdx
@@ -54,12 +54,12 @@ This model was contributed by [vasudevgupta](https://huggingface.co/vasudevgupta
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Causal language modeling task guide](./tasks/language_modeling)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Causal language modeling task guide](../tasks/language_modeling)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
+- [Multiple choice task guide](../tasks/multiple_choice)
## BigBirdConfig
diff --git a/docs/source/en/model_doc/bigbird_pegasus.mdx b/docs/source/en/model_doc/bigbird_pegasus.mdx
index 23e741f4ea..00ccb88dc0 100644
--- a/docs/source/en/model_doc/bigbird_pegasus.mdx
+++ b/docs/source/en/model_doc/bigbird_pegasus.mdx
@@ -54,11 +54,11 @@ The original code can be found [here](https://github.com/google-research/bigbird
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Causal language modeling task guide](./tasks/language_modeling)
-- [Translation task guide](./tasks/translation)
-- [Summarization task guide](./tasks/summarization)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Causal language modeling task guide](../tasks/language_modeling)
+- [Translation task guide](../tasks/translation)
+- [Summarization task guide](../tasks/summarization)
## BigBirdPegasusConfig
diff --git a/docs/source/en/model_doc/biogpt.mdx b/docs/source/en/model_doc/biogpt.mdx
index a2a17ad32d..e852c83a36 100644
--- a/docs/source/en/model_doc/biogpt.mdx
+++ b/docs/source/en/model_doc/biogpt.mdx
@@ -31,7 +31,7 @@ This model was contributed by [kamalkraj](https://huggingface.co/kamalkraj). The
## Documentation resources
-- [Causal language modeling task guide](./tasks/language_modeling)
+- [Causal language modeling task guide](../tasks/language_modeling)
## BioGptConfig
diff --git a/docs/source/en/model_doc/bit.mdx b/docs/source/en/model_doc/bit.mdx
index 2f0cba77f5..343832e62e 100644
--- a/docs/source/en/model_doc/bit.mdx
+++ b/docs/source/en/model_doc/bit.mdx
@@ -37,7 +37,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`BitForImageClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/image-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_classification.ipynb).
-- See also: [Image classification task guide](./tasks/image_classification)
+- See also: [Image classification task guide](../tasks/image_classification)
If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource.
diff --git a/docs/source/en/model_doc/blenderbot-small.mdx b/docs/source/en/model_doc/blenderbot-small.mdx
index c756346fea..fa3d32ab0e 100644
--- a/docs/source/en/model_doc/blenderbot-small.mdx
+++ b/docs/source/en/model_doc/blenderbot-small.mdx
@@ -46,9 +46,9 @@ found [here](https://github.com/facebookresearch/ParlAI).
## Documentation resources
-- [Causal language modeling task guide](./tasks/language_modeling)
-- [Translation task guide](./tasks/translation)
-- [Summarization task guide](./tasks/summarization)
+- [Causal language modeling task guide](../tasks/language_modeling)
+- [Translation task guide](../tasks/translation)
+- [Summarization task guide](../tasks/summarization)
## BlenderbotSmallConfig
diff --git a/docs/source/en/model_doc/blenderbot.mdx b/docs/source/en/model_doc/blenderbot.mdx
index 00de4288d2..485b4ca1e0 100644
--- a/docs/source/en/model_doc/blenderbot.mdx
+++ b/docs/source/en/model_doc/blenderbot.mdx
@@ -68,9 +68,9 @@ Here is an example of model usage:
## Documentation resources
-- [Causal language modeling task guide](./tasks/language_modeling)
-- [Translation task guide](./tasks/translation)
-- [Summarization task guide](./tasks/summarization)
+- [Causal language modeling task guide](../tasks/language_modeling)
+- [Translation task guide](../tasks/translation)
+- [Summarization task guide](../tasks/summarization)
## BlenderbotConfig
diff --git a/docs/source/en/model_doc/bloom.mdx b/docs/source/en/model_doc/bloom.mdx
index fd3df58e43..3f30f14706 100644
--- a/docs/source/en/model_doc/bloom.mdx
+++ b/docs/source/en/model_doc/bloom.mdx
@@ -34,10 +34,10 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`BloomForCausalLM`] is supported by this [causal language modeling example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/language-modeling#gpt-2gpt-and-causal-language-modeling) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/language_modeling.ipynb).
See also:
-- [Causal language modeling task guide](./tasks/language_modeling)
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
+- [Causal language modeling task guide](../tasks/language_modeling)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
β‘οΈ Inference
diff --git a/docs/source/en/model_doc/camembert.mdx b/docs/source/en/model_doc/camembert.mdx
index 78a2b8a585..4299603613 100644
--- a/docs/source/en/model_doc/camembert.mdx
+++ b/docs/source/en/model_doc/camembert.mdx
@@ -39,12 +39,12 @@ This model was contributed by [camembert](https://huggingface.co/camembert). The
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Causal language modeling task guide](./tasks/language_modeling)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Causal language modeling task guide](../tasks/language_modeling)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
+- [Multiple choice task guide](../tasks/multiple_choice)
## CamembertConfig
diff --git a/docs/source/en/model_doc/canine.mdx b/docs/source/en/model_doc/canine.mdx
index 175f7c304e..b23da136d3 100644
--- a/docs/source/en/model_doc/canine.mdx
+++ b/docs/source/en/model_doc/canine.mdx
@@ -94,10 +94,10 @@ sequences to the same length):
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Multiple choice task guide](../tasks/multiple_choice)
## CANINE specific outputs
diff --git a/docs/source/en/model_doc/codegen.mdx b/docs/source/en/model_doc/codegen.mdx
index f36aec36a5..bc6de54b4e 100644
--- a/docs/source/en/model_doc/codegen.mdx
+++ b/docs/source/en/model_doc/codegen.mdx
@@ -58,7 +58,7 @@ hello_world()
## Documentation resources
-- [Causal language modeling task guide](./tasks/language_modeling)
+- [Causal language modeling task guide](../tasks/language_modeling)
## CodeGenConfig
diff --git a/docs/source/en/model_doc/conditional_detr.mdx b/docs/source/en/model_doc/conditional_detr.mdx
index 4d51aa4cda..0adb028908 100644
--- a/docs/source/en/model_doc/conditional_detr.mdx
+++ b/docs/source/en/model_doc/conditional_detr.mdx
@@ -29,7 +29,7 @@ This model was contributed by [DepuMeng](https://huggingface.co/DepuMeng). The o
## Documentation resources
-- [Object detection task guide](./tasks/object_detection)
+- [Object detection task guide](../tasks/object_detection)
## ConditionalDetrConfig
diff --git a/docs/source/en/model_doc/convbert.mdx b/docs/source/en/model_doc/convbert.mdx
index dbb0c3d420..cc2a79f961 100644
--- a/docs/source/en/model_doc/convbert.mdx
+++ b/docs/source/en/model_doc/convbert.mdx
@@ -47,11 +47,11 @@ here: https://github.com/yitu-opensource/ConvBert
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
+- [Multiple choice task guide](../tasks/multiple_choice)
## ConvBertConfig
diff --git a/docs/source/en/model_doc/convnext.mdx b/docs/source/en/model_doc/convnext.mdx
index 389d017992..3da76eb0e0 100644
--- a/docs/source/en/model_doc/convnext.mdx
+++ b/docs/source/en/model_doc/convnext.mdx
@@ -47,7 +47,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`ConvNextForImageClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/image-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_classification.ipynb).
-- See also: [Image classification task guide](./tasks/image_classification)
+- See also: [Image classification task guide](../tasks/image_classification)
If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource.
diff --git a/docs/source/en/model_doc/ctrl.mdx b/docs/source/en/model_doc/ctrl.mdx
index 54f21b6e42..5b42fbe7c3 100644
--- a/docs/source/en/model_doc/ctrl.mdx
+++ b/docs/source/en/model_doc/ctrl.mdx
@@ -57,8 +57,8 @@ This model was contributed by [keskarnitishr](https://huggingface.co/keskarnitis
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Causal language modeling task guide](./tasks/language_modeling)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Causal language modeling task guide](../tasks/language_modeling)
## CTRLConfig
diff --git a/docs/source/en/model_doc/cvt.mdx b/docs/source/en/model_doc/cvt.mdx
index 3b9fa2c365..3c58c5b7a2 100644
--- a/docs/source/en/model_doc/cvt.mdx
+++ b/docs/source/en/model_doc/cvt.mdx
@@ -45,7 +45,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`CvtForImageClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/image-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_classification.ipynb).
-- See also: [Image classification task guide](./tasks/image_classification)
+- See also: [Image classification task guide](../tasks/image_classification)
If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource.
diff --git a/docs/source/en/model_doc/data2vec.mdx b/docs/source/en/model_doc/data2vec.mdx
index c9df6d2d5e..091d34a163 100644
--- a/docs/source/en/model_doc/data2vec.mdx
+++ b/docs/source/en/model_doc/data2vec.mdx
@@ -55,20 +55,20 @@ A list of official Hugging Face and community (indicated by π) resources to h
- To fine-tune [`TFData2VecVisionForImageClassification`] on a custom dataset, see [this notebook](https://colab.research.google.com/github/sayakpaul/TF-2.0-Hacks/blob/master/data2vec_vision_image_classification.ipynb).
**Data2VecText documentation resources**
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Causal language modeling task guide](./tasks/language_modeling)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Causal language modeling task guide](../tasks/language_modeling)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
+- [Multiple choice task guide](../tasks/multiple_choice)
**Data2VecAudio documentation resources**
-- [Audio classification task guide](./tasks/audio_classification)
-- [Automatic speech recognition task guide](./tasks/asr)
+- [Audio classification task guide](../tasks/audio_classification)
+- [Automatic speech recognition task guide](../tasks/asr)
**Data2VecVision documentation resources**
-- [Image classification](./tasks/image_classification)
-- [Semantic segmentation](./tasks/semantic_segmentation)
+- [Image classification](../tasks/image_classification)
+- [Semantic segmentation](../tasks/semantic_segmentation)
If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource.
diff --git a/docs/source/en/model_doc/deberta-v2.mdx b/docs/source/en/model_doc/deberta-v2.mdx
index 63129a1ef7..74d537cf22 100644
--- a/docs/source/en/model_doc/deberta-v2.mdx
+++ b/docs/source/en/model_doc/deberta-v2.mdx
@@ -60,11 +60,11 @@ contributed by [kamalkraj](https://huggingface.co/kamalkraj). The original code
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
+- [Multiple choice task guide](../tasks/multiple_choice)
## DebertaV2Config
diff --git a/docs/source/en/model_doc/deberta.mdx b/docs/source/en/model_doc/deberta.mdx
index ec68ed03ae..8faf2e1c28 100644
--- a/docs/source/en/model_doc/deberta.mdx
+++ b/docs/source/en/model_doc/deberta.mdx
@@ -48,7 +48,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- A blog post on [Supercharged Customer Service with Machine Learning](https://huggingface.co/blog/supercharge-customer-service-with-machine-learning) with DeBERTa.
- [`DebertaForSequenceClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/text-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/text_classification.ipynb).
- [`TFDebertaForSequenceClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/tensorflow/text-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/text_classification-tf.ipynb).
-- [Text classification task guide](./tasks/sequence_classification)
+- [Text classification task guide](../tasks/sequence_classification)
@@ -56,21 +56,21 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`TFDebertaForTokenClassification`] 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).
- [Token classification](https://huggingface.co/course/chapter7/2?fw=pt) chapter of the π€ Hugging Face Course.
- [Byte-Pair Encoding tokenization](https://huggingface.co/course/chapter6/5?fw=pt) chapter of the π€ Hugging Face Course.
-- [Token classification task guide](./tasks/token_classification)
+- [Token classification task guide](../tasks/token_classification)
- [`DebertaForMaskedLM`] 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).
- [`TFDebertaForMaskedLM`] 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).
- [Masked language modeling](https://huggingface.co/course/chapter7/3?fw=pt) chapter of the π€ Hugging Face Course.
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
- [`DebertaForQuestionAnswering`] 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).
- [`TFDebertaForQuestionAnswering`] 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).
- [Question answering](https://huggingface.co/course/chapter7/7?fw=pt) chapter of the π€ Hugging Face Course.
-- [Question answering task guide](./tasks/question_answering)
+- [Question answering task guide](../tasks/question_answering)
## DebertaConfig
diff --git a/docs/source/en/model_doc/deformable_detr.mdx b/docs/source/en/model_doc/deformable_detr.mdx
index f9b763c7ba..16ea70511b 100644
--- a/docs/source/en/model_doc/deformable_detr.mdx
+++ b/docs/source/en/model_doc/deformable_detr.mdx
@@ -40,7 +40,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- Demo notebooks regarding inference + fine-tuning on a custom dataset for [`DeformableDetrForObjectDetection`] can be found [here](https://github.com/NielsRogge/Transformers-Tutorials/tree/master/Deformable-DETR).
-- See also: [Object detection task guide](./tasks/object_detection).
+- See also: [Object detection task guide](../tasks/object_detection).
If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource.
diff --git a/docs/source/en/model_doc/deit.mdx b/docs/source/en/model_doc/deit.mdx
index 4e38b1e2ad..306915e748 100644
--- a/docs/source/en/model_doc/deit.mdx
+++ b/docs/source/en/model_doc/deit.mdx
@@ -78,7 +78,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`DeiTForImageClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/image-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_classification.ipynb).
-- See also: [Image classification task guide](./tasks/image_classification)
+- See also: [Image classification task guide](../tasks/image_classification)
Besides that:
diff --git a/docs/source/en/model_doc/deta.mdx b/docs/source/en/model_doc/deta.mdx
index d9a411d2eb..9b45e44753 100644
--- a/docs/source/en/model_doc/deta.mdx
+++ b/docs/source/en/model_doc/deta.mdx
@@ -39,7 +39,7 @@ The original code can be found [here](https://github.com/jozhang97/DETA).
A list of official Hugging Face and community (indicated by π) resources to help you get started with DETA.
- Demo notebooks for DETA can be found [here](https://github.com/NielsRogge/Transformers-Tutorials/tree/master/DETA).
-- See also: [Object detection task guide](./tasks/object_detection)
+- See also: [Object detection task guide](../tasks/object_detection)
If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource.
diff --git a/docs/source/en/model_doc/detr.mdx b/docs/source/en/model_doc/detr.mdx
index 2467a085fc..57fbd04e18 100644
--- a/docs/source/en/model_doc/detr.mdx
+++ b/docs/source/en/model_doc/detr.mdx
@@ -157,7 +157,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- All example notebooks illustrating fine-tuning [`DetrForObjectDetection`] and [`DetrForSegmentation`] on a custom dataset an be found [here](https://github.com/NielsRogge/Transformers-Tutorials/tree/master/DETR).
-- See also: [Object detection task guide](./tasks/object_detection)
+- See also: [Object detection task guide](../tasks/object_detection)
If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource.
diff --git a/docs/source/en/model_doc/dinat.mdx b/docs/source/en/model_doc/dinat.mdx
index bb56d22627..2ddbc63224 100644
--- a/docs/source/en/model_doc/dinat.mdx
+++ b/docs/source/en/model_doc/dinat.mdx
@@ -68,7 +68,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`DinatForImageClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/image-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_classification.ipynb).
-- See also: [Image classification task guide](./tasks/image_classification)
+- See also: [Image classification task guide](../tasks/image_classification)
If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource.
diff --git a/docs/source/en/model_doc/distilbert.mdx b/docs/source/en/model_doc/distilbert.mdx
index 43b329952c..cc1e037151 100644
--- a/docs/source/en/model_doc/distilbert.mdx
+++ b/docs/source/en/model_doc/distilbert.mdx
@@ -75,7 +75,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`DistilBertForSequenceClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/text-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/text_classification.ipynb).
- [`TFDistilBertForSequenceClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/tensorflow/text-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/text_classification-tf.ipynb).
- [`FlaxDistilBertForSequenceClassification`] 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).
-- [Text classification task guide](./tasks/sequence_classification)
+- [Text classification task guide](../tasks/sequence_classification)
@@ -84,7 +84,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`TFDistilBertForTokenClassification`] 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).
- [`FlaxDistilBertForTokenClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/flax/token-classification).
- [Token classification](https://huggingface.co/course/chapter7/2?fw=pt) chapter of the π€ Hugging Face Course.
-- [Token classification task guide](./tasks/token_classification)
+- [Token classification task guide](../tasks/token_classification)
@@ -93,7 +93,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`TFDistilBertForMaskedLM`] 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).
- [`FlaxDistilBertForMaskedLM`] 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).
- [Masked language modeling](https://huggingface.co/course/chapter7/3?fw=pt) chapter of the π€ Hugging Face Course.
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
@@ -101,12 +101,12 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`TFDistilBertForQuestionAnswering`] 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).
- [`FlaxDistilBertForQuestionAnswering`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/flax/question-answering).
- [Question answering](https://huggingface.co/course/chapter7/7?fw=pt) chapter of the π€ Hugging Face Course.
-- [Question answering task guide](./tasks/question_answering)
+- [Question answering task guide](../tasks/question_answering)
**Multiple choice**
- [`DistilBertForMultipleChoice`] 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).
- [`TFDistilBertForMultipleChoice`] 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).
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Multiple choice task guide](../tasks/multiple_choice)
βοΈ Optimization
diff --git a/docs/source/en/model_doc/dpt.mdx b/docs/source/en/model_doc/dpt.mdx
index 030b73e6dd..e67dfde084 100644
--- a/docs/source/en/model_doc/dpt.mdx
+++ b/docs/source/en/model_doc/dpt.mdx
@@ -33,6 +33,7 @@ This model was contributed by [nielsr](https://huggingface.co/nielsr). The origi
A list of official Hugging Face and community (indicated by π) resources to help you get started with DPT.
- Demo notebooks for [`DPTForDepthEstimation`] can be found [here](https://github.com/NielsRogge/Transformers-Tutorials/tree/master/DPT).
+
- [Semantic segmentation task guide](../tasks/semantic_segmentation)
- [Monocular depth estimation task guide](../tasks/monocular_depth_estimation)
diff --git a/docs/source/en/model_doc/efficientformer.mdx b/docs/source/en/model_doc/efficientformer.mdx
index e4b1b00701..2b512932ef 100644
--- a/docs/source/en/model_doc/efficientformer.mdx
+++ b/docs/source/en/model_doc/efficientformer.mdx
@@ -41,7 +41,7 @@ The original code can be found [here](https://github.com/snap-research/Efficient
## Documentation resources
-- [Image classification task guide](./tasks/image_classification)
+- [Image classification task guide](../tasks/image_classification)
## EfficientFormerConfig
diff --git a/docs/source/en/model_doc/electra.mdx b/docs/source/en/model_doc/electra.mdx
index ce1c55487f..e0422dbae5 100644
--- a/docs/source/en/model_doc/electra.mdx
+++ b/docs/source/en/model_doc/electra.mdx
@@ -66,12 +66,12 @@ This model was contributed by [lysandre](https://huggingface.co/lysandre). The o
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Causal language modeling task guide](./tasks/language_modeling)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Causal language modeling task guide](../tasks/language_modeling)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
+- [Multiple choice task guide](../tasks/multiple_choice)
## ElectraConfig
diff --git a/docs/source/en/model_doc/ernie.mdx b/docs/source/en/model_doc/ernie.mdx
index 17869e2921..0159c0f4bc 100644
--- a/docs/source/en/model_doc/ernie.mdx
+++ b/docs/source/en/model_doc/ernie.mdx
@@ -49,12 +49,12 @@ and [ERNIE](https://github.com/PaddlePaddle/ERNIE/blob/repro).
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Causal language modeling task guide](./tasks/language_modeling)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Causal language modeling task guide](../tasks/language_modeling)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
+- [Multiple choice task guide](../tasks/multiple_choice)
## ErnieConfig
diff --git a/docs/source/en/model_doc/ernie_m.mdx b/docs/source/en/model_doc/ernie_m.mdx
index 8861647e89..bd04483fc5 100644
--- a/docs/source/en/model_doc/ernie_m.mdx
+++ b/docs/source/en/model_doc/ernie_m.mdx
@@ -34,10 +34,10 @@ This model was contributed by [Susnato Dhar](https://huggingface.co/susnato). Th
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Multiple choice task guide](../tasks/multiple_choice)
## ErnieMConfig
diff --git a/docs/source/en/model_doc/esm.mdx b/docs/source/en/model_doc/esm.mdx
index 90e18ce45e..ca7c950dab 100644
--- a/docs/source/en/model_doc/esm.mdx
+++ b/docs/source/en/model_doc/esm.mdx
@@ -88,9 +88,9 @@ The `openfold` library is licensed under the Apache License 2.0.
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
## EsmConfig
diff --git a/docs/source/en/model_doc/flaubert.mdx b/docs/source/en/model_doc/flaubert.mdx
index 443916ee07..0e8a1b252a 100644
--- a/docs/source/en/model_doc/flaubert.mdx
+++ b/docs/source/en/model_doc/flaubert.mdx
@@ -48,11 +48,11 @@ Tips:
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
+- [Multiple choice task guide](../tasks/multiple_choice)
## FlaubertConfig
diff --git a/docs/source/en/model_doc/fnet.mdx b/docs/source/en/model_doc/fnet.mdx
index 140e61d4c4..9bf858bee4 100644
--- a/docs/source/en/model_doc/fnet.mdx
+++ b/docs/source/en/model_doc/fnet.mdx
@@ -43,11 +43,11 @@ This model was contributed by [gchhablani](https://huggingface.co/gchhablani). T
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
+- [Multiple choice task guide](../tasks/multiple_choice)
## FNetConfig
diff --git a/docs/source/en/model_doc/funnel.mdx b/docs/source/en/model_doc/funnel.mdx
index 1edba7d737..ebbc679278 100644
--- a/docs/source/en/model_doc/funnel.mdx
+++ b/docs/source/en/model_doc/funnel.mdx
@@ -62,11 +62,11 @@ This model was contributed by [sgugger](https://huggingface.co/sgugger). The ori
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
+- [Multiple choice task guide](../tasks/multiple_choice)
## FunnelConfig
diff --git a/docs/source/en/model_doc/git.mdx b/docs/source/en/model_doc/git.mdx
index 0918e7c36c..ac13874d47 100644
--- a/docs/source/en/model_doc/git.mdx
+++ b/docs/source/en/model_doc/git.mdx
@@ -41,7 +41,7 @@ The original code can be found [here](https://github.com/microsoft/GenerativeIma
A list of official Hugging Face and community (indicated by π) resources to help you get started with GIT.
- Demo notebooks regarding inference + fine-tuning GIT on custom data can be found [here](https://github.com/NielsRogge/Transformers-Tutorials/tree/master/GIT).
-- See also: [Causal language modeling task guide](./tasks/language_modeling)
+- See also: [Causal language modeling task guide](../tasks/language_modeling)
If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we will review it.
The resource should ideally demonstrate something new instead of duplicating an existing resource.
diff --git a/docs/source/en/model_doc/gpt-sw3.mdx b/docs/source/en/model_doc/gpt-sw3.mdx
index 0ee4a43f4c..2f20937a4c 100644
--- a/docs/source/en/model_doc/gpt-sw3.mdx
+++ b/docs/source/en/model_doc/gpt-sw3.mdx
@@ -50,9 +50,9 @@ TrΓ€d Γ€r fina fΓΆr att de Γ€r fΓ€rgstarka. Men ibland Γ€r det fint
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Causal language modeling task guide](./tasks/language_modeling)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Causal language modeling task guide](../tasks/language_modeling)
## GPTSw3Tokenizer
diff --git a/docs/source/en/model_doc/gpt2.mdx b/docs/source/en/model_doc/gpt2.mdx
index d605a1449d..2a8e693b4c 100644
--- a/docs/source/en/model_doc/gpt2.mdx
+++ b/docs/source/en/model_doc/gpt2.mdx
@@ -73,9 +73,9 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`GPT2LMHeadModel`] is supported by this [causal language modeling example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/language-modeling#gpt-2gpt-and-causal-language-modeling), [text generation example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/text-generation), and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/language_modeling.ipynb).
- [`TFGPT2LMHeadModel`] is supported by this [causal language modeling example script](https://github.com/huggingface/transformers/tree/main/examples/tensorflow/language-modeling#run_clmpy) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/language_modeling-tf.ipynb).
- [`FlaxGPT2LMHeadModel`] is supported by this [causal language modeling example script](https://github.com/huggingface/transformers/tree/main/examples/flax/language-modeling#causal-language-modeling) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/causal_language_modeling_flax.ipynb).
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Causal language modeling task guide](./tasks/language_modeling)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Causal language modeling task guide](../tasks/language_modeling)
## GPT2Config
diff --git a/docs/source/en/model_doc/gpt_neo.mdx b/docs/source/en/model_doc/gpt_neo.mdx
index af55c88a26..a21a3bd87b 100644
--- a/docs/source/en/model_doc/gpt_neo.mdx
+++ b/docs/source/en/model_doc/gpt_neo.mdx
@@ -52,8 +52,8 @@ The `generate()` method can be used to generate text using GPT Neo model.
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Causal language modeling task guide](./tasks/language_modeling)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Causal language modeling task guide](../tasks/language_modeling)
## GPTNeoConfig
diff --git a/docs/source/en/model_doc/gpt_neox.mdx b/docs/source/en/model_doc/gpt_neox.mdx
index cd85f03e73..1f5ec5e794 100644
--- a/docs/source/en/model_doc/gpt_neox.mdx
+++ b/docs/source/en/model_doc/gpt_neox.mdx
@@ -59,7 +59,7 @@ The `generate()` method can be used to generate text using GPT Neo model.
## Documentation resources
-- [Causal language modeling task guide](./tasks/language_modeling)
+- [Causal language modeling task guide](../tasks/language_modeling)
## GPTNeoXConfig
diff --git a/docs/source/en/model_doc/gpt_neox_japanese.mdx b/docs/source/en/model_doc/gpt_neox_japanese.mdx
index bc0c259f74..d4bd3276e0 100644
--- a/docs/source/en/model_doc/gpt_neox_japanese.mdx
+++ b/docs/source/en/model_doc/gpt_neox_japanese.mdx
@@ -49,7 +49,7 @@ The `generate()` method can be used to generate text using GPT NeoX Japanese mod
## Documentation resources
-- [Causal language modeling task guide](./tasks/language_modeling)
+- [Causal language modeling task guide](../tasks/language_modeling)
## GPTNeoXJapaneseConfig
diff --git a/docs/source/en/model_doc/gptj.mdx b/docs/source/en/model_doc/gptj.mdx
index 2b407d7b2d..b972513326 100644
--- a/docs/source/en/model_doc/gptj.mdx
+++ b/docs/source/en/model_doc/gptj.mdx
@@ -125,9 +125,9 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`FlaxGPTJForCausalLM`] is supported by this [causal language modeling example script](https://github.com/huggingface/transformers/tree/main/examples/flax/language-modeling#causal-language-modeling) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/causal_language_modeling_flax.ipynb).
**Documentation resources**
-- [Text classification task guide](./tasks/sequence_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Causal language modeling task guide](./tasks/language_modeling)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Causal language modeling task guide](../tasks/language_modeling)
## GPTJConfig
diff --git a/docs/source/en/model_doc/hubert.mdx b/docs/source/en/model_doc/hubert.mdx
index 55935e1a5c..0fcf939395 100644
--- a/docs/source/en/model_doc/hubert.mdx
+++ b/docs/source/en/model_doc/hubert.mdx
@@ -42,8 +42,8 @@ This model was contributed by [patrickvonplaten](https://huggingface.co/patrickv
## Documentation resources
-- [Audio classification task guide](./tasks/audio_classification)
-- [Automatic speech recognition task guide](./tasks/asr)
+- [Audio classification task guide](../tasks/audio_classification)
+- [Automatic speech recognition task guide](../tasks/asr)
## HubertConfig
diff --git a/docs/source/en/model_doc/ibert.mdx b/docs/source/en/model_doc/ibert.mdx
index f665374781..90735832c8 100644
--- a/docs/source/en/model_doc/ibert.mdx
+++ b/docs/source/en/model_doc/ibert.mdx
@@ -38,11 +38,11 @@ This model was contributed by [kssteven](https://huggingface.co/kssteven). The o
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
-- [Multiple choice task guide](./tasks/masked_language_modeling)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
+- [Multiple choice task guide](../tasks/masked_language_modeling)
## IBertConfig
diff --git a/docs/source/en/model_doc/imagegpt.mdx b/docs/source/en/model_doc/imagegpt.mdx
index 1c26592236..13b03560b8 100644
--- a/docs/source/en/model_doc/imagegpt.mdx
+++ b/docs/source/en/model_doc/imagegpt.mdx
@@ -77,7 +77,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- Demo notebooks for ImageGPT can be found [here](https://github.com/NielsRogge/Transformers-Tutorials/tree/master/ImageGPT).
- [`ImageGPTForImageClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/image-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_classification.ipynb).
-- See also: [Image classification task guide](./tasks/image_classification)
+- See also: [Image classification task guide](../tasks/image_classification)
If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource.
diff --git a/docs/source/en/model_doc/layoutlm.mdx b/docs/source/en/model_doc/layoutlm.mdx
index c33f59c3bd..f9e34922f6 100644
--- a/docs/source/en/model_doc/layoutlm.mdx
+++ b/docs/source/en/model_doc/layoutlm.mdx
@@ -88,20 +88,20 @@ A list of official Hugging Face and community (indicated by π) resources to h
- A notebook on how to [fine-tune LayoutLM on the FUNSD dataset with image embeddings](https://colab.research.google.com/github/NielsRogge/Transformers-Tutorials/blob/master/LayoutLM/Add_image_embeddings_to_LayoutLM.ipynb).
-- See also: [Document question answering task guide](./tasks/document_question_answering)
+- See also: [Document question answering task guide](../tasks/document_question_answering)
- A notebook on how to [fine-tune LayoutLM for sequence classification on the RVL-CDIP dataset](https://colab.research.google.com/github/NielsRogge/Transformers-Tutorials/blob/master/LayoutLM/Fine_tuning_LayoutLMForSequenceClassification_on_RVL_CDIP.ipynb).
-- [Text classification task guide](./tasks/sequence_classification)
+- [Text classification task guide](../tasks/sequence_classification)
- A notebook on how to [ fine-tune LayoutLM for token classification on the FUNSD dataset](https://github.com/NielsRogge/Transformers-Tutorials/blob/master/LayoutLM/Fine_tuning_LayoutLMForTokenClassification_on_FUNSD.ipynb).
-- [Token classification task guide](./tasks/token_classification)
+- [Token classification task guide](../tasks/token_classification)
**Other resources**
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
π Deploy
diff --git a/docs/source/en/model_doc/layoutlmv2.mdx b/docs/source/en/model_doc/layoutlmv2.mdx
index af29db0574..031cce83de 100644
--- a/docs/source/en/model_doc/layoutlmv2.mdx
+++ b/docs/source/en/model_doc/layoutlmv2.mdx
@@ -268,10 +268,10 @@ print(encoding.keys())
## Documentation resources
-- [Document question answering task guide](./tasks/document_question_answering)
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
+- [Document question answering task guide](../tasks/document_question_answering)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
## LayoutLMv2Config
diff --git a/docs/source/en/model_doc/layoutlmv3.mdx b/docs/source/en/model_doc/layoutlmv3.mdx
index 5145452dd8..2a8299a413 100644
--- a/docs/source/en/model_doc/layoutlmv3.mdx
+++ b/docs/source/en/model_doc/layoutlmv3.mdx
@@ -52,22 +52,22 @@ LayoutLMv3 is nearly identical to LayoutLMv2, so we've also included LayoutLMv2
- [`LayoutLMv2ForSequenceClassification`] is supported by this [notebook](https://colab.research.google.com/github/NielsRogge/Transformers-Tutorials/blob/master/LayoutLMv2/RVL-CDIP/Fine_tuning_LayoutLMv2ForSequenceClassification_on_RVL_CDIP.ipynb).
-- [Text classification task guide](./tasks/sequence_classification)
+- [Text classification task guide](../tasks/sequence_classification)
- [`LayoutLMv3ForTokenClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/research_projects/layoutlmv3) and [notebook](https://colab.research.google.com/github/NielsRogge/Transformers-Tutorials/blob/master/LayoutLMv3/Fine_tune_LayoutLMv3_on_FUNSD_(HuggingFace_Trainer).ipynb).
- A [notebook](https://colab.research.google.com/github/NielsRogge/Transformers-Tutorials/blob/master/LayoutLMv2/FUNSD/Inference_with_LayoutLMv2ForTokenClassification.ipynb) for how to perform inference with [`LayoutLMv2ForTokenClassification`] and a [notebook](https://colab.research.google.com/github/NielsRogge/Transformers-Tutorials/blob/master/LayoutLMv2/FUNSD/True_inference_with_LayoutLMv2ForTokenClassification_%2B_Gradio_demo.ipynb) for how to perform inference when no labels are available with [`LayoutLMv2ForTokenClassification`].
- A [notebook](https://colab.research.google.com/github/NielsRogge/Transformers-Tutorials/blob/master/LayoutLMv2/FUNSD/Fine_tuning_LayoutLMv2ForTokenClassification_on_FUNSD_using_HuggingFace_Trainer.ipynb) for how to finetune [`LayoutLMv2ForTokenClassification`] with the π€ Trainer.
-- [Token classification task guide](./tasks/token_classification)
+- [Token classification task guide](../tasks/token_classification)
- [`LayoutLMv2ForQuestionAnswering`] is supported by this [notebook](https://colab.research.google.com/github/NielsRogge/Transformers-Tutorials/blob/master/LayoutLMv2/DocVQA/Fine_tuning_LayoutLMv2ForQuestionAnswering_on_DocVQA.ipynb).
-- [Question answering task guide](./tasks/question_answering)
+- [Question answering task guide](../tasks/question_answering)
**Document question answering**
-- [Document question answering task guide](./tasks/document_question_answering)
+- [Document question answering task guide](../tasks/document_question_answering)
## LayoutLMv3Config
diff --git a/docs/source/en/model_doc/led.mdx b/docs/source/en/model_doc/led.mdx
index a8916f6833..537cfba528 100644
--- a/docs/source/en/model_doc/led.mdx
+++ b/docs/source/en/model_doc/led.mdx
@@ -57,10 +57,10 @@ This model was contributed by [patrickvonplaten](https://huggingface.co/patrickv
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Translation task guide](./tasks/translation)
-- [Summarization task guide](./tasks/summarization)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Translation task guide](../tasks/translation)
+- [Summarization task guide](../tasks/summarization)
## LEDConfig
diff --git a/docs/source/en/model_doc/levit.mdx b/docs/source/en/model_doc/levit.mdx
index 975c67a237..bfca2a5c06 100644
--- a/docs/source/en/model_doc/levit.mdx
+++ b/docs/source/en/model_doc/levit.mdx
@@ -68,7 +68,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`LevitForImageClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/image-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_classification.ipynb).
-- See also: [Image classification task guide](./tasks/image_classification)
+- See also: [Image classification task guide](../tasks/image_classification)
If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource.
diff --git a/docs/source/en/model_doc/lilt.mdx b/docs/source/en/model_doc/lilt.mdx
index f238e6b3e9..421bc066d1 100644
--- a/docs/source/en/model_doc/lilt.mdx
+++ b/docs/source/en/model_doc/lilt.mdx
@@ -53,9 +53,9 @@ A list of official Hugging Face and community (indicated by π) resources to h
- Demo notebooks for LiLT can be found [here](https://github.com/NielsRogge/Transformers-Tutorials/tree/master/LiLT).
**Documentation resources**
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource.
diff --git a/docs/source/en/model_doc/longformer.mdx b/docs/source/en/model_doc/longformer.mdx
index d725b96fe1..8170992624 100644
--- a/docs/source/en/model_doc/longformer.mdx
+++ b/docs/source/en/model_doc/longformer.mdx
@@ -91,11 +91,11 @@ loss = model(input_ids, labels=input_ids, masked_lm_labels=mlm_labels)[0]
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
+- [Multiple choice task guide](../tasks/multiple_choice)
## LongformerConfig
diff --git a/docs/source/en/model_doc/longt5.mdx b/docs/source/en/model_doc/longt5.mdx
index ae771f4448..9ae3d29a21 100644
--- a/docs/source/en/model_doc/longt5.mdx
+++ b/docs/source/en/model_doc/longt5.mdx
@@ -88,8 +88,8 @@ The original code can be found [here](https://github.com/google-research/longt5)
## Documentation resources
-- [Translation task guide](./tasks/translation)
-- [Summarization task guide](./tasks/summarization)
+- [Translation task guide](../tasks/translation)
+- [Summarization task guide](../tasks/summarization)
## LongT5Config
diff --git a/docs/source/en/model_doc/luke.mdx b/docs/source/en/model_doc/luke.mdx
index 98e5501399..c96c098eb0 100644
--- a/docs/source/en/model_doc/luke.mdx
+++ b/docs/source/en/model_doc/luke.mdx
@@ -119,11 +119,11 @@ This model was contributed by [ikuyamada](https://huggingface.co/ikuyamada) and
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
+- [Multiple choice task guide](../tasks/multiple_choice)
## LukeConfig
diff --git a/docs/source/en/model_doc/lxmert.mdx b/docs/source/en/model_doc/lxmert.mdx
index 6941dd99bb..083a98c34c 100644
--- a/docs/source/en/model_doc/lxmert.mdx
+++ b/docs/source/en/model_doc/lxmert.mdx
@@ -53,7 +53,7 @@ This model was contributed by [eltoto1219](https://huggingface.co/eltoto1219). T
## Documentation resources
-- [Question answering task guide](./tasks/question_answering)
+- [Question answering task guide](../tasks/question_answering)
## LxmertConfig
diff --git a/docs/source/en/model_doc/m2m_100.mdx b/docs/source/en/model_doc/m2m_100.mdx
index 2d62a556c0..ebe49d5780 100644
--- a/docs/source/en/model_doc/m2m_100.mdx
+++ b/docs/source/en/model_doc/m2m_100.mdx
@@ -93,8 +93,8 @@ loss = model(**model_inputs).loss # forward pass
## Documentation resources
-- [Translation task guide](./tasks/translation)
-- [Summarization task guide](./tasks/summarization)
+- [Translation task guide](../tasks/translation)
+- [Summarization task guide](../tasks/summarization)
## M2M100Config
diff --git a/docs/source/en/model_doc/marian.mdx b/docs/source/en/model_doc/marian.mdx
index 9192aa9080..dbca456978 100644
--- a/docs/source/en/model_doc/marian.mdx
+++ b/docs/source/en/model_doc/marian.mdx
@@ -163,9 +163,9 @@ Example of translating english to many romance languages, using old-style 2 char
## Documentation resources
-- [Translation task guide](./tasks/translation)
-- [Summarization task guide](./tasks/summarization)
-- [Causal language modeling task guide](./tasks/language_modeling)
+- [Translation task guide](../tasks/translation)
+- [Summarization task guide](../tasks/summarization)
+- [Causal language modeling task guide](../tasks/language_modeling)
## MarianConfig
diff --git a/docs/source/en/model_doc/markuplm.mdx b/docs/source/en/model_doc/markuplm.mdx
index 757eed9749..ef8d52ab25 100644
--- a/docs/source/en/model_doc/markuplm.mdx
+++ b/docs/source/en/model_doc/markuplm.mdx
@@ -195,9 +195,9 @@ dict_keys(['input_ids', 'token_type_ids', 'attention_mask', 'xpath_tags_seq', 'x
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
## MarkupLMConfig
diff --git a/docs/source/en/model_doc/mbart.mdx b/docs/source/en/model_doc/mbart.mdx
index 773b52a436..ed9f1f5cfd 100644
--- a/docs/source/en/model_doc/mbart.mdx
+++ b/docs/source/en/model_doc/mbart.mdx
@@ -154,12 +154,12 @@ tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Causal language modeling task guide](./tasks/language_modeling)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
-- [Translation task guide](./tasks/translation)
-- [Summarization task guide](./tasks/summarization)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Causal language modeling task guide](../tasks/language_modeling)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
+- [Translation task guide](../tasks/translation)
+- [Summarization task guide](../tasks/summarization)
## MBartConfig
diff --git a/docs/source/en/model_doc/mctct.mdx b/docs/source/en/model_doc/mctct.mdx
index 46f07c763f..89952a82fb 100644
--- a/docs/source/en/model_doc/mctct.mdx
+++ b/docs/source/en/model_doc/mctct.mdx
@@ -33,7 +33,7 @@ This model was contributed by [cwkeam](https://huggingface.co/cwkeam). The origi
## Documentation resources
-- [Automatic speech recognition task guide](./tasks/asr)
+- [Automatic speech recognition task guide](../tasks/asr)
Tips:
diff --git a/docs/source/en/model_doc/megatron-bert.mdx b/docs/source/en/model_doc/megatron-bert.mdx
index b3e09de9b4..9fe5db6c7a 100644
--- a/docs/source/en/model_doc/megatron-bert.mdx
+++ b/docs/source/en/model_doc/megatron-bert.mdx
@@ -80,12 +80,12 @@ Megatron Language models. In particular, it contains a hybrid model parallel app
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Causal language modeling task guide](./tasks/language_modeling)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Causal language modeling task guide](../tasks/language_modeling)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
+- [Multiple choice task guide](../tasks/multiple_choice)
## MegatronBertConfig
diff --git a/docs/source/en/model_doc/mobilebert.mdx b/docs/source/en/model_doc/mobilebert.mdx
index 7fb2c7c4c4..9f6d6c6af0 100644
--- a/docs/source/en/model_doc/mobilebert.mdx
+++ b/docs/source/en/model_doc/mobilebert.mdx
@@ -45,11 +45,11 @@ This model was contributed by [vshampor](https://huggingface.co/vshampor). The o
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
+- [Multiple choice task guide](../tasks/multiple_choice)
## MobileBertConfig
diff --git a/docs/source/en/model_doc/mobilenet_v1.mdx b/docs/source/en/model_doc/mobilenet_v1.mdx
index 902040f208..6a9fff2765 100644
--- a/docs/source/en/model_doc/mobilenet_v1.mdx
+++ b/docs/source/en/model_doc/mobilenet_v1.mdx
@@ -51,7 +51,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`MobileNetV1ForImageClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/image-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_classification.ipynb).
-- See also: [Image classification task guide](./tasks/image_classification)
+- See also: [Image classification task guide](../tasks/image_classification)
If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource.
diff --git a/docs/source/en/model_doc/mobilenet_v2.mdx b/docs/source/en/model_doc/mobilenet_v2.mdx
index 356a9cb8d4..d4d6856a91 100644
--- a/docs/source/en/model_doc/mobilenet_v2.mdx
+++ b/docs/source/en/model_doc/mobilenet_v2.mdx
@@ -55,10 +55,10 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`MobileNetV2ForImageClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/image-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_classification.ipynb).
-- See also: [Image classification task guide](./tasks/image_classification)
+- See also: [Image classification task guide](../tasks/image_classification)
**Semantic segmentation**
-- [Semantic segmentation task guide](./tasks/semantic_segmentation)
+- [Semantic segmentation task guide](../tasks/semantic_segmentation)
If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource.
diff --git a/docs/source/en/model_doc/mobilevit.mdx b/docs/source/en/model_doc/mobilevit.mdx
index 1d627abf95..c100697145 100644
--- a/docs/source/en/model_doc/mobilevit.mdx
+++ b/docs/source/en/model_doc/mobilevit.mdx
@@ -64,10 +64,10 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`MobileViTForImageClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/image-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_classification.ipynb).
-- See also: [Image classification task guide](./tasks/image_classification)
+- See also: [Image classification task guide](../tasks/image_classification)
**Semantic segmentation**
-- [Semantic segmentation task guide](./tasks/semantic_segmentation)
+- [Semantic segmentation task guide](../tasks/semantic_segmentation)
If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource.
diff --git a/docs/source/en/model_doc/mpnet.mdx b/docs/source/en/model_doc/mpnet.mdx
index 134dbef7e1..cf8b4de7a6 100644
--- a/docs/source/en/model_doc/mpnet.mdx
+++ b/docs/source/en/model_doc/mpnet.mdx
@@ -42,11 +42,11 @@ The original code can be found [here](https://github.com/microsoft/MPNet).
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
+- [Multiple choice task guide](../tasks/multiple_choice)
## MPNetConfig
diff --git a/docs/source/en/model_doc/mt5.mdx b/docs/source/en/model_doc/mt5.mdx
index 93fac60bba..9de91982ac 100644
--- a/docs/source/en/model_doc/mt5.mdx
+++ b/docs/source/en/model_doc/mt5.mdx
@@ -58,8 +58,8 @@ found [here](https://github.com/google-research/multilingual-t5).
## Documentation resources
-- [Translation task guide](./tasks/translation)
-- [Summarization task guide](./tasks/summarization)
+- [Translation task guide](../tasks/translation)
+- [Summarization task guide](../tasks/summarization)
## MT5Config
diff --git a/docs/source/en/model_doc/mvp.mdx b/docs/source/en/model_doc/mvp.mdx
index 8cff270c01..d457212e6c 100644
--- a/docs/source/en/model_doc/mvp.mdx
+++ b/docs/source/en/model_doc/mvp.mdx
@@ -102,12 +102,12 @@ For lightweight tuning, *i.e.*, fixing the model and only tuning prompts, you ca
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Causal language modeling task guide](./tasks/language_modeling)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
-- [Translation task guide](./tasks/translation)
-- [Summarization task guide](./tasks/summarization)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Causal language modeling task guide](../tasks/language_modeling)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
+- [Translation task guide](../tasks/translation)
+- [Summarization task guide](../tasks/summarization)
## MvpConfig
diff --git a/docs/source/en/model_doc/nat.mdx b/docs/source/en/model_doc/nat.mdx
index 25ac86368a..5487dbee0c 100644
--- a/docs/source/en/model_doc/nat.mdx
+++ b/docs/source/en/model_doc/nat.mdx
@@ -63,7 +63,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`NatForImageClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/image-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_classification.ipynb).
-- See also: [Image classification task guide](./tasks/image_classification)
+- See also: [Image classification task guide](../tasks/image_classification)
If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource.
diff --git a/docs/source/en/model_doc/nezha.mdx b/docs/source/en/model_doc/nezha.mdx
index 557e03113d..3d6baf5d8a 100644
--- a/docs/source/en/model_doc/nezha.mdx
+++ b/docs/source/en/model_doc/nezha.mdx
@@ -33,11 +33,11 @@ This model was contributed by [sijunhe](https://huggingface.co/sijunhe). The ori
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
+- [Multiple choice task guide](../tasks/multiple_choice)
## NezhaConfig
diff --git a/docs/source/en/model_doc/nllb.mdx b/docs/source/en/model_doc/nllb.mdx
index 6b935a89aa..a53f718894 100644
--- a/docs/source/en/model_doc/nllb.mdx
+++ b/docs/source/en/model_doc/nllb.mdx
@@ -90,8 +90,8 @@ UN-Chef sagt, es gibt keine militΓ€rische LΓΆsung in Syrien
## Documentation resources
-- [Translation task guide](./tasks/translation)
-- [Summarization task guide](./tasks/summarization)
+- [Translation task guide](../tasks/translation)
+- [Summarization task guide](../tasks/summarization)
## NllbTokenizer
diff --git a/docs/source/en/model_doc/nystromformer.mdx b/docs/source/en/model_doc/nystromformer.mdx
index 2c78892d8d..1e6d1b2121 100644
--- a/docs/source/en/model_doc/nystromformer.mdx
+++ b/docs/source/en/model_doc/nystromformer.mdx
@@ -35,11 +35,11 @@ This model was contributed by [novice03](https://huggingface.co/novice03). The o
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
+- [Multiple choice task guide](../tasks/multiple_choice)
## NystromformerConfig
diff --git a/docs/source/en/model_doc/openai-gpt.mdx b/docs/source/en/model_doc/openai-gpt.mdx
index 3adb22f0ab..5c1b935ea9 100644
--- a/docs/source/en/model_doc/openai-gpt.mdx
+++ b/docs/source/en/model_doc/openai-gpt.mdx
@@ -73,7 +73,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- A blog post on [outperforming OpenAI GPT-3 with SetFit for text-classification](https://www.philschmid.de/getting-started-setfit).
-- See also: [Text classification task guide](./tasks/sequence_classification)
+- See also: [Text classification task guide](../tasks/sequence_classification)
@@ -87,7 +87,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [Causal language modeling](https://huggingface.co/course/en/chapter7/6?fw=pt#training-a-causal-language-model-from-scratch) chapter of the π€ Hugging Face Course.
- [`OpenAIGPTLMHeadModel`] is supported by this [causal language modeling example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/language-modeling#gpt-2gpt-and-causal-language-modeling), [text generation example script](https://github.com/huggingface/transformers/blob/main/examples/pytorch/text-generation/run_generation.py) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/language_modeling.ipynb).
- [`TFOpenAIGPTLMHeadModel`] is supported by this [causal language modeling example script](https://github.com/huggingface/transformers/tree/main/examples/tensorflow/language-modeling#run_clmpy) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/language_modeling-tf.ipynb).
-- See also: [Causal language modeling task guide](./tasks/language_modeling)
+- See also: [Causal language modeling task guide](../tasks/language_modeling)
diff --git a/docs/source/en/model_doc/pegasus.mdx b/docs/source/en/model_doc/pegasus.mdx
index fe00ab203e..41919a7e3c 100644
--- a/docs/source/en/model_doc/pegasus.mdx
+++ b/docs/source/en/model_doc/pegasus.mdx
@@ -104,9 +104,9 @@ All the [checkpoints](https://huggingface.co/models?search=pegasus) are fine-tun
## Documentation resources
-- [Causal language modeling task guide](./tasks/language_modeling)
-- [Translation task guide](./tasks/translation)
-- [Summarization task guide](./tasks/summarization)
+- [Causal language modeling task guide](../tasks/language_modeling)
+- [Translation task guide](../tasks/translation)
+- [Summarization task guide](../tasks/summarization)
## PegasusConfig
diff --git a/docs/source/en/model_doc/pegasus_x.mdx b/docs/source/en/model_doc/pegasus_x.mdx
index f9aeb46438..12e579a054 100644
--- a/docs/source/en/model_doc/pegasus_x.mdx
+++ b/docs/source/en/model_doc/pegasus_x.mdx
@@ -30,8 +30,8 @@ This model was contributed by [zphang](
- [`PoolFormerForImageClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/image-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_classification.ipynb).
-- See also: [Image classification task guide](./tasks/image_classification)
+- See also: [Image classification task guide](../tasks/image_classification)
If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource.
diff --git a/docs/source/en/model_doc/prophetnet.mdx b/docs/source/en/model_doc/prophetnet.mdx
index c49c659a28..071bdfbadf 100644
--- a/docs/source/en/model_doc/prophetnet.mdx
+++ b/docs/source/en/model_doc/prophetnet.mdx
@@ -55,9 +55,9 @@ The Authors' code can be found [here](https://github.com/microsoft/ProphetNet).
## Documentation resources
-- [Causal language modeling task guide](./tasks/language_modeling)
-- [Translation task guide](./tasks/translation)
-- [Summarization task guide](./tasks/summarization)
+- [Causal language modeling task guide](../tasks/language_modeling)
+- [Translation task guide](../tasks/translation)
+- [Summarization task guide](../tasks/summarization)
## ProphetNetConfig
diff --git a/docs/source/en/model_doc/qdqbert.mdx b/docs/source/en/model_doc/qdqbert.mdx
index 76c35b60c4..3a65bd26c3 100644
--- a/docs/source/en/model_doc/qdqbert.mdx
+++ b/docs/source/en/model_doc/qdqbert.mdx
@@ -116,12 +116,12 @@ the instructions in [torch.onnx](https://pytorch.org/docs/stable/onnx.html). Exa
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Causal language modeling task guide](./tasks/language_modeling)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Causal language modeling task guide](../tasks/language_modeling)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
+- [Multiple choice task guide](../tasks/multiple_choice)
## QDQBertConfig
diff --git a/docs/source/en/model_doc/reformer.mdx b/docs/source/en/model_doc/reformer.mdx
index b53eaa4e74..6725173d54 100644
--- a/docs/source/en/model_doc/reformer.mdx
+++ b/docs/source/en/model_doc/reformer.mdx
@@ -153,10 +153,10 @@ loss = model(input_ids, labels=input_ids)[0]
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Causal language modeling task guide](./tasks/language_modeling)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Causal language modeling task guide](../tasks/language_modeling)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
## ReformerConfig
diff --git a/docs/source/en/model_doc/regnet.mdx b/docs/source/en/model_doc/regnet.mdx
index e93eec6216..1557ab24df 100644
--- a/docs/source/en/model_doc/regnet.mdx
+++ b/docs/source/en/model_doc/regnet.mdx
@@ -38,7 +38,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`RegNetForImageClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/image-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_classification.ipynb).
-- See also: [Image classification task guide](./tasks/image_classification)
+- See also: [Image classification task guide](../tasks/image_classification)
If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource.
diff --git a/docs/source/en/model_doc/rembert.mdx b/docs/source/en/model_doc/rembert.mdx
index fa3c16f90d..2a17a9b384 100644
--- a/docs/source/en/model_doc/rembert.mdx
+++ b/docs/source/en/model_doc/rembert.mdx
@@ -39,12 +39,12 @@ also similar to the Albert one rather than the BERT one.
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Causal language modeling task guide](./tasks/language_modeling)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Causal language modeling task guide](../tasks/language_modeling)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
+- [Multiple choice task guide](../tasks/multiple_choice)
## RemBertConfig
diff --git a/docs/source/en/model_doc/resnet.mdx b/docs/source/en/model_doc/resnet.mdx
index fd954967e5..476698e9ab 100644
--- a/docs/source/en/model_doc/resnet.mdx
+++ b/docs/source/en/model_doc/resnet.mdx
@@ -40,7 +40,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`ResNetForImageClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/image-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_classification.ipynb).
-- See also: [Image classification task guide](./tasks/image_classification)
+- See also: [Image classification task guide](../tasks/image_classification)
If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource.
diff --git a/docs/source/en/model_doc/roberta-prelayernorm.mdx b/docs/source/en/model_doc/roberta-prelayernorm.mdx
index 2a2d01c1c7..41b0762de7 100644
--- a/docs/source/en/model_doc/roberta-prelayernorm.mdx
+++ b/docs/source/en/model_doc/roberta-prelayernorm.mdx
@@ -31,12 +31,12 @@ The original code can be found [here](https://github.com/princeton-nlp/DinkyTrai
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Causal language modeling task guide](./tasks/language_modeling)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Causal language modeling task guide](../tasks/language_modeling)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
+- [Multiple choice task guide](../tasks/multiple_choice)
## RobertaPreLayerNormConfig
diff --git a/docs/source/en/model_doc/roberta.mdx b/docs/source/en/model_doc/roberta.mdx
index 622853ab89..7c0818a014 100644
--- a/docs/source/en/model_doc/roberta.mdx
+++ b/docs/source/en/model_doc/roberta.mdx
@@ -70,7 +70,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`RobertaForSequenceClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/text-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/text_classification.ipynb).
- [`TFRobertaForSequenceClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/tensorflow/text-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/text_classification-tf.ipynb).
- [`FlaxRobertaForSequenceClassification`] 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).
-- [Text classification task guide](./tasks/sequence_classification)
+- [Text classification task guide](../tasks/sequence_classification)
@@ -78,7 +78,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`TFRobertaForTokenClassification`] 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).
- [`FlaxRobertaForTokenClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/flax/token-classification).
- [Token classification](https://huggingface.co/course/chapter7/2?fw=pt) chapter of the π€ Hugging Face Course.
-- [Token classification task guide](./tasks/token_classification)
+- [Token classification task guide](../tasks/token_classification)
@@ -87,7 +87,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`TFRobertaForMaskedLM`] 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).
- [`FlaxRobertaForMaskedLM`] 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).
- [Masked language modeling](https://huggingface.co/course/chapter7/3?fw=pt) chapter of the π€ Hugging Face Course.
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
@@ -96,12 +96,12 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`TFRobertaForQuestionAnswering`] 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).
- [`FlaxRobertaForQuestionAnswering`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/flax/question-answering).
- [Question answering](https://huggingface.co/course/chapter7/7?fw=pt) chapter of the π€ Hugging Face Course.
-- [Question answering task guide](./tasks/question_answering)
+- [Question answering task guide](../tasks/question_answering)
**Multiple choice**
- [`RobertaForMultipleChoice`] 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).
- [`TFRobertaForMultipleChoice`] 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).
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Multiple choice task guide](../tasks/multiple_choice)
## RobertaConfig
diff --git a/docs/source/en/model_doc/roc_bert.mdx b/docs/source/en/model_doc/roc_bert.mdx
index 42ff072e74..50d123261e 100644
--- a/docs/source/en/model_doc/roc_bert.mdx
+++ b/docs/source/en/model_doc/roc_bert.mdx
@@ -33,12 +33,12 @@ This model was contributed by [weiweishi](https://huggingface.co/weiweishi).
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Causal language modeling task guide](./tasks/language_modeling)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Causal language modeling task guide](../tasks/language_modeling)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
+- [Multiple choice task guide](../tasks/multiple_choice)
## RoCBertConfig
diff --git a/docs/source/en/model_doc/roformer.mdx b/docs/source/en/model_doc/roformer.mdx
index 7940a5e24f..942ca9ec53 100644
--- a/docs/source/en/model_doc/roformer.mdx
+++ b/docs/source/en/model_doc/roformer.mdx
@@ -39,12 +39,12 @@ This model was contributed by [junnyu](https://huggingface.co/junnyu). The origi
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Causal language modeling task guide](./tasks/language_modeling)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Causal language modeling task guide](../tasks/language_modeling)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
+- [Multiple choice task guide](../tasks/multiple_choice)
## RoFormerConfig
diff --git a/docs/source/en/model_doc/segformer.mdx b/docs/source/en/model_doc/segformer.mdx
index a529578947..1734a20195 100644
--- a/docs/source/en/model_doc/segformer.mdx
+++ b/docs/source/en/model_doc/segformer.mdx
@@ -91,7 +91,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`SegformerForImageClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/image-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_classification.ipynb).
-- [Image classification task guide](./tasks/image_classification)
+- [Image classification task guide](../tasks/image_classification)
Semantic segmentation:
@@ -99,7 +99,7 @@ Semantic segmentation:
- A blog on fine-tuning SegFormer on a custom dataset can be found [here](https://huggingface.co/blog/fine-tune-segformer).
- More demo notebooks on SegFormer (both inference + fine-tuning on a custom dataset) can be found [here](https://github.com/NielsRogge/Transformers-Tutorials/tree/master/SegFormer).
- [`TFSegformerForSemanticSegmentation`] is supported by this [example notebook](https://github.com/huggingface/notebooks/blob/main/examples/semantic_segmentation-tf.ipynb).
-- [Semantic segmentation task guide](./tasks/semantic_segmentation)
+- [Semantic segmentation task guide](../tasks/semantic_segmentation)
If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource.
diff --git a/docs/source/en/model_doc/sew-d.mdx b/docs/source/en/model_doc/sew-d.mdx
index c28c08773e..1141be6857 100644
--- a/docs/source/en/model_doc/sew-d.mdx
+++ b/docs/source/en/model_doc/sew-d.mdx
@@ -38,8 +38,8 @@ This model was contributed by [anton-l](https://huggingface.co/anton-l).
## Documentation resources
-- [Audio classification task guide](./tasks/audio_classification)
-- [Automatic speech recognition task guide](./tasks/asr)
+- [Audio classification task guide](../tasks/audio_classification)
+- [Automatic speech recognition task guide](../tasks/asr)
## SEWDConfig
diff --git a/docs/source/en/model_doc/sew.mdx b/docs/source/en/model_doc/sew.mdx
index d37393f732..a4a780e992 100644
--- a/docs/source/en/model_doc/sew.mdx
+++ b/docs/source/en/model_doc/sew.mdx
@@ -38,8 +38,8 @@ This model was contributed by [anton-l](https://huggingface.co/anton-l).
## Documentation resources
-- [Audio classification task guide](./tasks/audio_classification)
-- [Automatic speech recognition task guide](./tasks/asr)
+- [Audio classification task guide](../tasks/audio_classification)
+- [Automatic speech recognition task guide](../tasks/asr)
## SEWConfig
diff --git a/docs/source/en/model_doc/speech_to_text_2.mdx b/docs/source/en/model_doc/speech_to_text_2.mdx
index 87d7dde1be..745102c30b 100644
--- a/docs/source/en/model_doc/speech_to_text_2.mdx
+++ b/docs/source/en/model_doc/speech_to_text_2.mdx
@@ -96,7 +96,7 @@ See [model hub](https://huggingface.co/models?filter=speech2text2) to look for S
## Documentation resources
-- [Causal language modeling task guide](./tasks/language_modeling)
+- [Causal language modeling task guide](../tasks/language_modeling)
## Speech2Text2Config
diff --git a/docs/source/en/model_doc/splinter.mdx b/docs/source/en/model_doc/splinter.mdx
index 329b53ccc5..6c89ac6fe7 100644
--- a/docs/source/en/model_doc/splinter.mdx
+++ b/docs/source/en/model_doc/splinter.mdx
@@ -49,7 +49,7 @@ This model was contributed by [yuvalkirstain](https://huggingface.co/yuvalkirsta
## Documentation resources
-- [Question answering task guide](./tasks/question-answering)
+- [Question answering task guide](../tasks/question-answering)
## SplinterConfig
diff --git a/docs/source/en/model_doc/squeezebert.mdx b/docs/source/en/model_doc/squeezebert.mdx
index e793346cce..a5f443f9a9 100644
--- a/docs/source/en/model_doc/squeezebert.mdx
+++ b/docs/source/en/model_doc/squeezebert.mdx
@@ -48,11 +48,11 @@ This model was contributed by [forresti](https://huggingface.co/forresti).
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
+- [Multiple choice task guide](../tasks/multiple_choice)
## SqueezeBertConfig
diff --git a/docs/source/en/model_doc/swin.mdx b/docs/source/en/model_doc/swin.mdx
index a7aa0537c7..5f1cf1bfd0 100644
--- a/docs/source/en/model_doc/swin.mdx
+++ b/docs/source/en/model_doc/swin.mdx
@@ -52,7 +52,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`SwinForImageClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/image-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_classification.ipynb).
-- See also: [Image classification task guide](./tasks/image_classification)
+- See also: [Image classification task guide](../tasks/image_classification)
Besides that:
diff --git a/docs/source/en/model_doc/swinv2.mdx b/docs/source/en/model_doc/swinv2.mdx
index 703880cc08..02ff62c685 100644
--- a/docs/source/en/model_doc/swinv2.mdx
+++ b/docs/source/en/model_doc/swinv2.mdx
@@ -33,7 +33,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`Swinv2ForImageClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/image-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_classification.ipynb).
-- See also: [Image classification task guide](./tasks/image_classification)
+- See also: [Image classification task guide](../tasks/image_classification)
Besides that:
diff --git a/docs/source/en/model_doc/switch_transformers.mdx b/docs/source/en/model_doc/switch_transformers.mdx
index be156e645b..679863d264 100644
--- a/docs/source/en/model_doc/switch_transformers.mdx
+++ b/docs/source/en/model_doc/switch_transformers.mdx
@@ -34,8 +34,8 @@ The original code can be found [here](https://github.com/google/flaxformer/tree/
## Resources
-- [Translation task guide](./tasks/translation)
-- [Summarization task guide](./tasks/summarization)
+- [Translation task guide](../tasks/translation)
+- [Summarization task guide](../tasks/summarization)
## SwitchTransformersConfig
diff --git a/docs/source/en/model_doc/t5.mdx b/docs/source/en/model_doc/t5.mdx
index 8b0bfafc00..f7665c11ae 100644
--- a/docs/source/en/model_doc/t5.mdx
+++ b/docs/source/en/model_doc/t5.mdx
@@ -341,7 +341,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`TFT5ForConditionalGeneration`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/tensorflow/summarization) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/summarization-tf.ipynb).
- [`FlaxT5ForConditionalGeneration`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/flax/summarization).
- [Summarization](https://huggingface.co/course/chapter7/5?fw=pt#summarization) chapter of the π€ Hugging Face course.
-- [Summarization task guide](./tasks/summarization)
+- [Summarization task guide](../tasks/summarization)
@@ -351,7 +351,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`T5ForConditionalGeneration`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/translation) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/translation.ipynb).
- [`TFT5ForConditionalGeneration`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/tensorflow/translation) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/translation-tf.ipynb).
-- [Translation task guide](./tasks/translation)
+- [Translation task guide](../tasks/translation)
diff --git a/docs/source/en/model_doc/tapas.mdx b/docs/source/en/model_doc/tapas.mdx
index e7e6608965..fadda58957 100644
--- a/docs/source/en/model_doc/tapas.mdx
+++ b/docs/source/en/model_doc/tapas.mdx
@@ -571,8 +571,8 @@ In case of a conversational set-up, then each table-question pair must be provid
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
## TAPAS specific outputs
[[autodoc]] models.tapas.modeling_tapas.TableQuestionAnsweringOutput
diff --git a/docs/source/en/model_doc/timesformer.mdx b/docs/source/en/model_doc/timesformer.mdx
index 7591d1fbc9..157f806e42 100644
--- a/docs/source/en/model_doc/timesformer.mdx
+++ b/docs/source/en/model_doc/timesformer.mdx
@@ -30,7 +30,7 @@ The original code can be found [here](https://github.com/facebookresearch/TimeSf
## Documentation resources
-- [Video classification task guide](./tasks/video_classification)
+- [Video classification task guide](../tasks/video_classification)
## TimesformerConfig
diff --git a/docs/source/en/model_doc/transfo-xl.mdx b/docs/source/en/model_doc/transfo-xl.mdx
index bfd99cf1aa..83ce8bc76f 100644
--- a/docs/source/en/model_doc/transfo-xl.mdx
+++ b/docs/source/en/model_doc/transfo-xl.mdx
@@ -60,8 +60,8 @@ TransformerXL does **not** work with *torch.nn.DataParallel* due to a bug in PyT
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Causal language modeling task guide](./tasks/language_modeling)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Causal language modeling task guide](../tasks/language_modeling)
## TransfoXLConfig
diff --git a/docs/source/en/model_doc/unispeech-sat.mdx b/docs/source/en/model_doc/unispeech-sat.mdx
index 72400a0363..d045bcbe69 100644
--- a/docs/source/en/model_doc/unispeech-sat.mdx
+++ b/docs/source/en/model_doc/unispeech-sat.mdx
@@ -46,8 +46,8 @@ found [here](https://github.com/microsoft/UniSpeech/tree/main/UniSpeech-SAT).
## Documentation resources
-- [Audio classification task guide](./tasks/audio_classification)
-- [Automatic speech recognition task guide](./tasks/asr)
+- [Audio classification task guide](../tasks/audio_classification)
+- [Automatic speech recognition task guide](../tasks/asr)
## UniSpeechSatConfig
diff --git a/docs/source/en/model_doc/unispeech.mdx b/docs/source/en/model_doc/unispeech.mdx
index 6deb274b2f..3d170b63ce 100644
--- a/docs/source/en/model_doc/unispeech.mdx
+++ b/docs/source/en/model_doc/unispeech.mdx
@@ -41,8 +41,8 @@ found [here](https://github.com/microsoft/UniSpeech/tree/main/UniSpeech).
## Documentation resources
-- [Audio classification task guide](./tasks/audio_classification)
-- [Automatic speech recognition task guide](./tasks/asr)
+- [Audio classification task guide](../tasks/audio_classification)
+- [Automatic speech recognition task guide](../tasks/asr)
## UniSpeechConfig
diff --git a/docs/source/en/model_doc/upernet.mdx b/docs/source/en/model_doc/upernet.mdx
index 074189599b..e839165e74 100644
--- a/docs/source/en/model_doc/upernet.mdx
+++ b/docs/source/en/model_doc/upernet.mdx
@@ -35,7 +35,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- Demo notebooks for UPerNet can be found [here](https://github.com/NielsRogge/Transformers-Tutorials/tree/master/UPerNet).
- [`UperNetForSemanticSegmentation`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/semantic-segmentation) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/semantic_segmentation.ipynb).
-- See also: [Semantic segmentation task guide](./tasks/semantic_segmentation)
+- See also: [Semantic segmentation task guide](../tasks/semantic_segmentation)
If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource.
diff --git a/docs/source/en/model_doc/van.mdx b/docs/source/en/model_doc/van.mdx
index e6f021cd9f..e59af72758 100644
--- a/docs/source/en/model_doc/van.mdx
+++ b/docs/source/en/model_doc/van.mdx
@@ -39,7 +39,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`VanForImageClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/image-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_classification.ipynb).
-- See also: [Image classification task guide](./tasks/image_classification)
+- See also: [Image classification task guide](../tasks/image_classification)
If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource.
diff --git a/docs/source/en/model_doc/videomae.mdx b/docs/source/en/model_doc/videomae.mdx
index efa1ed14fe..00237055ac 100644
--- a/docs/source/en/model_doc/videomae.mdx
+++ b/docs/source/en/model_doc/videomae.mdx
@@ -43,7 +43,7 @@ review it! The resource should ideally demonstrate something new instead of dupl
**Video classification**
- [A notebook](https://github.com/huggingface/notebooks/blob/main/examples/video_classification.ipynb) that shows how
to fine-tune a VideoMAE model on a custom dataset.
-- [Video classification task guide](./tasks/video-classification)
+- [Video classification task guide](../tasks/video-classification)
- [A π€ Space](https://huggingface.co/spaces/sayakpaul/video-classification-ucf101-subset) showing how to perform inference with a video classification model.
diff --git a/docs/source/en/model_doc/vit.mdx b/docs/source/en/model_doc/vit.mdx
index 0244c66402..31977a45ca 100644
--- a/docs/source/en/model_doc/vit.mdx
+++ b/docs/source/en/model_doc/vit.mdx
@@ -95,7 +95,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`ViTForImageClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/image-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_classification.ipynb).
- A blog on fine-tuning [`ViTForImageClassification`] on a custom dataset can be found [here](https://huggingface.co/blog/fine-tune-vit).
- More demo notebooks to fine-tune [`ViTForImageClassification`] can be found [here](https://github.com/NielsRogge/Transformers-Tutorials/tree/master/VisionTransformer).
-- [Image classification task guide](./tasks/image_classification)
+- [Image classification task guide](../tasks/image_classification)
Besides that:
diff --git a/docs/source/en/model_doc/vit_hybrid.mdx b/docs/source/en/model_doc/vit_hybrid.mdx
index 07377bdb3f..f53b3ff10d 100644
--- a/docs/source/en/model_doc/vit_hybrid.mdx
+++ b/docs/source/en/model_doc/vit_hybrid.mdx
@@ -44,7 +44,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`ViTHybridForImageClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/image-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_classification.ipynb).
-- See also: [Image classification task guide](./tasks/image_classification)
+- See also: [Image classification task guide](../tasks/image_classification)
If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource.
diff --git a/docs/source/en/model_doc/vit_msn.mdx b/docs/source/en/model_doc/vit_msn.mdx
index 41c2ff32d5..f4e4afcac3 100644
--- a/docs/source/en/model_doc/vit_msn.mdx
+++ b/docs/source/en/model_doc/vit_msn.mdx
@@ -53,7 +53,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`ViTMSNForImageClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/image-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_classification.ipynb).
-- See also: [Image classification task guide](./tasks/image_classification)
+- See also: [Image classification task guide](../tasks/image_classification)
If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource.
diff --git a/docs/source/en/model_doc/wav2vec2-conformer.mdx b/docs/source/en/model_doc/wav2vec2-conformer.mdx
index 29f2ace678..cf18534619 100644
--- a/docs/source/en/model_doc/wav2vec2-conformer.mdx
+++ b/docs/source/en/model_doc/wav2vec2-conformer.mdx
@@ -35,8 +35,8 @@ The original code can be found [here](https://github.com/pytorch/fairseq/tree/ma
## Documentation resources
-- [Audio classification task guide](./tasks/audio_classification)
-- [Automatic speech recognition task guide](./tasks/asr)
+- [Audio classification task guide](../tasks/audio_classification)
+- [Automatic speech recognition task guide](../tasks/asr)
## Wav2Vec2ConformerConfig
diff --git a/docs/source/en/model_doc/wav2vec2.mdx b/docs/source/en/model_doc/wav2vec2.mdx
index 43210fd0ae..837e4526e8 100644
--- a/docs/source/en/model_doc/wav2vec2.mdx
+++ b/docs/source/en/model_doc/wav2vec2.mdx
@@ -43,7 +43,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- A notebook on how to [leverage a pretrained Wav2Vec2 model for emotion classification](https://colab.research.google.com/github/m3hrdadfi/soxan/blob/main/notebooks/Emotion_recognition_in_Greek_speech_using_Wav2Vec2.ipynb). π
- [`Wav2Vec2ForCTC`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/audio-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/audio_classification.ipynb).
-- [Audio classification task guide](./tasks/audio_classification)
+- [Audio classification task guide](../tasks/audio_classification)
@@ -52,7 +52,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- A blog post on [finetuning XLS-R for Multi-Lingual ASR with π€ Transformers](https://huggingface.co/blog/fine-tune-xlsr-wav2vec2).
- A notebook on how to [create YouTube captions from any video by transcribing audio with Wav2Vec2](https://colab.research.google.com/github/Muennighoff/ytclipcc/blob/main/wav2vec_youtube_captions.ipynb). π
- [`Wav2Vec2ForCTC`] is supported by a notebook on [how to finetune a speech recognition model in English](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/speech_recognition.ipynb), and [how to finetune a speech recognition model in any language](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/multi_lingual_speech_recognition.ipynb).
-- [Automatic speech recognition task guide](./tasks/asr)
+- [Automatic speech recognition task guide](../tasks/asr)
π Deploy
diff --git a/docs/source/en/model_doc/wavlm.mdx b/docs/source/en/model_doc/wavlm.mdx
index 1157842f93..ce58b1c965 100644
--- a/docs/source/en/model_doc/wavlm.mdx
+++ b/docs/source/en/model_doc/wavlm.mdx
@@ -46,8 +46,8 @@ found [here](https://github.com/microsoft/unilm/tree/master/wavlm).
## Documentation resources
-- [Audio classification task guide](./tasks/audio_classification)
-- [Automatic speech recognition task guide](./tasks/asr)
+- [Audio classification task guide](../tasks/audio_classification)
+- [Automatic speech recognition task guide](../tasks/asr)
## WavLMConfig
diff --git a/docs/source/en/model_doc/xglm.mdx b/docs/source/en/model_doc/xglm.mdx
index a9883847fb..fb4c7a1428 100644
--- a/docs/source/en/model_doc/xglm.mdx
+++ b/docs/source/en/model_doc/xglm.mdx
@@ -40,7 +40,7 @@ This model was contributed by [Suraj](https://huggingface.co/valhalla). The orig
## Documentation resources
-- [Causal language modeling task guide](./tasks/language_modeling)
+- [Causal language modeling task guide](../tasks/language_modeling)
## XGLMConfig
diff --git a/docs/source/en/model_doc/xlm-prophetnet.mdx b/docs/source/en/model_doc/xlm-prophetnet.mdx
index 1bfae1ec42..ba6b91da6c 100644
--- a/docs/source/en/model_doc/xlm-prophetnet.mdx
+++ b/docs/source/en/model_doc/xlm-prophetnet.mdx
@@ -54,9 +54,9 @@ Tips:
## Documentation resources
-- [Causal language modeling task guide](./tasks/language_modeling)
-- [Translation task guide](./tasks/translation)
-- [Summarization task guide](./tasks/summarization)
+- [Causal language modeling task guide](../tasks/language_modeling)
+- [Translation task guide](../tasks/translation)
+- [Summarization task guide](../tasks/summarization)
## XLMProphetNetConfig
diff --git a/docs/source/en/model_doc/xlm-roberta-xl.mdx b/docs/source/en/model_doc/xlm-roberta-xl.mdx
index ebda86e19c..7c9efa593d 100644
--- a/docs/source/en/model_doc/xlm-roberta-xl.mdx
+++ b/docs/source/en/model_doc/xlm-roberta-xl.mdx
@@ -30,12 +30,12 @@ This model was contributed by [Soonhwan-Kwon](https://github.com/Soonhwan-Kwon)
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Causal language modeling task guide](./tasks/language_modeling)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Causal language modeling task guide](../tasks/language_modeling)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
+- [Multiple choice task guide](../tasks/multiple_choice)
## XLMRobertaXLConfig
diff --git a/docs/source/en/model_doc/xlm-roberta.mdx b/docs/source/en/model_doc/xlm-roberta.mdx
index 2bcff13016..f7fe74edeb 100644
--- a/docs/source/en/model_doc/xlm-roberta.mdx
+++ b/docs/source/en/model_doc/xlm-roberta.mdx
@@ -64,7 +64,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`TFXLMRobertaForSequenceClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/tensorflow/text-classification) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/text_classification-tf.ipynb).
- [`FlaxXLMRobertaForSequenceClassification`] 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).
- [Text classification](https://huggingface.co/docs/transformers/tasks/sequence_classification) chapter of the π€ Hugging Face Task Guides.
-- [Text classification task guide](./tasks/sequence_classification)
+- [Text classification task guide](../tasks/sequence_classification)
@@ -72,13 +72,13 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`TFXLMRobertaForTokenClassification`] 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).
- [`FlaxXLMRobertaForTokenClassification`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/flax/token-classification).
- [Token classification](https://huggingface.co/course/chapter7/2?fw=pt) chapter of the π€ Hugging Face Course.
-- [Token classification task guide](./tasks/token_classification)
+- [Token classification task guide](../tasks/token_classification)
- [`XLMRobertaForCausalLM`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/language-modeling) and [notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/language_modeling.ipynb).
- [Causal language modeling](https://huggingface.co/docs/transformers/tasks/language_modeling) chapter of the π€ Hugging Face Task Guides.
-- [Causal language modeling task guide](./tasks/language_modeling)
+- [Causal language modeling task guide](../tasks/language_modeling)
@@ -86,7 +86,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`TFXLMRobertaForMaskedLM`] 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).
- [`FlaxXLMRobertaForMaskedLM`] 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).
- [Masked language modeling](https://huggingface.co/course/chapter7/3?fw=pt) chapter of the π€ Hugging Face Course.
-- [Masked language modeling](./tasks/masked_language_modeling)
+- [Masked language modeling](../tasks/masked_language_modeling)
@@ -94,13 +94,13 @@ A list of official Hugging Face and community (indicated by π) resources to h
- [`TFXLMRobertaForQuestionAnswering`] 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).
- [`FlaxXLMRobertaForQuestionAnswering`] is supported by this [example script](https://github.com/huggingface/transformers/tree/main/examples/flax/question-answering).
- [Question answering](https://huggingface.co/course/chapter7/7?fw=pt) chapter of the π€ Hugging Face Course.
-- [Question answering task guide](./tasks/question_answering)
+- [Question answering task guide](../tasks/question_answering)
**Multiple choice**
- [`XLMRobertaForMultipleChoice`] 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).
- [`TFXLMRobertaForMultipleChoice`] 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).
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Multiple choice task guide](../tasks/multiple_choice)
π Deploy
diff --git a/docs/source/en/model_doc/xlm.mdx b/docs/source/en/model_doc/xlm.mdx
index 04923d2285..846ca73b6b 100644
--- a/docs/source/en/model_doc/xlm.mdx
+++ b/docs/source/en/model_doc/xlm.mdx
@@ -57,12 +57,12 @@ This model was contributed by [thomwolf](https://huggingface.co/thomwolf). The o
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Causal language modeling task guide](./tasks/language_modeling)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Causal language modeling task guide](../tasks/language_modeling)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
+- [Multiple choice task guide](../tasks/multiple_choice)
## XLMConfig
diff --git a/docs/source/en/model_doc/xlnet.mdx b/docs/source/en/model_doc/xlnet.mdx
index 2bebc4719b..599c865c71 100644
--- a/docs/source/en/model_doc/xlnet.mdx
+++ b/docs/source/en/model_doc/xlnet.mdx
@@ -56,11 +56,11 @@ This model was contributed by [thomwolf](https://huggingface.co/thomwolf). The o
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Causal language modeling task guide](./tasks/language_modeling)
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Causal language modeling task guide](../tasks/language_modeling)
+- [Multiple choice task guide](../tasks/multiple_choice)
## XLNetConfig
diff --git a/docs/source/en/model_doc/xmod.mdx b/docs/source/en/model_doc/xmod.mdx
index 7c65734692..c240889b02 100644
--- a/docs/source/en/model_doc/xmod.mdx
+++ b/docs/source/en/model_doc/xmod.mdx
@@ -80,12 +80,12 @@ model.set_default_language("de_DE")
## Resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Causal language modeling task guide](./tasks/language_modeling)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Causal language modeling task guide](../tasks/language_modeling)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
+- [Multiple choice task guide](../tasks/multiple_choice)
## XmodConfig
diff --git a/docs/source/en/model_doc/yolos.mdx b/docs/source/en/model_doc/yolos.mdx
index bab338860e..ec5cf6cbb4 100644
--- a/docs/source/en/model_doc/yolos.mdx
+++ b/docs/source/en/model_doc/yolos.mdx
@@ -39,7 +39,7 @@ A list of official Hugging Face and community (indicated by π) resources to h
- All example notebooks illustrating inference + fine-tuning [`YolosForObjectDetection`] on a custom dataset can be found [here](https://github.com/NielsRogge/Transformers-Tutorials/tree/master/YOLOS).
-- See also: [Object detection task guide](./tasks/object_detection)
+- See also: [Object detection task guide](../tasks/object_detection)
If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource.
diff --git a/docs/source/en/model_doc/yoso.mdx b/docs/source/en/model_doc/yoso.mdx
index 575c1b4916..66b05b33cb 100644
--- a/docs/source/en/model_doc/yoso.mdx
+++ b/docs/source/en/model_doc/yoso.mdx
@@ -52,11 +52,11 @@ This model was contributed by [novice03](https://huggingface.co/novice03). The o
## Documentation resources
-- [Text classification task guide](./tasks/sequence_classification)
-- [Token classification task guide](./tasks/token_classification)
-- [Question answering task guide](./tasks/question_answering)
-- [Masked language modeling task guide](./tasks/masked_language_modeling)
-- [Multiple choice task guide](./tasks/multiple_choice)
+- [Text classification task guide](../tasks/sequence_classification)
+- [Token classification task guide](../tasks/token_classification)
+- [Question answering task guide](../tasks/question_answering)
+- [Masked language modeling task guide](../tasks/masked_language_modeling)
+- [Multiple choice task guide](../tasks/multiple_choice)
## YosoConfig