-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add test for SqueezeBERT #159
base: main
Are you sure you want to change the base?
Conversation
return { | ||
"variables": params, | ||
"input_ids": self._get_input_activations(), | ||
"train": False, | ||
} |
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.
I see no variables
param in
def __call__(
self,
input_ids,
attention_mask=None,
token_type_ids=None,
position_ids=None,
*,
train: bool,
):
Does it exist in apply
?
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.
Yes, explained here
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.
Please add a brief comment above explaining how this gets routed through apply
to __call__
.
No description provided.