SFTTrainer Class

Is there somewhere an example of training LORA of an LLM(e…g Llama) for text classification? I mean a source code example as there is for text -generation? If not can it be provided?