Urchade Zaratiana

Results 40 comments of Urchade Zaratiana

`text[:512]`assume 512 characters not tokens you can change the maximum size by setting`model.config.max_len = 512`

You cannot train the model without any entity types. The model needs entity types to compute de matching scores. you can pre-define the list of labels under the key "label",...

Hi, can retry without compiling the model ?

> [@baughmann](https://github.com/baughmann) The [workaround](https://github.com/urchade/GLiNER/issues/108#issuecomment-2254353271) in [#108](https://github.com/urchade/GLiNER/issues/108) should still work. Download both gliner and deberta and edit the gliner config to point to your local deberta model. I do not think...

Hi, it looks like the problem come form your huggingface_hub version. try updating it

Hi, was unavailable due to conference and seminars Yes, the model should work even >25

best way to know is to try it, but I think so. I have evaluate on chinese the paper but I think the token splitting (whitespace) may be suboptimal

```python from gliner import GLiNER # Initialize GLiNER with the base model model = GLiNER.from_pretrained("urchade/gliner_mediumv2.1") # Sample text for entity prediction text = """ Cristiano Ronaldo dos Santos Aveiro (Portuguese...

Hi, it is because the model uses positional encoding Bi-encode version of gliner of @Ingvarstep should not have this effect