Unverified Commit 074490b2 authored by Seb0's avatar Seb0 Committed by GitHub
Browse files

fix(docs): fix task guide links in model docs (#22226)

fix(docs): task guide links in model docs
parent 314cdf7c
...@@ -195,9 +195,9 @@ dict_keys(['input_ids', 'token_type_ids', 'attention_mask', 'xpath_tags_seq', 'x ...@@ -195,9 +195,9 @@ dict_keys(['input_ids', 'token_type_ids', 'attention_mask', 'xpath_tags_seq', 'x
## Documentation resources ## Documentation resources
- [Text classification task guide](./tasks/sequence_classification) - [Text classification task guide](../tasks/sequence_classification)
- [Token classification task guide](./tasks/token_classification) - [Token classification task guide](../tasks/token_classification)
- [Question answering task guide](./tasks/question_answering) - [Question answering task guide](../tasks/question_answering)
## MarkupLMConfig ## MarkupLMConfig
......
...@@ -154,12 +154,12 @@ tokenizer.batch_decode(generated_tokens, skip_special_tokens=True) ...@@ -154,12 +154,12 @@ tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
## Documentation resources ## Documentation resources
- [Text classification task guide](./tasks/sequence_classification) - [Text classification task guide](../tasks/sequence_classification)
- [Question answering task guide](./tasks/question_answering) - [Question answering task guide](../tasks/question_answering)
- [Causal language modeling task guide](./tasks/language_modeling) - [Causal language modeling task guide](../tasks/language_modeling)
- [Masked language modeling task guide](./tasks/masked_language_modeling) - [Masked language modeling task guide](../tasks/masked_language_modeling)
- [Translation task guide](./tasks/translation) - [Translation task guide](../tasks/translation)
- [Summarization task guide](./tasks/summarization) - [Summarization task guide](../tasks/summarization)
## MBartConfig ## MBartConfig
......
...@@ -33,7 +33,7 @@ This model was contributed by [cwkeam](https://huggingface.co/cwkeam). The origi ...@@ -33,7 +33,7 @@ This model was contributed by [cwkeam](https://huggingface.co/cwkeam). The origi
## Documentation resources ## Documentation resources
- [Automatic speech recognition task guide](./tasks/asr) - [Automatic speech recognition task guide](../tasks/asr)
Tips: Tips:
......
...@@ -80,12 +80,12 @@ Megatron Language models. In particular, it contains a hybrid model parallel app ...@@ -80,12 +80,12 @@ Megatron Language models. In particular, it contains a hybrid model parallel app
## Documentation resources ## Documentation resources
- [Text classification task guide](./tasks/sequence_classification) - [Text classification task guide](../tasks/sequence_classification)
- [Token classification task guide](./tasks/token_classification) - [Token classification task guide](../tasks/token_classification)
- [Question answering task guide](./tasks/question_answering) - [Question answering task guide](../tasks/question_answering)
- [Causal language modeling task guide](./tasks/language_modeling) - [Causal language modeling task guide](../tasks/language_modeling)
- [Masked language modeling task guide](./tasks/masked_language_modeling) - [Masked language modeling task guide](../tasks/masked_language_modeling)
- [Multiple choice task guide](./tasks/multiple_choice) - [Multiple choice task guide](../tasks/multiple_choice)
## MegatronBertConfig ## MegatronBertConfig
......
...@@ -45,11 +45,11 @@ This model was contributed by [vshampor](https://huggingface.co/vshampor). The o ...@@ -45,11 +45,11 @@ This model was contributed by [vshampor](https://huggingface.co/vshampor). The o
## Documentation resources ## Documentation resources
- [Text classification task guide](./tasks/sequence_classification) - [Text classification task guide](../tasks/sequence_classification)
- [Token classification task guide](./tasks/token_classification) - [Token classification task guide](../tasks/token_classification)
- [Question answering task guide](./tasks/question_answering) - [Question answering task guide](../tasks/question_answering)
- [Masked language modeling task guide](./tasks/masked_language_modeling) - [Masked language modeling task guide](../tasks/masked_language_modeling)
- [Multiple choice task guide](./tasks/multiple_choice) - [Multiple choice task guide](../tasks/multiple_choice)
## MobileBertConfig ## MobileBertConfig
......
...@@ -51,7 +51,7 @@ A list of official Hugging Face and community (indicated by 🌎) resources to h ...@@ -51,7 +51,7 @@ A list of official Hugging Face and community (indicated by 🌎) resources to h
<PipelineTag pipeline="image-classification"/> <PipelineTag pipeline="image-classification"/>
- [`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). - [`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. 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.
......
...@@ -55,10 +55,10 @@ A list of official Hugging Face and community (indicated by 🌎) resources to h ...@@ -55,10 +55,10 @@ A list of official Hugging Face and community (indicated by 🌎) resources to h
<PipelineTag pipeline="image-classification"/> <PipelineTag pipeline="image-classification"/>
- [`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). - [`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**
- [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. 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.
......
...@@ -64,10 +64,10 @@ A list of official Hugging Face and community (indicated by 🌎) resources to h ...@@ -64,10 +64,10 @@ A list of official Hugging Face and community (indicated by 🌎) resources to h
<PipelineTag pipeline="image-classification"/> <PipelineTag pipeline="image-classification"/>
- [`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). - [`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**
- [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. 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.
......
...@@ -42,11 +42,11 @@ The original code can be found [here](https://github.com/microsoft/MPNet). ...@@ -42,11 +42,11 @@ The original code can be found [here](https://github.com/microsoft/MPNet).
## Documentation resources ## Documentation resources
- [Text classification task guide](./tasks/sequence_classification) - [Text classification task guide](../tasks/sequence_classification)
- [Token classification task guide](./tasks/token_classification) - [Token classification task guide](../tasks/token_classification)
- [Question answering task guide](./tasks/question_answering) - [Question answering task guide](../tasks/question_answering)
- [Masked language modeling task guide](./tasks/masked_language_modeling) - [Masked language modeling task guide](../tasks/masked_language_modeling)
- [Multiple choice task guide](./tasks/multiple_choice) - [Multiple choice task guide](../tasks/multiple_choice)
## MPNetConfig ## MPNetConfig
......
...@@ -58,8 +58,8 @@ found [here](https://github.com/google-research/multilingual-t5). ...@@ -58,8 +58,8 @@ found [here](https://github.com/google-research/multilingual-t5).
## Documentation resources ## Documentation resources
- [Translation task guide](./tasks/translation) - [Translation task guide](../tasks/translation)
- [Summarization task guide](./tasks/summarization) - [Summarization task guide](../tasks/summarization)
## MT5Config ## MT5Config
......
...@@ -102,12 +102,12 @@ For lightweight tuning, *i.e.*, fixing the model and only tuning prompts, you ca ...@@ -102,12 +102,12 @@ For lightweight tuning, *i.e.*, fixing the model and only tuning prompts, you ca
## Documentation resources ## Documentation resources
- [Text classification task guide](./tasks/sequence_classification) - [Text classification task guide](../tasks/sequence_classification)
- [Question answering task guide](./tasks/question_answering) - [Question answering task guide](../tasks/question_answering)
- [Causal language modeling task guide](./tasks/language_modeling) - [Causal language modeling task guide](../tasks/language_modeling)
- [Masked language modeling task guide](./tasks/masked_language_modeling) - [Masked language modeling task guide](../tasks/masked_language_modeling)
- [Translation task guide](./tasks/translation) - [Translation task guide](../tasks/translation)
- [Summarization task guide](./tasks/summarization) - [Summarization task guide](../tasks/summarization)
## MvpConfig ## MvpConfig
......
...@@ -63,7 +63,7 @@ A list of official Hugging Face and community (indicated by 🌎) resources to h ...@@ -63,7 +63,7 @@ A list of official Hugging Face and community (indicated by 🌎) resources to h
<PipelineTag pipeline="image-classification"/> <PipelineTag pipeline="image-classification"/>
- [`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). - [`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. 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.
......
...@@ -33,11 +33,11 @@ This model was contributed by [sijunhe](https://huggingface.co/sijunhe). The ori ...@@ -33,11 +33,11 @@ This model was contributed by [sijunhe](https://huggingface.co/sijunhe). The ori
## Documentation resources ## Documentation resources
- [Text classification task guide](./tasks/sequence_classification) - [Text classification task guide](../tasks/sequence_classification)
- [Token classification task guide](./tasks/token_classification) - [Token classification task guide](../tasks/token_classification)
- [Question answering task guide](./tasks/question_answering) - [Question answering task guide](../tasks/question_answering)
- [Masked language modeling task guide](./tasks/masked_language_modeling) - [Masked language modeling task guide](../tasks/masked_language_modeling)
- [Multiple choice task guide](./tasks/multiple_choice) - [Multiple choice task guide](../tasks/multiple_choice)
## NezhaConfig ## NezhaConfig
......
...@@ -90,8 +90,8 @@ UN-Chef sagt, es gibt keine militärische Lösung in Syrien ...@@ -90,8 +90,8 @@ UN-Chef sagt, es gibt keine militärische Lösung in Syrien
## Documentation resources ## Documentation resources
- [Translation task guide](./tasks/translation) - [Translation task guide](../tasks/translation)
- [Summarization task guide](./tasks/summarization) - [Summarization task guide](../tasks/summarization)
## NllbTokenizer ## NllbTokenizer
......
...@@ -35,11 +35,11 @@ This model was contributed by [novice03](https://huggingface.co/novice03). The o ...@@ -35,11 +35,11 @@ This model was contributed by [novice03](https://huggingface.co/novice03). The o
## Documentation resources ## Documentation resources
- [Text classification task guide](./tasks/sequence_classification) - [Text classification task guide](../tasks/sequence_classification)
- [Token classification task guide](./tasks/token_classification) - [Token classification task guide](../tasks/token_classification)
- [Question answering task guide](./tasks/question_answering) - [Question answering task guide](../tasks/question_answering)
- [Masked language modeling task guide](./tasks/masked_language_modeling) - [Masked language modeling task guide](../tasks/masked_language_modeling)
- [Multiple choice task guide](./tasks/multiple_choice) - [Multiple choice task guide](../tasks/multiple_choice)
## NystromformerConfig ## NystromformerConfig
......
...@@ -73,7 +73,7 @@ A list of official Hugging Face and community (indicated by 🌎) resources to h ...@@ -73,7 +73,7 @@ A list of official Hugging Face and community (indicated by 🌎) resources to h
<PipelineTag pipeline="text-classification"/> <PipelineTag pipeline="text-classification"/>
- A blog post on [outperforming OpenAI GPT-3 with SetFit for text-classification](https://www.philschmid.de/getting-started-setfit). - 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)
<PipelineTag pipeline="text-generation"/> <PipelineTag pipeline="text-generation"/>
...@@ -87,7 +87,7 @@ A list of official Hugging Face and community (indicated by 🌎) resources to h ...@@ -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. - [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). - [`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). - [`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)
<PipelineTag pipeline="token-classification"/> <PipelineTag pipeline="token-classification"/>
......
...@@ -104,9 +104,9 @@ All the [checkpoints](https://huggingface.co/models?search=pegasus) are fine-tun ...@@ -104,9 +104,9 @@ All the [checkpoints](https://huggingface.co/models?search=pegasus) are fine-tun
## Documentation resources ## Documentation resources
- [Causal language modeling task guide](./tasks/language_modeling) - [Causal language modeling task guide](../tasks/language_modeling)
- [Translation task guide](./tasks/translation) - [Translation task guide](../tasks/translation)
- [Summarization task guide](./tasks/summarization) - [Summarization task guide](../tasks/summarization)
## PegasusConfig ## PegasusConfig
......
...@@ -30,8 +30,8 @@ This model was contributed by [zphang](<https://huggingface.co/zphang). The orig ...@@ -30,8 +30,8 @@ This model was contributed by [zphang](<https://huggingface.co/zphang). The orig
## Documentation resources ## Documentation resources
- [Translation task guide](./tasks/translation) - [Translation task guide](../tasks/translation)
- [Summarization task guide](./tasks/summarization) - [Summarization task guide](../tasks/summarization)
## PegasusXConfig ## PegasusXConfig
......
...@@ -92,9 +92,9 @@ audio classification, video classification, etc. ...@@ -92,9 +92,9 @@ audio classification, video classification, etc.
## Documentation resources ## Documentation resources
- [Text classification task guide](./tasks/sequence_classification) - [Text classification task guide](../tasks/sequence_classification)
- [Masked language modeling task guide](./tasks/masked_language_modeling) - [Masked language modeling task guide](../tasks/masked_language_modeling)
- [Image classification task guide](./tasks/image_classification) - [Image classification task guide](../tasks/image_classification)
## Perceiver specific outputs ## Perceiver specific outputs
......
...@@ -80,10 +80,10 @@ it's passed with the `text_target` keyword argument. ...@@ -80,10 +80,10 @@ it's passed with the `text_target` keyword argument.
## Documentation resources ## Documentation resources
- [Text classification task guide](./tasks/sequence_classification) - [Text classification task guide](../tasks/sequence_classification)
- [Causal language modeling task guide](./tasks/language_modeling) - [Causal language modeling task guide](../tasks/language_modeling)
- [Translation task guide](./tasks/translation) - [Translation task guide](../tasks/translation)
- [Summarization task guide](./tasks/summarization) - [Summarization task guide](../tasks/summarization)
## PLBartConfig ## PLBartConfig
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment