Skip to content

Commit fa39ff9

Browse files
Docs for v4.16.0dev0
1 parent 05fa1a7 commit fa39ff9

File tree

26 files changed

+28
-28
lines changed

26 files changed

+28
-28
lines changed

examples/flax/question-answering/run_qa.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
logger = logging.getLogger(__name__)
6262

6363
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
64-
check_min_version("4.15.0")
64+
check_min_version("4.16.0.dev0")
6565

6666
Array = Any
6767
Dataset = datasets.arrow_dataset.Dataset

examples/flax/token-classification/run_flax_ner.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555
logger = logging.getLogger(__name__)
5656
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
57-
check_min_version("4.15.0")
57+
check_min_version("4.16.0.dev0")
5858

5959
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/token-classification/requirements.txt")
6060

examples/pytorch/audio-classification/run_audio_classification.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
logger = logging.getLogger(__name__)
4444

4545
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
46-
check_min_version("4.15.0")
46+
check_min_version("4.16.0.dev0")
4747

4848
require_version("datasets>=1.14.0", "To fix: pip install -r examples/pytorch/audio-classification/requirements.txt")
4949

examples/pytorch/image-classification/run_image_classification.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
logger = logging.getLogger(__name__)
5555

5656
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
57-
check_min_version("4.15.0")
57+
check_min_version("4.16.0.dev0")
5858

5959
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/image-classification/requirements.txt")
6060

examples/pytorch/language-modeling/run_clm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353

5454
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
55-
check_min_version("4.15.0")
55+
check_min_version("4.16.0.dev0")
5656

5757
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/language-modeling/requirements.txt")
5858

examples/pytorch/language-modeling/run_mlm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252

5353
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
54-
check_min_version("4.15.0")
54+
check_min_version("4.16.0.dev0")
5555

5656
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/language-modeling/requirements.txt")
5757

examples/pytorch/language-modeling/run_plm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848

4949
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
50-
check_min_version("4.15.0")
50+
check_min_version("4.16.0.dev0")
5151

5252
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/language-modeling/requirements.txt")
5353

examples/pytorch/multiple-choice/run_swag.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949

5050
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
51-
check_min_version("4.15.0")
51+
check_min_version("4.16.0.dev0")
5252

5353
logger = logging.getLogger(__name__)
5454

examples/pytorch/question-answering/run_qa.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949

5050
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
51-
check_min_version("4.15.0")
51+
check_min_version("4.16.0.dev0")
5252

5353
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/question-answering/requirements.txt")
5454

examples/pytorch/question-answering/run_qa_beam_search.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848

4949
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
50-
check_min_version("4.15.0")
50+
check_min_version("4.16.0.dev0")
5151

5252
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/question-answering/requirements.txt")
5353

examples/pytorch/question-answering/run_qa_beam_search_no_trainer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555

5656
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
57-
check_min_version("4.15.0")
57+
check_min_version("4.16.0.dev0")
5858

5959
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/question-answering/requirements.txt")
6060

examples/pytorch/question-answering/run_qa_no_trainer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656

5757

5858
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
59-
check_min_version("4.15.0")
59+
check_min_version("4.16.0.dev0")
6060

6161
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/question-answering/requirements.txt")
6262

examples/pytorch/question-answering/run_seq2seq_qa.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545

4646
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
47-
check_min_version("4.15.0")
47+
check_min_version("4.16.0.dev0")
4848

4949
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/question-answering/requirements.txt")
5050

examples/pytorch/speech-recognition/run_speech_recognition_ctc.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050

5151
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
52-
check_min_version("4.15.0")
52+
check_min_version("4.16.0.dev0")
5353

5454
require_version("datasets>=1.13.3", "To fix: pip install -r examples/pytorch/text-classification/requirements.txt")
5555

examples/pytorch/summarization/run_summarization.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949

5050
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
51-
check_min_version("4.15.0")
51+
check_min_version("4.16.0.dev0")
5252

5353
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/summarization/requirements.txt")
5454

examples/pytorch/text-classification/run_glue.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848

