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

Inference refactor #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Inference refactor #5

wants to merge 3 commits into from

Conversation

T-Almeida
Copy link
Collaborator

@T-Almeida T-Almeida commented Nov 13, 2024

Changes

  • Now Corpus does not require to have annotated data.
  • Added a new CorpusAnnotated class.
  • Remove the annoying tokenizer warning Token indices sequence length is longer than the specified maximum sequence length for this model.
  • Adapt the inference.py to the new API
  • Adapt the hf_train.py to the new API
  • Verify that inference.py runs.
  • Verify that train.py runs.

@T-Almeida
Copy link
Collaborator Author

T-Almeida commented Nov 29, 2024

Verified and training and inference seems to be working

@richardjonker2000 can you fix #3 in the context of this pull request?

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.

1 participant