finetuning issue

#5
by ale-volpe - opened

Hello, I really appreciate your nice work.
Today I tried to finetune a gliner based model with your latest finetuning notebook and I am getting this error:
RuntimeError: The input size 0, plus negative padding 0 and 0 resulted in a negative output size, which is invalid. Check dimension 1 of your input.
How can I solve?

Knowledgator Engineering org

@ale-volpe , hello, thank you for reaching out to us. As I understand you are referring to this notebook https://github.com/Knowledgator/GLiNER/blob/main/examples/finetune.ipynb. Am I right?

Sign up or log in to comment