Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sgligorijevicTT committed Jan 13, 2025
1 parent 02893a5 commit 7b08345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/jax/models/squeezebert/test_squeezebert.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def _get_forward_method_kwargs(self) -> Dict[str, jax.Array]:
params = self._model.init_from_pytorch_statedict(state_dict)

return {
"variables": params,
"variables": params, # JAX frameworks have a convention of passing weights as the first argument
"input_ids": self._get_input_activations(),
"train": False,
}
Expand Down

0 comments on commit 7b08345

Please sign in to comment.