Release: v4.13.0
This commit is contained in:
parent
60be4bf8ac
commit
4da3a696e4
|
@ -61,7 +61,7 @@ from utils_qa import postprocess_qa_predictions
|
|||
logger = logging.getLogger(__name__)
|
||||
|
||||
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
|
||||
check_min_version("4.13.0.dev0")
|
||||
check_min_version("4.13.0")
|
||||
|
||||
Array = Any
|
||||
Dataset = datasets.arrow_dataset.Dataset
|
||||
|
|
|
@ -54,7 +54,7 @@ from transformers.utils.versions import require_version
|
|||
|
||||
logger = logging.getLogger(__name__)
|
||||
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
|
||||
check_min_version("4.13.0.dev0")
|
||||
check_min_version("4.13.0")
|
||||
|
||||
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/token-classification/requirements.txt")
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ from transformers.utils.versions import require_version
|
|||
logger = logging.getLogger(__name__)
|
||||
|
||||
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
|
||||
check_min_version("4.13.0.dev0")
|
||||
check_min_version("4.13.0")
|
||||
|
||||
require_version("datasets>=1.14.0", "To fix: pip install -r examples/pytorch/audio-classification/requirements.txt")
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ from transformers.utils.versions import require_version
|
|||
logger = logging.getLogger(__name__)
|
||||
|
||||
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
|
||||
check_min_version("4.13.0.dev0")
|
||||
check_min_version("4.13.0")
|
||||
|
||||
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/image-classification/requirements.txt")
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ from transformers.utils.versions import require_version
|
|||
|
||||
|
||||
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
|
||||
check_min_version("4.13.0.dev0")
|
||||
check_min_version("4.13.0")
|
||||
|
||||
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/language-modeling/requirements.txt")
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ from transformers.utils.versions import require_version
|
|||
|
||||
|
||||
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
|
||||
check_min_version("4.13.0.dev0")
|
||||
check_min_version("4.13.0")
|
||||
|
||||
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/language-modeling/requirements.txt")
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ from transformers.utils.versions import require_version
|
|||
|
||||
|
||||
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
|
||||
check_min_version("4.13.0.dev0")
|
||||
check_min_version("4.13.0")
|
||||
|
||||
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/language-modeling/requirements.txt")
|
||||
|
||||
|
|
|
@ -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.13.0.dev0")
|
||||
check_min_version("4.13.0")
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
|
|
@ -48,7 +48,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.13.0.dev0")
|
||||
check_min_version("4.13.0")
|
||||
|
||||
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/question-answering/requirements.txt")
|
||||
|
||||
|
|
|
@ -47,7 +47,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.13.0.dev0")
|
||||
check_min_version("4.13.0")
|
||||
|
||||
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/question-answering/requirements.txt")
|
||||
|
||||
|
|
|
@ -54,7 +54,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.13.0.dev0")
|
||||
check_min_version("4.13.0")
|
||||
|
||||
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/question-answering/requirements.txt")
|
||||
|
||||
|
|
|
@ -56,7 +56,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.13.0.dev0")
|
||||
check_min_version("4.13.0")
|
||||
|
||||
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/question-answering/requirements.txt")
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ from transformers.utils.versions import require_version
|
|||
|
||||
|
||||
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
|
||||
check_min_version("4.13.0.dev0")
|
||||
check_min_version("4.13.0")
|
||||
|
||||
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/question-answering/requirements.txt")
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ from transformers.utils.versions import require_version
|
|||
|
||||
|
||||
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
|
||||
check_min_version("4.13.0.dev0")
|
||||
check_min_version("4.13.0")
|
||||
|
||||
require_version("datasets>=1.13.3", "To fix: pip install -r examples/pytorch/text-classification/requirements.txt")
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ from transformers.utils.versions import require_version
|
|||
|
||||
|
||||
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
|
||||
check_min_version("4.13.0.dev0")
|
||||
check_min_version("4.13.0")
|
||||
|
||||
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/summarization/requirements.txt")
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ from transformers.utils.versions import require_version
|
|||
|
||||
|
||||
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
|
||||
check_min_version("4.13.0.dev0")
|
||||
check_min_version("4.13.0")
|
||||
|
||||
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/text-classification/requirements.txt")
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ from transformers.utils.versions import require_version
|
|||
|
||||
|
||||
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
|
||||
check_min_version("4.13.0.dev0")
|
||||
check_min_version("4.13.0")
|
||||
|
||||
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/text-classification/requirements.txt")
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ from transformers.utils.versions import require_version
|
|||
|
||||
|
||||
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
|
||||
check_min_version("4.13.0.dev0")
|
||||
check_min_version("4.13.0")
|
||||
|
||||
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/token-classification/requirements.txt")
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ from transformers.utils.versions import require_version
|
|||
|
||||
|
||||
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
|
||||
check_min_version("4.13.0.dev0")
|
||||
check_min_version("4.13.0")
|
||||
|
||||
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/translation/requirements.txt")
|
||||
|
||||
|
|
|
@ -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.13.0.dev0")
|
||||
check_min_version("4.13.0")
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
|
|
@ -45,7 +45,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.13.0.dev0")
|
||||
check_min_version("4.13.0")
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ from transformers.utils.versions import require_version
|
|||
|
||||
# region Checking dependencies
|
||||
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
|
||||
check_min_version("4.13.0.dev0")
|
||||
check_min_version("4.13.0")
|
||||
|
||||
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/summarization/requirements.txt")
|
||||
|
||||
|
|
|
@ -100,7 +100,7 @@ class SavePretrainedCallback(tf.keras.callbacks.Callback):
|
|||
|
||||
|
||||
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
|
||||
check_min_version("4.13.0.dev0")
|
||||
check_min_version("4.13.0")
|
||||
|
||||
task_to_keys = {
|
||||
"cola": ("sentence", None),
|
||||
|
|
|
@ -53,7 +53,7 @@ from transformers.utils.versions import require_version
|
|||
|
||||
# region Dependencies and constants
|
||||
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
|
||||
check_min_version("4.13.0.dev0")
|
||||
check_min_version("4.13.0")
|
||||
|
||||
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/summarization/requirements.txt")
|
||||
|
||||
|
|
2
setup.py
2
setup.py
|
@ -354,7 +354,7 @@ install_requires = [
|
|||
|
||||
setup(
|
||||
name="transformers",
|
||||
version="4.13.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)
|
||||
version="4.13.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)
|
||||
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",
|
||||
author_email="thomas@huggingface.co",
|
||||
description="State-of-the-art Natural Language Processing for TensorFlow 2.0 and PyTorch",
|
||||
|
|
|
@ -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.13.0.dev0"
|
||||
__version__ = "4.13.0"
|
||||
|
||||
# Work around to update TensorFlow's absl.logging threshold which alters the
|
||||
# default Python logging output behavior when present.
|
||||
|
|
Loading…
Reference in New Issue