Token Classification
GLiNER
PyTorch
English
NER
information extraction
relation extraction
summarization
sentiment extraction
question-answering
Instructions to use knowledgator/gliner-multitask-large-v0.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use knowledgator/gliner-multitask-large-v0.5 with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("knowledgator/gliner-multitask-large-v0.5") - Notebooks
- Google Colab
- Kaggle
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?
@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?
yes