From c22e34563b3ba5fbc5b2674ce6ceb4b95cc626d0 Mon Sep 17 00:00:00 2001 From: Linting Xue Date: Thu, 24 Feb 2022 10:58:50 -0800 Subject: [PATCH] Internal changes. PiperOrigin-RevId: 430744241 --- byt5/compute_target_length.py | 2 +- byt5/get_length_stats.py | 3 ++- byt5/gin/__init__.py | 2 +- byt5/gin/sequence_lengths/__init__.py | 2 +- byt5/metrics.py | 2 +- byt5/metrics_test.py | 2 +- byt5/sigmorphon.py | 2 +- byt5/tasks.py | 2 +- byt5/tasks_test.py | 2 +- 9 files changed, 10 insertions(+), 9 deletions(-) diff --git a/byt5/compute_target_length.py b/byt5/compute_target_length.py index 52adfd2..0c73acb 100644 --- a/byt5/compute_target_length.py +++ b/byt5/compute_target_length.py @@ -1,4 +1,4 @@ -# Copyright 2021 The ByT5 Authors. +# Copyright 2022 The ByT5 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/byt5/get_length_stats.py b/byt5/get_length_stats.py index 0d06dd2..251299c 100644 --- a/byt5/get_length_stats.py +++ b/byt5/get_length_stats.py @@ -1,4 +1,4 @@ -# Copyright 2021 The ByT5 Authors. +# Copyright 2022 The ByT5 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -21,6 +21,7 @@ from absl import app from absl import flags +import byt5.sigmorphon # pylint:disable=unused-import import byt5.tasks # pylint:disable=unused-import import multilingual_t5.tasks # pylint:disable=unused-import import t5 diff --git a/byt5/gin/__init__.py b/byt5/gin/__init__.py index 23b1f21..956beaa 100644 --- a/byt5/gin/__init__.py +++ b/byt5/gin/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The ByT5 Authors. +# Copyright 2022 The ByT5 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/byt5/gin/sequence_lengths/__init__.py b/byt5/gin/sequence_lengths/__init__.py index 23b1f21..956beaa 100644 --- a/byt5/gin/sequence_lengths/__init__.py +++ b/byt5/gin/sequence_lengths/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The ByT5 Authors. +# Copyright 2022 The ByT5 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/byt5/metrics.py b/byt5/metrics.py index 2a9c408..0538810 100644 --- a/byt5/metrics.py +++ b/byt5/metrics.py @@ -1,4 +1,4 @@ -# Copyright 2021 The ByT5 Authors. +# Copyright 2022 The ByT5 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/byt5/metrics_test.py b/byt5/metrics_test.py index cbc94ea..145d03e 100644 --- a/byt5/metrics_test.py +++ b/byt5/metrics_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The ByT5 Authors. +# Copyright 2022 The ByT5 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/byt5/sigmorphon.py b/byt5/sigmorphon.py index f4235b5..cbd098b 100644 --- a/byt5/sigmorphon.py +++ b/byt5/sigmorphon.py @@ -1,4 +1,4 @@ -# Copyright 2021 The ByT5 Authors. +# Copyright 2022 The ByT5 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/byt5/tasks.py b/byt5/tasks.py index d0a11fd..f460316 100644 --- a/byt5/tasks.py +++ b/byt5/tasks.py @@ -1,4 +1,4 @@ -# Copyright 2021 The ByT5 Authors. +# Copyright 2022 The ByT5 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/byt5/tasks_test.py b/byt5/tasks_test.py index 2d7a953..393317a 100644 --- a/byt5/tasks_test.py +++ b/byt5/tasks_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The ByT5 Authors. +# Copyright 2022 The ByT5 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License.