Skip to content

Conversation

Pioneer-wxh
Copy link

@Pioneer-wxh Pioneer-wxh commented Sep 26, 2025

Before submitting

  • Lint code. If there are lint issues, please format the code first.
# Install and register `pre-commit` in the project folder
pip install pre-commit && pre-commit install

# Process previous code files separately
pre-commit run --file XXXX.py
  • Add test cases into tests folder. If there are codecov issues, please add tests cases first.

PR types

PR changes

Description

@CLAassistant
Copy link

CLAassistant commented Sep 26, 2025

CLA assistant check
All committers have signed the CLA.


train_ds, dev_ds, test_ds = create_dataset(data_args, training_args)

train_dataset_size = None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

为什么需要get datasize?

if max_eval_iters > 0 and step >= max_eval_iters - 1:
break

def _calc_ortho_loss(self, model):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不要写在SFTTrainer里,peft/dislora目录下新起一个DisLoRATrainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants