Upload modeling_stablelm_epoch.py
Browse files
modeling_stablelm_epoch.py
CHANGED
@@ -561,10 +561,10 @@ class StableLMEpochForCausalLM(StableLMEpochPreTrainedModel):
|
|
561 |
self.lm_head = new_embeddings
|
562 |
|
563 |
def get_decoder(self):
|
564 |
-
return self.
|
565 |
|
566 |
def set_decoder(self, decoder):
|
567 |
-
self.
|
568 |
|
569 |
def forward(
|
570 |
self,
|
|
|
561 |
self.lm_head = new_embeddings
|
562 |
|
563 |
def get_decoder(self):
|
564 |
+
return self.model
|
565 |
|
566 |
def set_decoder(self, decoder):
|
567 |
+
self.model = decoder
|
568 |
|
569 |
def forward(
|
570 |
self,
|