kd trainer has kd temp as part of the init
This commit is contained in:
@@ -97,7 +97,6 @@ class AxolotlKDTrainer(AxolotlTrainer):
|
||||
target_logprobs_for_loss,
|
||||
target_mask_for_loss,
|
||||
num_items_in_batch=num_items_in_batch,
|
||||
kd_temperature=self.args.kd_temperature,
|
||||
# top_k_before_softmax=1 if self.args.kd_top_k_before_softmax else 0,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user