Yuchan
commited on
Update Mo.py
Browse files
Mo.py
CHANGED
|
@@ -137,7 +137,7 @@ class LoUScan(layers.Layer):
|
|
| 137 |
|
| 138 |
self.norm = layers.LayerNormalization(epsilon=1e-5, dtype='float32')
|
| 139 |
self.norm1 = layers.LayerNormalization(epsilon=1e-5, dtype='float32')
|
| 140 |
-
self.glu = SwiGLU(d_model,
|
| 141 |
|
| 142 |
def call(self, x):
|
| 143 |
x_f32 = tf.cast(x, tf.float32)
|
|
|
|
| 137 |
|
| 138 |
self.norm = layers.LayerNormalization(epsilon=1e-5, dtype='float32')
|
| 139 |
self.norm1 = layers.LayerNormalization(epsilon=1e-5, dtype='float32')
|
| 140 |
+
self.glu = SwiGLU(d_model, 320)
|
| 141 |
|
| 142 |
def call(self, x):
|
| 143 |
x_f32 = tf.cast(x, tf.float32)
|