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
d98591a1
Unverified
Commit
d98591a1
authored
Feb 02, 2024
by
zspo
Committed by
GitHub
Feb 01, 2024
Browse files
[docs] fix some bugs about parameter description (#28806)
Co-authored-by:
p_spozzhang
<
p_spozzhang@tencent.com
>
parent
e19c12e0
Changes
50
Show whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
20 additions
and
20 deletions
+20
-20
examples/flax/image-captioning/run_image_captioning_flax.py
examples/flax/image-captioning/run_image_captioning_flax.py
+1
-1
examples/flax/language-modeling/run_clm_flax.py
examples/flax/language-modeling/run_clm_flax.py
+1
-1
examples/flax/language-modeling/run_mlm_flax.py
examples/flax/language-modeling/run_mlm_flax.py
+1
-1
examples/flax/question-answering/run_qa.py
examples/flax/question-answering/run_qa.py
+1
-1
examples/flax/summarization/run_summarization_flax.py
examples/flax/summarization/run_summarization_flax.py
+1
-1
examples/flax/text-classification/run_flax_glue.py
examples/flax/text-classification/run_flax_glue.py
+1
-1
examples/flax/token-classification/run_flax_ner.py
examples/flax/token-classification/run_flax_ner.py
+1
-1
examples/flax/vision/run_image_classification.py
examples/flax/vision/run_image_classification.py
+1
-1
examples/pytorch/audio-classification/run_audio_classification.py
.../pytorch/audio-classification/run_audio_classification.py
+1
-1
examples/pytorch/contrastive-image-text/run_clip.py
examples/pytorch/contrastive-image-text/run_clip.py
+1
-1
examples/pytorch/image-classification/run_image_classification.py
.../pytorch/image-classification/run_image_classification.py
+1
-1
examples/pytorch/image-classification/run_image_classification_no_trainer.py
...age-classification/run_image_classification_no_trainer.py
+1
-1
examples/pytorch/image-pretraining/run_mim.py
examples/pytorch/image-pretraining/run_mim.py
+1
-1
examples/pytorch/image-pretraining/run_mim_no_trainer.py
examples/pytorch/image-pretraining/run_mim_no_trainer.py
+1
-1
examples/pytorch/language-modeling/run_clm.py
examples/pytorch/language-modeling/run_clm.py
+1
-1
examples/pytorch/language-modeling/run_clm_no_trainer.py
examples/pytorch/language-modeling/run_clm_no_trainer.py
+1
-1
examples/pytorch/language-modeling/run_mlm.py
examples/pytorch/language-modeling/run_mlm.py
+1
-1
examples/pytorch/language-modeling/run_mlm_no_trainer.py
examples/pytorch/language-modeling/run_mlm_no_trainer.py
+1
-1
examples/pytorch/multiple-choice/run_swag.py
examples/pytorch/multiple-choice/run_swag.py
+1
-1
examples/pytorch/multiple-choice/run_swag_no_trainer.py
examples/pytorch/multiple-choice/run_swag_no_trainer.py
+1
-1
No files found.
examples/flax/image-captioning/run_image_captioning_flax.py
View file @
d98591a1
...
...
@@ -202,7 +202,7 @@ class ModelArguments:
default
=
False
,
metadata
=
{
"help"
:
(
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option"
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option
"
"should only be set to `True` for repositories you trust and in which you have read the code, as it will "
"execute code present on the Hub on your local machine."
)
...
...
examples/flax/language-modeling/run_clm_flax.py
View file @
d98591a1
...
...
@@ -189,7 +189,7 @@ class ModelArguments:
default
=
False
,
metadata
=
{
"help"
:
(
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option"
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option
"
"should only be set to `True` for repositories you trust and in which you have read the code, as it will "
"execute code present on the Hub on your local machine."
)
...
...
examples/flax/language-modeling/run_mlm_flax.py
View file @
d98591a1
...
...
@@ -194,7 +194,7 @@ class ModelArguments:
default
=
False
,
metadata
=
{
"help"
:
(
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option"
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option
"
"should only be set to `True` for repositories you trust and in which you have read the code, as it will "
"execute code present on the Hub on your local machine."
)
...
...
examples/flax/question-answering/run_qa.py
View file @
d98591a1
...
...
@@ -175,7 +175,7 @@ class ModelArguments:
default
=
False
,
metadata
=
{
"help"
:
(
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option"
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option
"
"should only be set to `True` for repositories you trust and in which you have read the code, as it will "
"execute code present on the Hub on your local machine."
)
...
...
examples/flax/summarization/run_summarization_flax.py
View file @
d98591a1
...
...
@@ -208,7 +208,7 @@ class ModelArguments:
default
=
False
,
metadata
=
{
"help"
:
(
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option"
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option
"
"should only be set to `True` for repositories you trust and in which you have read the code, as it will "
"execute code present on the Hub on your local machine."
)
...
...
examples/flax/text-classification/run_flax_glue.py
View file @
d98591a1
...
...
@@ -121,7 +121,7 @@ class ModelArguments:
default
=
False
,
metadata
=
{
"help"
:
(
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option"
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option
"
"should only be set to `True` for repositories you trust and in which you have read the code, as it will "
"execute code present on the Hub on your local machine."
)
...
...
examples/flax/token-classification/run_flax_ner.py
View file @
d98591a1
...
...
@@ -169,7 +169,7 @@ class ModelArguments:
default
=
False
,
metadata
=
{
"help"
:
(
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option"
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option
"
"should only be set to `True` for repositories you trust and in which you have read the code, as it will "
"execute code present on the Hub on your local machine."
)
...
...
examples/flax/vision/run_image_classification.py
View file @
d98591a1
...
...
@@ -179,7 +179,7 @@ class ModelArguments:
default
=
False
,
metadata
=
{
"help"
:
(
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option"
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option
"
"should only be set to `True` for repositories you trust and in which you have read the code, as it will "
"execute code present on the Hub on your local machine."
)
...
...
examples/pytorch/audio-classification/run_audio_classification.py
View file @
d98591a1
...
...
@@ -171,7 +171,7 @@ class ModelArguments:
default
=
False
,
metadata
=
{
"help"
:
(
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option"
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option
"
"should only be set to `True` for repositories you trust and in which you have read the code, as it will "
"execute code present on the Hub on your local machine."
)
...
...
examples/pytorch/contrastive-image-text/run_clip.py
View file @
d98591a1
...
...
@@ -106,7 +106,7 @@ class ModelArguments:
default
=
False
,
metadata
=
{
"help"
:
(
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option"
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option
"
"should only be set to `True` for repositories you trust and in which you have read the code, as it will "
"execute code present on the Hub on your local machine."
)
...
...
examples/pytorch/image-classification/run_image_classification.py
View file @
d98591a1
...
...
@@ -171,7 +171,7 @@ class ModelArguments:
default
=
False
,
metadata
=
{
"help"
:
(
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option"
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option
"
"should only be set to `True` for repositories you trust and in which you have read the code, as it will "
"execute code present on the Hub on your local machine."
)
...
...
examples/pytorch/image-classification/run_image_classification_no_trainer.py
View file @
d98591a1
...
...
@@ -152,7 +152,7 @@ def parse_args():
type
=
bool
,
default
=
False
,
help
=
(
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option"
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option
"
"should only be set to `True` for repositories you trust and in which you have read the code, as it will "
"execute code present on the Hub on your local machine."
),
...
...
examples/pytorch/image-pretraining/run_mim.py
View file @
d98591a1
...
...
@@ -173,7 +173,7 @@ class ModelArguments:
default
=
False
,
metadata
=
{
"help"
:
(
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option"
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option
"
"should only be set to `True` for repositories you trust and in which you have read the code, as it will "
"execute code present on the Hub on your local machine."
)
...
...
examples/pytorch/image-pretraining/run_mim_no_trainer.py
View file @
d98591a1
...
...
@@ -207,7 +207,7 @@ def parse_args():
type
=
bool
,
default
=
False
,
help
=
(
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option"
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option
"
"should only be set to `True` for repositories you trust and in which you have read the code, as it will "
"execute code present on the Hub on your local machine."
),
...
...
examples/pytorch/language-modeling/run_clm.py
View file @
d98591a1
...
...
@@ -131,7 +131,7 @@ class ModelArguments:
default
=
False
,
metadata
=
{
"help"
:
(
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option"
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option
"
"should only be set to `True` for repositories you trust and in which you have read the code, as it will "
"execute code present on the Hub on your local machine."
)
...
...
examples/pytorch/language-modeling/run_clm_no_trainer.py
View file @
d98591a1
...
...
@@ -198,7 +198,7 @@ def parse_args():
type
=
bool
,
default
=
False
,
help
=
(
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option"
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option
"
"should only be set to `True` for repositories you trust and in which you have read the code, as it will "
"execute code present on the Hub on your local machine."
),
...
...
examples/pytorch/language-modeling/run_mlm.py
View file @
d98591a1
...
...
@@ -127,7 +127,7 @@ class ModelArguments:
default
=
False
,
metadata
=
{
"help"
:
(
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option"
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option
"
"should only be set to `True` for repositories you trust and in which you have read the code, as it will "
"execute code present on the Hub on your local machine."
)
...
...
examples/pytorch/language-modeling/run_mlm_no_trainer.py
View file @
d98591a1
...
...
@@ -205,7 +205,7 @@ def parse_args():
type
=
bool
,
default
=
False
,
help
=
(
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option"
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option
"
"should only be set to `True` for repositories you trust and in which you have read the code, as it will "
"execute code present on the Hub on your local machine."
),
...
...
examples/pytorch/multiple-choice/run_swag.py
View file @
d98591a1
...
...
@@ -99,7 +99,7 @@ class ModelArguments:
default
=
False
,
metadata
=
{
"help"
:
(
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option"
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option
"
"should only be set to `True` for repositories you trust and in which you have read the code, as it will "
"execute code present on the Hub on your local machine."
)
...
...
examples/pytorch/multiple-choice/run_swag_no_trainer.py
View file @
d98591a1
...
...
@@ -187,7 +187,7 @@ def parse_args():
type
=
bool
,
default
=
False
,
help
=
(
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option"
"Whether or not to allow for custom models defined on the Hub in their own modeling files. This option
"
"should only be set to `True` for repositories you trust and in which you have read the code, as it will "
"execute code present on the Hub on your local machine."
),
...
...
Prev
1
2
3
Next
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