MCPcopy Create free account
hub / github.com/ZinYY/TreeLoRA / train_continual

Method train_continual

model/base_model.py:107–110  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

105
106
107 def train_continual(self):
108 for i_task, task in enumerate(self.train_task_list):
109 self.train_one_task(task, i_task, int(self.args.num_train_epochs[i_task]))
110 self.save_model(i_task)
111
112
113 def save_model(self, round):

Callers

nothing calls this directly

Calls 2

train_one_taskMethod · 0.95
save_modelMethod · 0.95

Tested by

no test coverage detected