Compare commits
2 Commits
v4.51.3-Bi
...
v4.14.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
19e5ed7366 | ||
|
|
d6698ecfc3 |
2
setup.py
2
setup.py
@@ -354,7 +354,7 @@ install_requires = [
|
||||
|
||||
setup(
|
||||
name="transformers",
|
||||
version="4.14.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.14.1", # 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.14.0"
|
||||
__version__ = "4.14.1"
|
||||
|
||||
# Work around to update TensorFlow's absl.logging threshold which alters the
|
||||
# default Python logging output behavior when present.
|
||||
|
||||
@@ -47,7 +47,6 @@ from .file_utils import (
|
||||
is_remote_url,
|
||||
)
|
||||
from .generation_tf_utils import TFGenerationMixin
|
||||
from .modelcard import TrainingSummary
|
||||
from .modeling_tf_outputs import TFSeq2SeqLMOutput
|
||||
from .tokenization_utils_base import BatchEncoding
|
||||
from .utils import logging
|
||||
@@ -940,6 +939,9 @@ class TFPreTrainedModel(tf.keras.Model, TFModelUtilsMixin, TFGenerationMixin, Pu
|
||||
dataset: Optional[Union[str, List[str]]] = None,
|
||||
dataset_args: Optional[Union[str, List[str]]] = None,
|
||||
):
|
||||
# Avoids a circular import by doing this when necessary.
|
||||
from .modelcard import TrainingSummary
|
||||
|
||||
training_summary = TrainingSummary.from_keras(
|
||||
self,
|
||||
keras_history=self.history,
|
||||
|
||||
Reference in New Issue
Block a user