Normalized configuration for an optional local NER model.
Summary
Functions
Returns the Hugging Face identifier from a reference.
Returns a safe metadata map for telemetry and reports.
Builds a model spec from registry data.
Types
@type t() :: %Obscura.Recognizer.NER.ModelSpec{ aggregation: atom(), entities: [atom()], id: atom(), label_map: atom(), license: String.t(), model: hf_ref(), notes: String.t() | nil, offset_unit: :byte | :character, policy: keyword(), required?: boolean(), status: :supported | :experimental | :evaluation, task: :token_classification, tokenizer: hf_ref() }
Functions
Returns the Hugging Face identifier from a reference.
Returns a safe metadata map for telemetry and reports.
Builds a model spec from registry data.