feat: added comment
Browse files- 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
|