Results 2 comments of lei_chen

I only fix the trainer code according to https://github.com/huggingface/transformers/issues/33420 , but don't add label_names="labels", it works for me. only change ``` if _is_peft_model(self.model) and self.args.label_names is None: logger.warning( f"No label_names...

you can alse use this one generation_config = dict( max_new_tokens=1024, do_sample=True, eos_token_id=151645, pad_token_id=151645, )