Yuchan commited on
Commit
d916c7d
·
verified ·
1 Parent(s): a2ab022

Update Mo.py

Browse files
Files changed (1) hide show
  1. Mo.py +1 -1
Mo.py CHANGED
@@ -118,7 +118,7 @@ with strategy.scope():
118
  class SwiGLU(layers.Layer):
119
  def __init__(self, d_model, d_ff):
120
  super().__init__()
121
- self.proj = layers.Dense(dff)
122
  self.out = layers.Dense(d_model)
123
  def call(self, x):
124
  x_proj = self.proj(x)
 
118
  class SwiGLU(layers.Layer):
119
  def __init__(self, d_model, d_ff):
120
  super().__init__()
121
+ self.proj = layers.Dense(d_ff)
122
  self.out = layers.Dense(d_model)
123
  def call(self, x):
124
  x_proj = self.proj(x)