oweller2
commited on
Commit
•
64c9f71
1
Parent(s):
e44547d
try again:
Browse files- modeling_flexbert.py +8 -3
modeling_flexbert.py
CHANGED
@@ -114,9 +114,14 @@ from .bert_layers.layers import (
|
|
114 |
get_encoder_layer,
|
115 |
)
|
116 |
from .bert_layers.loss import get_loss_fn
|
117 |
-
from .
|
118 |
-
from .
|
119 |
-
from .
|
|
|
|
|
|
|
|
|
|
|
120 |
|
121 |
logger = logging.getLogger(__name__)
|
122 |
|
|
|
114 |
get_encoder_layer,
|
115 |
)
|
116 |
from .bert_layers.loss import get_loss_fn
|
117 |
+
from .mlp import FlexBertGLU, FlexBertMLP, FlexBertParallelGLU
|
118 |
+
from .normalization import get_norm_layer
|
119 |
+
from .padding import pad_input, unpad_input
|
120 |
+
|
121 |
+
# TODO: This is not used here, but this is so these files are copied when saving the model in ST/PyLate
|
122 |
+
from .utils import StrEnum
|
123 |
+
from .rotary import UnpaddedRotaryEmbedding
|
124 |
+
|
125 |
|
126 |
logger = logging.getLogger(__name__)
|
127 |
|