Seems Fine Tune Code does not work with current GLiNER codes

#1
by xclyfe - opened

Hey numind, thanks for your great work!

I updated the GLiNER today, and try to fine-tune this model. However, seems the https://huggingface.co./numind/NuNER_Zero-4k#fine-tuning does not work with current GLiNER codes, the error said the "weight_decay_encoder" and "weight_decay_others" parameter missed from line "optimizer = model.get_optimizer(config.lr_encoder, config.lr_others, config.freeze_token_rep)".

Could u help to check?

Sign up or log in to comment