GPT2 head

This commit is contained in:
Andrzej Preibisz 2023-02-12 19:33:45 +01:00
parent 024ad6aae5
commit afc950ac36

View File

@ -87,6 +87,9 @@ class GPT2ClassificationHeadCustom(nn.Module):
x = torch.relu(x)
x = self.dropout(x)
x = torch.relu(x)
x = self.dropout(x)
x = self.out_proj(x)
return x