Raghavan commited on
Commit
d7b3cdf
1 Parent(s): 7b52dc0

Upload 7 files

Browse files
Files changed (1) hide show
  1. 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,