roberta custom head test6
This commit is contained in:
parent
9da7c43ad1
commit
930d8c7d71
@ -52,11 +52,11 @@ class RobertaLeakyHead(nn.Module):
|
|||||||
)
|
)
|
||||||
|
|
||||||
x = self.dense_1(x)
|
x = self.dense_1(x)
|
||||||
x = self.leaky_relu(x)
|
x = torch.relu(x)
|
||||||
x = self.dropout(x)
|
x = self.dropout(x)
|
||||||
|
|
||||||
x = self.dense_2(x)
|
x = self.dense_2(x)
|
||||||
x = self.leaky_relu(x)
|
x = torch.relu(x)
|
||||||
x = self.dropout(x)
|
x = self.dropout(x)
|
||||||
|
|
||||||
x = self.out_proj(x)
|
x = self.out_proj(x)
|
||||||
|
Loading…
Reference in New Issue
Block a user