evaluation_strategy argument is deprecated.
Hello,
When I tried out the fine-tuning google colab notebook, an error popped out when instantiating Trainer.
The root cause is evaluation_strategy being deprecated and replaced by eval_strategy, see https://github.com/huggingface/transformers/pull/30190.
Hi,
First, thanks @qqaatw for creating this ticket and solving that issue, I encountered the same problem. I will take that opportunity to thank the developers for building that great package and open sourcing it.
FYI @Ingvarstep @urchade there is an opportunity to update the finetune colab script. A lot of packages have changed version, I don't know if other elements need to change to properly run fine-tuning.
Best,
JP
I have an update for the google colab finetune script:
I would recommend to update the google colab with the following two changes:
1, env setup to install gliner from the source:
%%bash pip uninstall gliner -y rm -rf GLiNER git clone https://github.com/urchade/GLiNER.git cd GLiNER pip install -r requirements.txt pip install . python -c "import gliner; print(f'✓ GLiNER version: {gliner.version}')"
- update the eval_strategy in the TrainingArguments class.