4949
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
50-
check_min_version("4.15.0")
50+
check_min_version("4.16.0.dev0")
5151

5252
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/text-classification/requirements.txt")
5353

examples/pytorch/text-classification/run_xnli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848

4949
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
50-
check_min_version("4.15.0")
50+
check_min_version("4.16.0.dev0")
5151

5252
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/text-classification/requirements.txt")
5353

examples/pytorch/token-classification/run_ner.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848

4949
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
50-
check_min_version("4.15.0")
50+
check_min_version("4.16.0.dev0")
5151

5252
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/token-classification/requirements.txt")
5353

examples/pytorch/translation/run_translation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252

5353
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
54-
check_min_version("4.15.0")
54+
check_min_version("4.16.0.dev0")
5555

5656
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/translation/requirements.txt")
5757

examples/tensorflow/multiple-choice/run_swag.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848

4949
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
50-
check_min_version("4.15.0")
50+
check_min_version("4.16.0.dev0")
5151

5252
logger = logging.getLogger(__name__)
5353

examples/tensorflow/question-answering/run_qa.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646

4747
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
48-
check_min_version("4.15.0")
48+
check_min_version("4.16.0.dev0")
4949

5050
logger = logging.getLogger(__name__)
5151

examples/tensorflow/summarization/run_summarization.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
# region Checking dependencies
5353
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
54-
check_min_version("4.15.0")
54+
check_min_version("4.16.0.dev0")
5555

5656
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/summarization/requirements.txt")
5757

examples/tensorflow/text-classification/run_glue.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def on_epoch_end(self, epoch, logs=None):
100100

101101

102102
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
103-
check_min_version("4.15.0")
103+
check_min_version("4.16.0.dev0")
104104

105105
task_to_keys = {
106106
"cola": ("sentence", None),

examples/tensorflow/translation/run_translation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353

5454
# region Dependencies and constants
5555
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
56-
check_min_version("4.15.0")
56+
check_min_version("4.16.0.dev0")
5757

5858
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/summarization/requirements.txt")
5959

setup.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
2525
3. Unpin specific versions from setup.py that use a git install.
2626
27-
4. Commit these changes with the message: "Release: VERSION" and push.
27+
4. Commit these changes with the message: "Release: <VERSION>" and push.
2828
2929
5. Wait for the tests on master to be completed and be green (otherwise revert and fix bugs)
3030
31-
6. Add a tag in git to mark the release: "git tag <VERSION> -m 'Adds tag <VERSION> for pypi' "
31+
6. Add a tag in git to mark the release: "git tag v<VERSION> -m 'Adds tag v<VERSION> for pypi' "
3232
Push the tag to git: git push --tags origin master
3333
3434
7. Build both the sources and the wheel. Do not change anything in setup.py between
@@ -338,7 +338,7 @@ def run(self):
338338

339339
setup(
340340
name="transformers",
341-
version="4.15.0", # expected format is one of x.y.z.dev0, or x.y.z.rc1 or x.y.z (no to dashes, yes to dots)
341+
version="4.16.0.dev0", # expected format is one of x.y.z.dev0, or x.y.z.rc1 or x.y.z (no to dashes, yes to dots)
342342
author="Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Sam Shleifer, Patrick von Platen, Sylvain Gugger, Suraj Patil, Stas Bekman, Google AI Language Team Authors, Open AI team Authors, Facebook AI Authors, Carnegie Mellon University Authors",
343343
author_email="thomas@huggingface.co",
344344
description="State-of-the-art Natural Language Processing for TensorFlow 2.0 and PyTorch",

src/transformers/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# to defer the actual importing for when the objects are requested. This way `import transformers` provides the names
2323
# in the namespace without actually importing anything (and especially none of the backends).
2424

25-
__version__ = "4.15.0"
25+
__version__ = "4.16.0.dev0"
2626

2727
# Work around to update TensorFlow's absl.logging threshold which alters the
2828
# default Python logging output behavior when present.

0 commit comments

Comments
 (0)