Token Classification
GLiNER
PyTorch
multilingual
NER
GLiNER
information extraction
encoder
entity recognition
Instructions to use knowledgator/gliner-bi-small-v1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use knowledgator/gliner-bi-small-v1.0 with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("knowledgator/gliner-bi-small-v1.0") - Notebooks
- Google Colab
- Kaggle
Error while loading
#1
by bharadwajymg - opened
While loading the code given the code , getting the following issue , kindly help me out
RuntimeError: Error(s) in loading state_dict for SpanModel:
size mismatch for token_rep_layer.bert_layer.model.embeddings.word_embeddings.weight: copying a param with shape torch.Size([128100, 768]) from checkpoint, the shape in current model is torch.Size([128004, 768]).
Please, try to update your gliner package with pip install gliner -U
bharadwajymg changed discussion status to closed