Skip to content

Commit

Permalink
Update transformer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Miking98 committed Dec 10, 2023
1 parent 431ef88 commit 746cb8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/femr/models/transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def forward(self, features: torch.Tensor, batch: Mapping[str, torch.Tensor]):


class CLMBRTaskHead(nn.Module):
def __init__(self, hidden_size: int, clmbr_vocab_size: int):
def __init__(self, hidden_size: int, clmbr_vocab_size: int, **kwargs):
super().__init__()

self.final_layer = nn.Linear(hidden_size, clmbr_vocab_size)
Expand Down

0 comments on commit 746cb8e

Please sign in to comment.