Skip to content

fix: rename evaluation_strategy to eval_strategy in finetune script#1062

Open
Mr-Neutr0n wants to merge 1 commit intoOpenBMB:mainfrom
Mr-Neutr0n:fix/eval-strategy-deprecation
Open

fix: rename evaluation_strategy to eval_strategy in finetune script#1062
Mr-Neutr0n wants to merge 1 commit intoOpenBMB:mainfrom
Mr-Neutr0n:fix/eval-strategy-deprecation

Conversation

@Mr-Neutr0n
Copy link

Summary

Rename evaluation_strategy to eval_strategy in finetune/finetune_lora.sh to fix the deprecation warning from transformers.

Changes

  • finetune/finetune_lora.sh: Changed --evaluation_strategy to --eval_strategy

Context

The evaluation_strategy argument was renamed to eval_strategy in the transformers library. Using the old name causes a deprecation warning.

Fixes #1045

The `evaluation_strategy` argument was renamed to `eval_strategy` in
transformers. This fixes the deprecation warning.

Fixes OpenBMB#1045
@airlsyn
Copy link

airlsyn commented Feb 8, 2026

Thanks for your effort! We maintain a dedicated Cookbook for fine-tuning — could you open a PR against MiniCPM-V-CookBook? The relevant script is finetune/finetune_lora.sh. We'd be happy to review and merge it.

@Mr-Neutr0n
Copy link
Author

Thanks for the guidance @airlsyn! I'll open a PR against the MiniCPM-V-CookBook repository instead. Should I close this PR, or would you prefer to keep it open for reference?

@airlsyn
Copy link

airlsyn commented Feb 8, 2026

Thanks for the guidance @airlsyn! I'll open a PR against the MiniCPM-V-CookBook repository instead. Should I close this PR, or would you prefer to keep it open for reference?

Feel free to close this one. Thanks again for the contribution!

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.

evaluation_strategy was renamed to eval_strategy

2 participants