Skip to content

Commit

Permalink
transformers-cli login => huggingface-cli login (huggingface#18490)
Browse files Browse the repository at this point in the history
* zero chance anyone's using that constant no?

* `transformers-cli login` => `huggingface-cli login`

* `transformers-cli repo create` => `huggingface-cli repo create`

* `make style`
  • Loading branch information
julien-c authored Aug 6, 2022
1 parent 8d1f903 commit 9129fd0
Show file tree
Hide file tree
Showing 64 changed files with 72 additions and 75 deletions.
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

0 comments on commit 9129fd0

Please sign in to comment.