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
99898dcd
Unverified
Commit
99898dcd
authored
Oct 16, 2020
by
Julien Chaumond
Committed by
GitHub
Oct 16, 2020
Browse files
[Pipelines] Fix links to model lists (#7826)
parent
52c9e842
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/transformers/pipelines.py
src/transformers/pipelines.py
+2
-2
No files found.
src/transformers/pipelines.py
View file @
99898dcd
...
@@ -781,7 +781,7 @@ class TextGenerationPipeline(Pipeline):
...
@@ -781,7 +781,7 @@ class TextGenerationPipeline(Pipeline):
The models that this pipeline can use are models that have been trained with an autoregressive language modeling
The models that this pipeline can use are models that have been trained with an autoregressive language modeling
objective, which includes the uni-directional models in the library (e.g. gpt2).
objective, which includes the uni-directional models in the library (e.g. gpt2).
See the list of available community models on
See the list of available community models on
`huggingface.co/models <https://huggingface.co/models?
search=&filter=lm-head
>`__.
`huggingface.co/models <https://huggingface.co/models?
filter=causal-lm
>`__.
"""
"""
# Prefix text to help Transformer-XL and XLNet with short prompts as proposed by Aman Rusia
# Prefix text to help Transformer-XL and XLNet with short prompts as proposed by Aman Rusia
...
@@ -1180,7 +1180,7 @@ class FillMaskPipeline(Pipeline):
...
@@ -1180,7 +1180,7 @@ class FillMaskPipeline(Pipeline):
The models that this pipeline can use are models that have been trained with a masked language modeling objective,
The models that this pipeline can use are models that have been trained with a masked language modeling objective,
which includes the bi-directional models in the library.
which includes the bi-directional models in the library.
See the up-to-date list of available models on
See the up-to-date list of available models on
`huggingface.co/models <https://huggingface.co/models?filter=
lm-head
>`__.
`huggingface.co/models <https://huggingface.co/models?filter=
masked-lm
>`__.
.. note::
.. note::
...
...
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