Skip to content

Commit

Permalink
Replace awkward timm link with the expected one (huggingface#20109)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaarsen authored Nov 7, 2022
1 parent 71f772e commit 6156bff
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/source/en/custom_models.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/source/es/custom_models.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/source/it/custom_models.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/source/pt/custom_models.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6156bff

Please sign in to comment.