| ▲ | rhdunn 4 hours ago | |||||||
From the paper (page 6 with a comparison to GLU and SwiGLU) they are not using tanh directly (i.e. f(x) = tanh(x)) but:
Looking at the graph I wonder if this is to try and get the best of both GLU (better representation at higher values of x >~ 5) and SwiGLU (the value bump just before 0). | ||||||||
| ▲ | whimsicalism 4 hours ago | parent | next [-] | |||||||
Still more of a tanh than I've seen in years | ||||||||
| ▲ | lostmsu 3 hours ago | parent | prev [-] | |||||||
Which part of that is doing gating? I thought gate generally looks like
for some f. In your case b is a constant hyperparameter though, e.g.
So where's the gate? | ||||||||
| ||||||||