Update modeling_super_linear.py
Browse files349 unmodified lines3503513523533533543553563 unmodified lines360361362363363364365366349 unmodified lines else: self.freq_experts = configs.freq_experts.split('_')
print("self.freq_experts:", self.freq_experts)
self.moe_loss = None self.top_k_experts = configs.top_k_experts3 unmodified lines self.layer_type = configs.layer_type self.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)modeling_super_linear.py+2-2