Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
6156bffa
Unverified
Commit
6156bffa
authored
Nov 07, 2022
by
Tom Aarsen
Committed by
GitHub
Nov 07, 2022
Browse files
Replace awkward timm link with the expected one (#20109)
parent
71f772eb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
docs/source/en/custom_models.mdx
docs/source/en/custom_models.mdx
+1
-1
docs/source/es/custom_models.mdx
docs/source/es/custom_models.mdx
+1
-1
docs/source/it/custom_models.mdx
docs/source/it/custom_models.mdx
+1
-1
docs/source/pt/custom_models.mdx
docs/source/pt/custom_models.mdx
+1
-1
No files found.
docs/source/en/custom_models.mdx
View file @
6156bffa
...
...
@@ -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
...
...
docs/source/es/custom_models.mdx
View file @
6156bffa
...
...
@@ -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
...
...
docs/source/it/custom_models.mdx
View file @
6156bffa
...
...
@@ -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
...
...
docs/source/pt/custom_models.mdx
View file @
6156bffa
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment