Update modeling_super_linear.py
Browse files349 unmodified lines3503513523533543553563 unmodified lines360361362363364365366349 unmodified lineselse:self.freq_experts = configs.freq_experts.split('_')print("self.freq_experts:", self.freq_experts)self.moe_loss = Noneself.top_k_experts = configs.top_k_experts3 unmodified linesself.layer_type = configs.layer_typeself.model_name = "SuperLinear"print("self.layer_type", self.layer_type)self.layer_dict = {'DLinear': DLinear, 'Linear': Linear, 'NLinear': NLinear, 'RLinear': RLinear}path = configs.linear_checkpoints_path + configs.linear_checkpoints_dir + "/"dirs = os.listdir(path)349 unmodified lines3503513523533543553563 unmodified lines360361362363364365366349 unmodified lineselse:self.freq_experts = configs.freq_experts.split('_')self.moe_loss = Noneself.top_k_experts = configs.top_k_experts3 unmodified linesself.layer_type = configs.layer_typeself.model_name = "SuperLinear"self.layer_dict = {'DLinear': DLinear, 'Linear': Linear, 'NLinear': NLinear, 'RLinear': RLinear}path = configs.linear_checkpoints_path + configs.linear_checkpoints_dir + "/"dirs = os.listdir(path)
modeling_super_linear.py+2-2