Skip to content

Commit 5ee67a4

Browse files
committed
Docs for v4.10.0
1 parent d12bbe4 commit 5ee67a4

File tree

23 files changed

+27
-24
lines changed

23 files changed

+27
-24
lines changed

.circleci/deploy.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,5 @@ deploy_doc "1366172" v4.8.1
7070
deploy_doc "96d1cfb" v4.8.2
7171
deploy_doc "72aee83" v4.9.0
7272
deploy_doc "bff1c71" v4.9.1
73-
deploy_doc "41981a2" # v4.9.2 Latest stable release
73+
deploy_doc "41981a2" v4.9.2
74+
deploy_doc "d12bbe4" # v4.10.0 Latest stable release

docs/source/_static/js/custom.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
// These two things need to be updated at each release for the version selector.
22
// Last stable version
3-
const stableVersion = "v4.9.2"
3+
const stableVersion = "v4.10.0"
44
// Dictionary doc folder to label. The last stable version should have an empty key.
55
const versionMapping = {
66
"master": "master",
7-
"": "v4.9.0/v4.9.1/v4.9.2 (stable)",
7+
"": "v4.10.0 (stable)",
8+
"v4.9.2": "v4.9.0/v4.9.1/v4.9.2",
89
"v4.8.2": "v4.8.0/v4.8.1/v4.8.2",
910
"v4.7.0": "v4.7.0",
1011
"v4.6.0": "v4.6.0",

docs/source/conf.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
# The short X.Y version
2828
version = ""
2929
# The full version, including alpha/beta/rc tags
30-
release = "4.10.0"
30+
release = "4.11.0.dev0"
31+
3132

3233

3334

examples/pytorch/language-modeling/run_clm.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.10.0")
54+
check_min_version("4.11.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_mlm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050

5151

5252
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
53-
check_min_version("4.10.0")
53+
check_min_version("4.11.0.dev0")
5454

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

examples/pytorch/language-modeling/run_plm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747

4848
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
49-
check_min_version("4.10.0")
49+
check_min_version("4.11.0.dev0")
5050

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

examples/pytorch/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.10.0")
50+
check_min_version("4.11.0.dev0")
5151

5252
logger = logging.getLogger(__name__)
5353

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.10.0")
51+
check_min_version("4.11.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.10.0")
50+
check_min_version("4.11.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
@@ -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.10.0")
54+
check_min_version("4.11.0.dev0")
5555

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

examples/pytorch/question-answering/run_qa_no_trainer.py

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

5454

5555
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
56-
check_min_version("4.10.0")
56+
check_min_version("4.11.0.dev0")
5757

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

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.10.0")
51+
check_min_version("4.11.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.10.0")
50+
check_min_version("4.11.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.10.0")
50+
check_min_version("4.11.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.10.0")
50+
check_min_version("4.11.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.10.0")
54+
check_min_version("4.11.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
@@ -46,7 +46,7 @@
4646

4747

4848
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
49-
check_min_version("4.10.0")
49+
check_min_version("4.11.0.dev0")
5050

5151
logger = logging.getLogger(__name__)
5252

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.10.0")
48+
check_min_version("4.11.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.10.0")
54+
check_min_version("4.11.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.10.0")
103+
check_min_version("4.11.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.10.0")
56+
check_min_version("4.11.0.dev0")
5757

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

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ def run(self):
342342

343343
setup(
344344
name="transformers",
345-
version="4.10.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)
345+
version="4.11.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)
346346
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",
347347
author_email="thomas@huggingface.co",
348348
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.10.0"
25+
__version__ = "4.11.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)