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
6241c873
"git@developer.sourcefind.cn:hehl2/torchaudio.git" did not exist on "92b6847ee50be39743ac65ea9cf455ac319840e7"
Unverified
Commit
6241c873
authored
Oct 28, 2020
by
Sylvain Gugger
Committed by
GitHub
Oct 28, 2020
Browse files
Document the various LM Auto models (#8118)
parent
5193172f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
5 deletions
+33
-5
docs/source/model_doc/auto.rst
docs/source/model_doc/auto.rst
+33
-5
No files found.
docs/source/model_doc/auto.rst
View file @
6241c873
AutoClasses
Auto
Classes
-----------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------
In
many
cases
,
the
architecture
you
want
to
use
can
be
guessed
from
the
name
or
the
path
of
the
pretrained
model
you
In
many
cases
,
the
architecture
you
want
to
use
can
be
guessed
from
the
name
or
the
path
of
the
pretrained
model
you
...
@@ -46,10 +46,24 @@ AutoModelForPreTraining
...
@@ -46,10 +46,24 @@ AutoModelForPreTraining
:
members
:
:
members
:
AutoModel
WithLMHead
AutoModel
ForCausalLM
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
..
autoclass
::
transformers
.
AutoModelWithLMHead
..
autoclass
::
transformers
.
AutoModelForCausalLM
:
members
:
AutoModelForMaskedLM
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
..
autoclass
::
transformers
.
AutoModelForMaskedLM
:
members
:
AutoModelForSeq2SeqLM
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
..
autoclass
::
transformers
.
AutoModelForSeq2SeqLM
:
members
:
:
members
:
...
@@ -95,10 +109,24 @@ TFAutoModelForPreTraining
...
@@ -95,10 +109,24 @@ TFAutoModelForPreTraining
:
members
:
:
members
:
TFAutoModelWithLMHead
TFAutoModelForCausalLM
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
..
autoclass
::
transformers
.
TFAutoModelForCausalLM
:
members
:
TFAutoModelForMaskedLM
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
..
autoclass
::
transformers
.
TFAutoModelForMaskedLM
:
members
:
TFAutoModelForSeq2SeqLM
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
..
autoclass
::
transformers
.
TFAutoModel
WithLMHead
..
autoclass
::
transformers
.
TFAutoModel
ForSeq2SeqLM
:
members
:
:
members
:
...
...
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