This is not a @property after all
This commit is contained in:
@@ -284,7 +284,6 @@ class XxxModel(XxxPreTrainedModel):
|
||||
|
||||
self.init_weights()
|
||||
|
||||
@property
|
||||
def get_input_embeddings(self):
|
||||
return self.embeddings.word_embeddings
|
||||
|
||||
|
||||
Reference in New Issue
Block a user