Releases: fbilhaut/gline-rs
Releases · fbilhaut/gline-rs
0.9.2
Fixed
- Fixed issue with multi-word labels (issue #1).
Added
- Pipeline for Relation Extraction, with related example.
- Matrix-level documentation of pre- and post-processing steps (see
doc/Processing.typ
ordoc/Processing.pdf
). - More unit-tests.
Changed
- The
Pipeline
trait is now fully generic wrt. input, output and context types. - The
Model
struct is more opaque and parametrized by a pipeline which it handles by itself. - The
GLiNER
struct is now a light convenience wrapper aroundModel
,Pipeline
andParameters
. - The
Composable
trait is now implemented forModel
+Pipeline
+Parameters
combos, to facilitate re-use and combination of pipelines. SeePipeline::to_composable()
orModel::to_composable()
. - Drop
num_traits
dependency (in favor ofndarray
'sNdFloat
).