Yuchan
commited on
Update Mo.py
Browse files
Mo.py
CHANGED
|
@@ -124,7 +124,6 @@ class SwiGLU(layers.Layer):
|
|
| 124 |
x_val, x_gate = tf.split(x_proj, 2, axis=-1)
|
| 125 |
return self.out(x_val * tf.nn.silu(x_gate))
|
| 126 |
|
| 127 |
-
|
| 128 |
class LoU(layers.Layer):
|
| 129 |
def __init__(self, d_model, clip_value=5.0, eps=1e-6):
|
| 130 |
super().__init__()
|
|
|
|
| 124 |
x_val, x_gate = tf.split(x_proj, 2, axis=-1)
|
| 125 |
return self.out(x_val * tf.nn.silu(x_gate))
|
| 126 |
|
|
|
|
| 127 |
class LoU(layers.Layer):
|
| 128 |
def __init__(self, d_model, clip_value=5.0, eps=1e-6):
|
| 129 |
super().__init__()
|