theirstory / gliner-spacy

A spaCy wrapper for GliNER
MIT License
91 stars 8 forks source link

Suggestion: Threshold becomes a configurable setting #1

Closed ash-lewis closed 7 months ago

ash-lewis commented 8 months ago

I noticed that on the original gliner_base model Threshold is a configurable setting, is it possible to add Threshold to our list of configurable properties?

Cool project!

wjbmattingly commented 8 months ago

Thanks so much for this @ash-lewis ! And thanks for your interest. I think this is a great idea. I'll try and get that update ready in the next few days.

wjbmattingly commented 7 months ago

You can now use

pip install gliner-spacy --upgrade

This will upgrade you to 0.0.3 which now allows you to set the threshold.