Expand description
Span-mode GLiNER ONNX inference.
This crate vendors the span-mode preprocessing and decoding path from the
gline-rs project and replaces its pipeline wrapper with direct ort
session management.
Re-exports§
pub use decode::Span;pub use decode::SpanOutput;
Modules§
Structs§
- Gliner
- GLiNER span-mode inference engine.
- Gliner2
- GLiNER2 schema-prompt inference engine.
- Parameters
- Processing parameters for GLiNER span-mode inference.
- Runtime
Config - ONNX Runtime session configuration.
- Text
Input - Raw text input and zero-shot entity labels.
- Token
- A word token with byte offsets in the source text.
Enums§
- Gliner
Error - Errors returned by GLiNER preprocessing, inference, and decoding.
Constants§
- INPUT_
NAMES - GLiNER tensor input names expected by span-mode ONNX exports.
- INPUT_
NAMES_ V2 - GLiNER2 tensor input names expected by schema-prompt ONNX exports.
- OUTPUT_
NAMES - GLiNER tensor output names expected by span-mode ONNX exports.
- OUTPUT_
NAMES_ V2 - GLiNER2 tensor output names expected by schema-prompt ONNX exports.
Type Aliases§
- Result
- Result type used by
xberg-gliner.