Lazy-loaded Nx.Serving for Named Entity Recognition using Bumblebee.
Uses dslim/distilbert-NER which is 40% smaller than BERT-base while retaining 97% accuracy. Only loaded when graph features are used.
Summary
Functions
Returns a specification to start this module under a supervisor.
Ensures the NER serving is started. Called automatically by run/1.
Runs NER on the given text, starting the serving if not already running. Returns a list of entity maps with :entity, :label, :start, :end, :score.
Checks if the NER serving is currently running.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Ensures the NER serving is started. Called automatically by run/1.
Runs NER on the given text, starting the serving if not already running. Returns a list of entity maps with :entity, :label, :start, :end, :score.
Checks if the NER serving is currently running.