When to use SFTTrainer

In the recent QLoRA blog post , the Colab notebooks use the standard Trainer class, however SFTTrainer was mentioned briefly at the end of the post. Why wasn’t it used in the Colab notebooks associated with this blog post, and when would you advise using it over Trainer ?

1 Like