From 1b5ce1e63b7bd4382cd1b4fdcca72d50f8b29494 Mon Sep 17 00:00:00 2001 From: Lysandre Date: Tue, 16 Mar 2021 11:41:15 -0400 Subject: [PATCH] Development on v4.5.0dev0 --- .circleci/deploy.sh | 3 ++- docs/source/_static/js/custom.js | 5 +++-- docs/source/conf.py | 3 ++- examples/language-modeling/run_clm.py | 2 +- examples/language-modeling/run_mlm.py | 2 +- examples/language-modeling/run_plm.py | 2 +- examples/multiple-choice/run_swag.py | 2 +- examples/question-answering/run_qa.py | 2 +- examples/question-answering/run_qa_beam_search.py | 2 +- examples/seq2seq/run_summarization.py | 2 +- examples/seq2seq/run_translation.py | 2 +- examples/text-classification/run_glue.py | 2 +- examples/text-classification/run_xnli.py | 2 +- examples/token-classification/run_ner.py | 2 +- setup.py | 2 +- src/transformers/__init__.py | 2 +- 16 files changed, 20 insertions(+), 17 deletions(-) diff --git a/.circleci/deploy.sh b/.circleci/deploy.sh index e7742f916a..503e026c21 100755 --- a/.circleci/deploy.sh +++ b/.circleci/deploy.sh @@ -57,4 +57,5 @@ deploy_doc "818878d" v3.5.1 deploy_doc "c781171" v4.0.1 deploy_doc "bfa4ccf" v4.1.1 deploy_doc "7d9a9d0" v4.2.2 -deploy_doc "bae0c79" # v4.3.3 Latest stable release +deploy_doc "bae0c79" v4.3.3 +deploy_doc "c988db5" # v4.4.0 Latest stable release \ No newline at end of file diff --git a/docs/source/_static/js/custom.js b/docs/source/_static/js/custom.js index e57966965c..aeb0d02a12 100644 --- a/docs/source/_static/js/custom.js +++ b/docs/source/_static/js/custom.js @@ -1,10 +1,11 @@ // These two things need to be updated at each release for the version selector. // Last stable version -const stableVersion = "v4.3.2" +const stableVersion = "v4.4.0" // Dictionary doc folder to label. The last stable version should have an empty key. const versionMapping = { "master": "master", - "": "v4.3.0/v4.3.1/v4.3.2/v4.3.3 (stable)", + "": "v4.4.0 (stable)", + "v4.3.3": "v4.3.0/v4.3.1/v4.3.2/v4.3.3", "v4.2.2": "v4.2.0/v4.2.1/v4.2.2", "v4.1.1": "v4.1.0/v4.1.1", "v4.0.1": "v4.0.0/v4.0.1", diff --git a/docs/source/conf.py b/docs/source/conf.py index 6027c88b66..81c93caa0a 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -26,7 +26,8 @@ author = u'huggingface' # The short X.Y version version = u'' # The full version, including alpha/beta/rc tags -release = u'4.4.0' +release = u'4.5.0.dev0' + # Prefix link to point to master, comment this during version release and uncomment below line extlinks = {'prefix_link': ('https://github.com/huggingface/transformers/blob/master/%s', '')} diff --git a/examples/language-modeling/run_clm.py b/examples/language-modeling/run_clm.py index cb8a90fc21..e05cceb274 100755 --- a/examples/language-modeling/run_clm.py +++ b/examples/language-modeling/run_clm.py @@ -48,7 +48,7 @@ from transformers.utils import check_min_version # Will error if the minimal version of Transformers is not installed. Remove at your own risks. -check_min_version("4.4.0") +check_min_version("4.5.0.dev0") logger = logging.getLogger(__name__) diff --git a/examples/language-modeling/run_mlm.py b/examples/language-modeling/run_mlm.py index 641987e3c6..4740b7f79d 100755 --- a/examples/language-modeling/run_mlm.py +++ b/examples/language-modeling/run_mlm.py @@ -48,7 +48,7 @@ from transformers.utils import check_min_version # Will error if the minimal version of Transformers is not installed. Remove at your own risks. -check_min_version("4.4.0") +check_min_version("4.5.0.dev0") logger = logging.getLogger(__name__) MODEL_CONFIG_CLASSES = list(MODEL_FOR_MASKED_LM_MAPPING.keys()) diff --git a/examples/language-modeling/run_plm.py b/examples/language-modeling/run_plm.py index 9f58557150..0936684d17 100755 --- a/examples/language-modeling/run_plm.py +++ b/examples/language-modeling/run_plm.py @@ -44,7 +44,7 @@ from transformers.utils import check_min_version # Will error if the minimal version of Transformers is not installed. Remove at your own risks. -check_min_version("4.4.0") +check_min_version("4.5.0.dev0") logger = logging.getLogger(__name__) diff --git a/examples/multiple-choice/run_swag.py b/examples/multiple-choice/run_swag.py index f589195922..02fd9e9161 100755 --- a/examples/multiple-choice/run_swag.py +++ b/examples/multiple-choice/run_swag.py @@ -46,7 +46,7 @@ from transformers.utils import check_min_version # Will error if the minimal version of Transformers is not installed. Remove at your own risks. -check_min_version("4.4.0") +check_min_version("4.5.0.dev0") logger = logging.getLogger(__name__) diff --git a/examples/question-answering/run_qa.py b/examples/question-answering/run_qa.py index e107999a31..68d7177f1d 100755 --- a/examples/question-answering/run_qa.py +++ b/examples/question-answering/run_qa.py @@ -46,7 +46,7 @@ from utils_qa import postprocess_qa_predictions # Will error if the minimal version of Transformers is not installed. Remove at your own risks. -check_min_version("4.4.0") +check_min_version("4.5.0.dev0") logger = logging.getLogger(__name__) diff --git a/examples/question-answering/run_qa_beam_search.py b/examples/question-answering/run_qa_beam_search.py index 67fbf30d35..1aebde5c81 100755 --- a/examples/question-answering/run_qa_beam_search.py +++ b/examples/question-answering/run_qa_beam_search.py @@ -45,7 +45,7 @@ from utils_qa import postprocess_qa_predictions_with_beam_search # Will error if the minimal version of Transformers is not installed. Remove at your own risks. -check_min_version("4.4.0") +check_min_version("4.5.0.dev0") logger = logging.getLogger(__name__) diff --git a/examples/seq2seq/run_summarization.py b/examples/seq2seq/run_summarization.py index f30b83f276..43ae63b8ba 100755 --- a/examples/seq2seq/run_summarization.py +++ b/examples/seq2seq/run_summarization.py @@ -47,7 +47,7 @@ from transformers.utils import check_min_version # Will error if the minimal version of Transformers is not installed. Remove at your own risks. -check_min_version("4.4.0") +check_min_version("4.5.0.dev0") logger = logging.getLogger(__name__) diff --git a/examples/seq2seq/run_translation.py b/examples/seq2seq/run_translation.py index 0901584d1d..496b78fe4e 100755 --- a/examples/seq2seq/run_translation.py +++ b/examples/seq2seq/run_translation.py @@ -46,7 +46,7 @@ from transformers.utils import check_min_version # Will error if the minimal version of Transformers is not installed. Remove at your own risks. -check_min_version("4.4.0") +check_min_version("4.5.0.dev0") logger = logging.getLogger(__name__) diff --git a/examples/text-classification/run_glue.py b/examples/text-classification/run_glue.py index fad0a78592..82762b6ac8 100755 --- a/examples/text-classification/run_glue.py +++ b/examples/text-classification/run_glue.py @@ -45,7 +45,7 @@ from transformers.utils import check_min_version # Will error if the minimal version of Transformers is not installed. Remove at your own risks. -check_min_version("4.4.0") +check_min_version("4.5.0.dev0") task_to_keys = { "cola": ("sentence", None), diff --git a/examples/text-classification/run_xnli.py b/examples/text-classification/run_xnli.py index e785c93b8c..21870879c1 100755 --- a/examples/text-classification/run_xnli.py +++ b/examples/text-classification/run_xnli.py @@ -45,7 +45,7 @@ from transformers.utils import check_min_version # Will error if the minimal version of Transformers is not installed. Remove at your own risks. -check_min_version("4.4.0") +check_min_version("4.5.0.dev0") logger = logging.getLogger(__name__) diff --git a/examples/token-classification/run_ner.py b/examples/token-classification/run_ner.py index f9e2f633ba..06004f62a2 100755 --- a/examples/token-classification/run_ner.py +++ b/examples/token-classification/run_ner.py @@ -45,7 +45,7 @@ from transformers.utils import check_min_version # Will error if the minimal version of Transformers is not installed. Remove at your own risks. -check_min_version("4.4.0") +check_min_version("4.5.0.dev0") logger = logging.getLogger(__name__) diff --git a/setup.py b/setup.py index c9a80c067d..9e5bdb97b6 100644 --- a/setup.py +++ b/setup.py @@ -278,7 +278,7 @@ install_requires = [ setup( name="transformers", - version="4.4.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) + version="4.5.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) author="Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Sam Shleifer, Patrick von Platen, Sylvain Gugger, Google AI Language Team Authors, Open AI team Authors, Facebook AI Authors, Carnegie Mellon University Authors", author_email="thomas@huggingface.co", description="State-of-the-art Natural Language Processing for TensorFlow 2.0 and PyTorch", diff --git a/src/transformers/__init__.py b/src/transformers/__init__.py index 7c43e70e9f..f3b15757d0 100755 --- a/src/transformers/__init__.py +++ b/src/transformers/__init__.py @@ -22,7 +22,7 @@ # to defer the actual importing for when the objects are requested. This way `import transformers` provides the names # in the namespace without actually importing anything (and especially none of the backends). -__version__ = "4.4.0" +__version__ = "4.5.0.dev0" # Work around to update TensorFlow's absl.logging threshold which alters the # default Python logging output behavior when present.