Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transformers-cli login => huggingface-cli login #18490

Merged
merged 4 commits into from
Aug 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/flax/language-modeling/run_bart_dlm_flax.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/flax/language-modeling/run_clm_flax.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/flax/language-modeling/run_mlm_flax.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/flax/language-modeling/run_t5_mlm_flax.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/flax/question-answering/run_qa.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/flax/summarization/run_summarization_flax.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/flax/text-classification/run_flax_glue.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/flax/token-classification/run_flax_ner.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/flax/vision/run_image_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/pytorch/contrastive-image-text/run_clip.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/pytorch/image-pretraining/run_mae.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/pytorch/image-pretraining/run_mim.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/pytorch/language-modeling/run_clm.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/pytorch/language-modeling/run_mlm.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/pytorch/language-modeling/run_plm.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/pytorch/multiple-choice/run_swag.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/pytorch/question-answering/run_qa.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/pytorch/question-answering/run_qa_beam_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/pytorch/question-answering/run_seq2seq_qa.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ class DataTrainingArguments:
metadata={
"help": (
"If :obj:`True`, will use the token generated when running"
":obj:`transformers-cli login` as HTTP bearer authorization for remote files."
":obj:`huggingface-cli login` as HTTP bearer authorization for remote files."
)
},
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/pytorch/summarization/run_summarization.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/pytorch/text-classification/run_glue.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/pytorch/text-classification/run_xnli.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/pytorch/token-classification/run_ner.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/pytorch/translation/run_translation.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/research_projects/layoutlmv3/run_funsd_cord.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/research_projects/mlm_wwm/run_mlm_wwm.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ class DataTrainingArguments:
metadata={
"help": (
"If :obj:`True`, will use the token generated when running"
":obj:`transformers-cli login` as HTTP bearer authorization for remote files."
":obj:`huggingface-cli login` as HTTP bearer authorization for remote files."
)
},
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ class DataTrainingArguments:
metadata={
"help": (
"If :obj:`True`, will use the token generated when running"
":obj:`transformers-cli login` as HTTP bearer authorization for remote files."
":obj:`huggingface-cli login` as HTTP bearer authorization for remote files."
)
},
)
Expand Down
2 changes: 1 addition & 1 deletion examples/research_projects/tapex/run_tabfact_with_tapex.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/research_projects/tapex/run_wikisql_with_tapex.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/research_projects/xtreme-s/run_xtreme_s.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ class DataTrainingArguments:
metadata={
"help": (
"If :obj:`True`, will use the token generated when running"
":obj:`transformers-cli login` as HTTP bearer authorization for remote files."
":obj:`huggingface-cli login` as HTTP bearer authorization for remote files."
)
},
)
Expand Down
2 changes: 1 addition & 1 deletion examples/tensorflow/language-modeling/run_clm.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/tensorflow/language-modeling/run_mlm.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/tensorflow/multiple-choice/run_swag.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/tensorflow/question-answering/run_qa.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
2 changes: 1 addition & 1 deletion examples/tensorflow/summarization/run_summarization.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class ModelArguments:
default=False,
metadata={
"help": (
"Will use the token generated when running `transformers-cli login` (necessary to use this script "
"Will use the token generated when running `huggingface-cli login` (necessary to use this script "
"with private models)."
)
},
Expand Down
Loading