Update modeling_pangu_embedded.py
Browse files
modeling_pangu_embedded.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
# 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨
|
| 2 |
-
# This file was automatically generated from
|
| 3 |
# Do NOT edit this file manually as any edits will be overwritten by the generation of
|
| 4 |
# the file from the modular. If any change should be done, please apply the change to the
|
| 5 |
-
#
|
| 6 |
# 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨
|
| 7 |
|
| 8 |
# coding=utf-8
|
|
@@ -57,7 +57,7 @@ from transformers.modeling_rope_utils import ROPE_INIT_FUNCTIONS, dynamic_rope_u
|
|
| 57 |
from transformers.modeling_utils import ALL_ATTENTION_FUNCTIONS, PreTrainedModel
|
| 58 |
from transformers.processing_utils import Unpack
|
| 59 |
from transformers.utils import LossKwargs, auto_docstring, can_return_tuple, logging
|
| 60 |
-
from .
|
| 61 |
|
| 62 |
logger = logging.get_logger(__name__)
|
| 63 |
|
|
|
|
| 1 |
# 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨
|
| 2 |
+
# This file was automatically generated from modular_pangu_embedded.py.
|
| 3 |
# Do NOT edit this file manually as any edits will be overwritten by the generation of
|
| 4 |
# the file from the modular. If any change should be done, please apply the change to the
|
| 5 |
+
# modular_pangu_embedded.py file directly. One of our CI enforces this.
|
| 6 |
# 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨
|
| 7 |
|
| 8 |
# coding=utf-8
|
|
|
|
| 57 |
from transformers.modeling_utils import ALL_ATTENTION_FUNCTIONS, PreTrainedModel
|
| 58 |
from transformers.processing_utils import Unpack
|
| 59 |
from transformers.utils import LossKwargs, auto_docstring, can_return_tuple, logging
|
| 60 |
+
from .configuration_pangu_embedded import PanguEmbeddedConfig
|
| 61 |
|
| 62 |
logger = logging.get_logger(__name__)
|
| 63 |
|