Skip to content

Conversation

@rmitsch
Copy link
Collaborator

@rmitsch rmitsch commented Nov 14, 2025

Description

Migrates to GLiNER v2.

Related Issues

Changes Made

  • Migrates to GliNER v2.
  • Adjusts task supports w.r.t. GliNER v2 capabilities.
  • Fixes NER indexing for mentions without context.
  • Fixes bug in DSPy optimization.

Checklist

  • [ ] Tests have been extended to cover changes in functionality
  • Existing and new tests succeed
  • Documentation updated (if applicable)
  • Related issues linked

Screenshots/Examples (if applicable)

@rmitsch rmitsch self-assigned this Nov 14, 2025
@codecov
Copy link

codecov bot commented Nov 15, 2025

Codecov Report

❌ Patch coverage is 93.00000% with 14 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
sieves/tasks/predictive/bridges.py 88.15% 9 Missing ⚠️
sieves/engines/gliner_.py 94.11% 2 Missing ⚠️
...es/tasks/predictive/information_extraction/core.py 88.88% 2 Missing ⚠️
sieves/tasks/predictive/core.py 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #202      +/-   ##
==========================================
- Coverage   92.75%   92.63%   -0.13%     
==========================================
  Files          63       63              
  Lines        3340     3339       -1     
==========================================
- Hits         3098     3093       -5     
- Misses        242      246       +4     
Files with missing lines Coverage Δ
sieves/engines/__init__.py 100.00% <ø> (ø)
sieves/engines/engine_type.py 94.73% <100.00%> (ø)
sieves/engines/utils.py 92.00% <100.00%> (ø)
sieves/pipeline/core.py 92.62% <100.00%> (+0.12%) ⬆️
sieves/serialization.py 98.85% <ø> (ø)
sieves/tasks/__init__.py 100.00% <100.00%> (ø)
sieves/tasks/optimization/core.py 92.85% <100.00%> (ø)
sieves/tasks/predictive/classification/core.py 94.82% <100.00%> (+0.02%) ⬆️
sieves/tasks/predictive/ner/__init__.py 100.00% <100.00%> (ø)
sieves/tasks/predictive/ner/bridges.py 94.82% <100.00%> (+1.22%) ⬆️
... and 11 more

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rmitsch rmitsch marked this pull request as ready for review November 15, 2025 13:52
@rmitsch rmitsch merged commit f20be1e into main Nov 15, 2025
3 checks passed
@rmitsch rmitsch deleted the feat/198-gliner-v2 branch November 15, 2025 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate to GliNer v2

1 participant