sft kl lora trainerGitHubReposft-kl-lora-trainerCustom trl.SFTTrainer that adds a KL divergence loss between a LoRA-adapted model and its base model. fine-tuningfine-tuning-llmkldivergence4PythonMIT16 mo agoBY571Share or keepTake it