Markus28 commited on
Commit
d9a681b
1 Parent(s): dae5c58

feat: added comment

Browse files
Files changed (1) hide show
  1. modeling_lora.py +1 -0
modeling_lora.py CHANGED
@@ -220,6 +220,7 @@ class BertLoRA(BertPreTrainedModel):
220
  self._register_lora(self._num_adaptions)
221
  self.main_params_trainable = False
222
  self._task_idx = None
 
223
  self.current_task = 0
224
 
225
  @property
 
220
  self._register_lora(self._num_adaptions)
221
  self.main_params_trainable = False
222
  self._task_idx = None
223
+ # By default, we select the first LoRA
224
  self.current_task = 0
225
 
226
  @property