-
Notifications
You must be signed in to change notification settings - Fork 175
Conversation
PIQA performs significantly worse in this branch. I'll have to find out why before merging. |
@@ -89,6 +90,8 @@ def forward( # type: ignore | |||
best_alternative : ``List[int]`` | |||
The index of the highest scoring alternative for every instance in the batch | |||
""" | |||
self.eval() # DEBUG |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left over from debugging?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😱
@@ -53,6 +53,7 @@ def __init__( | |||
) | |||
|
|||
self._linear_layer = torch.nn.Linear(self._text_field_embedder.get_output_dim(), 1) | |||
torch.manual_seed(1234) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left over from debugging?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This depends on allenai/allennlp#5280 being merged first.