Upload 7 files
Browse files- modeling_indictrans.py +0 -6
modeling_indictrans.py
CHANGED
@@ -825,12 +825,6 @@ class IndicTransDecoder(IndicTransPreTrainedModel):
|
|
825 |
def set_input_embeddings(self, value):
|
826 |
self.embed_tokens = value
|
827 |
|
828 |
-
def get_output_embeddings(self):
|
829 |
-
return self.lm_head
|
830 |
-
|
831 |
-
def set_output_embeddings(self, new_embeddings):
|
832 |
-
self.lm_head = new_embeddings
|
833 |
-
|
834 |
def forward(
|
835 |
self,
|
836 |
input_ids: Optional[torch.Tensor] = None,
|
|
|
825 |
def set_input_embeddings(self, value):
|
826 |
self.embed_tokens = value
|
827 |
|
|
|
|
|
|
|
|
|
|
|
|
|
828 |
def forward(
|
829 |
self,
|
830 |
input_ids: Optional[torch.Tensor] = None,
|