(self)
| 419 | |
| 420 | @torch.jit.ignore |
| 421 | def no_weight_decay(self): |
| 422 | return {x for x in self.state_dict().keys() if 'attention_biases' in x} |
| 423 | |
| 424 | def train(self, mode=True): |
| 425 | """Convert the model into training mode while keep layers freezed.""" |
nothing calls this directly
no test coverage detected