GPT2 head

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

View File

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