Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor the Linker, Ranker, Recogniser and Pipeline #282

Open
wants to merge 161 commits into
base: dev
Choose a base branch
from

Conversation

thobson88
Copy link
Collaborator

@thobson88 thobson88 commented Dec 15, 2024

Closes #276.

Major refactor. The main changes are:

  • new subclass structure in the Recogniser, Ranker & Linker (and common load and run interface)
  • new dataclasses representing data structures throughout the pipeline: Mention, Sentence, Candidates, Predictions, etc.
  • simplified Pipeline class, with all business logic moved into the Linker

Update docs site & migrate to Material for Mkdocs
Limit to compatible versions of transformers dependency
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.

Refactor the Linker, Ranker, Recogniser and Pipeline [PR open]
2 participants