The variable "resize_positional_embedding" is created at line 136 and is not in the constructor's parameters. I you want to specify your own parameters and you don't specify a name you get "NameError: name 'resize_positional_embedding' is not defined.", because of line 64.
The variable "resize_positional_embedding" is created at line 136 and is not in the constructor's parameters. I you want to specify your own parameters and you don't specify a name you get "NameError: name 'resize_positional_embedding' is not defined.", because of line 64.