hdallatorre
commited on
Commit
•
50add8c
1
Parent(s):
63c1106
Update modeling_esm.py
Browse files- modeling_esm.py +1 -0
modeling_esm.py
CHANGED
@@ -551,6 +551,7 @@ class EsmIntermediate(nn.Module):
|
|
551 |
self.activation_fn = SiLU()
|
552 |
|
553 |
def forward(self, hidden_states: torch.Tensor) -> torch.Tensor:
|
|
|
554 |
hidden_states = self.dense(hidden_states)
|
555 |
|
556 |
# GLU
|
|
|
551 |
self.activation_fn = SiLU()
|
552 |
|
553 |
def forward(self, hidden_states: torch.Tensor) -> torch.Tensor:
|
554 |
+
print("Forwarding in the custom ESM Intermediate!")
|
555 |
hidden_states = self.dense(hidden_states)
|
556 |
|
557 |
# GLU
|