nz commited on
Commit
4a6a0e5
·
1 Parent(s): 4df5cef

Update rita_modeling.py

Browse files
Files changed (1) hide show
  1. rita_modeling.py +1 -1
rita_modeling.py CHANGED
@@ -246,4 +246,4 @@ class RITAModel(PreTrainedModel):
246
  return self.projector
247
 
248
  def set_output_embeddings(self, new_projector):
249
- return new_projector
 
246
  return self.projector
247
 
248
  def set_output_embeddings(self, new_projector):
249
+ self.projector = new_projector