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
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

1 participant