From 6156bffa2bfcfc0094b061bffcfdf4f1ef9d3e28 Mon Sep 17 00:00:00 2001 From: Tom Aarsen <37621491+tomaarsen@users.noreply.github.com> Date: Mon, 7 Nov 2022 19:57:39 +0100 Subject: [PATCH] Replace awkward timm link with the expected one (#20109) --- docs/source/en/custom_models.mdx | 2 +- docs/source/es/custom_models.mdx | 2 +- docs/source/it/custom_models.mdx | 2 +- docs/source/pt/custom_models.mdx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/source/en/custom_models.mdx b/docs/source/en/custom_models.mdx index f08291cef0..f5ad558562 100644 --- a/docs/source/en/custom_models.mdx +++ b/docs/source/en/custom_models.mdx @@ -21,7 +21,7 @@ with the community (with the code it relies on) so that anyone can use it, even Transformers library. We will illustrate all of this on a ResNet model, by wrapping the ResNet class of the -[timm library](https://github.com/rwightman/pytorch-image-models/tree/master/timm) into a [`PreTrainedModel`]. +[timm library](https://github.com/rwightman/pytorch-image-models) into a [`PreTrainedModel`]. ## Writing a custom configuration diff --git a/docs/source/es/custom_models.mdx b/docs/source/es/custom_models.mdx index c216739a8e..434d59f87d 100644 --- a/docs/source/es/custom_models.mdx +++ b/docs/source/es/custom_models.mdx @@ -21,7 +21,7 @@ cómo escribir un modelo personalizado y su configuración para que pueda usarse con la comunidad (con el código en el que se basa) para que cualquiera pueda usarlo, incluso si no está presente en la biblioteca 🤗 Transformers. -Ilustraremos todo esto con un modelo ResNet, envolviendo la clase ResNet de la [biblioteca timm](https://github.com/rwightman/pytorch-image-models/tree/master/timm) en un [`PreTrainedModel`]. +Ilustraremos todo esto con un modelo ResNet, envolviendo la clase ResNet de la [biblioteca timm](https://github.com/rwightman/pytorch-image-models) en un [`PreTrainedModel`]. ## Escribir una configuración personalizada diff --git a/docs/source/it/custom_models.mdx b/docs/source/it/custom_models.mdx index 73814c9d89..b4b0302e29 100644 --- a/docs/source/it/custom_models.mdx +++ b/docs/source/it/custom_models.mdx @@ -21,7 +21,7 @@ Transformers, e come condividerlo con la community (assieme al relativo codice) se non presente nella libreria 🤗 Transformers. Illustriamo tutto questo su un modello ResNet, avvolgendo la classe ResNet della -[libreria timm](https://github.com/rwightman/pytorch-image-models/tree/master/timm) in un [`PreTrainedModel`]. +[libreria timm](https://github.com/rwightman/pytorch-image-models) in un [`PreTrainedModel`]. ## Scrivere una configurazione personalizzata Prima di iniziare a lavorare al modello, scriviamone la configurazione. La configurazione di un modello è un oggetto diff --git a/docs/source/pt/custom_models.mdx b/docs/source/pt/custom_models.mdx index 8328b50cce..59484dcc35 100644 --- a/docs/source/pt/custom_models.mdx +++ b/docs/source/pt/custom_models.mdx @@ -20,7 +20,7 @@ como escrever um modelo customizado e sua configuração para que possa ser usad com a comunidade (com o código em que se baseia) para que qualquer pessoa possa usá-lo, mesmo se não estiver presente na biblioteca 🤗 Transformers. Ilustraremos tudo isso em um modelo ResNet, envolvendo a classe ResNet do -[biblioteca timm](https://github.com/rwightman/pytorch-image-models/tree/master/timm) em um [`PreTrainedModel`]. +[biblioteca timm](https://github.com/rwightman/pytorch-image-models) em um [`PreTrainedModel`]. ## Escrevendo uma configuração customizada