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

Implement squad validation set preprocessing and scoring #13

Open
plpxsk opened this issue Oct 28, 2024 · 0 comments
Open

Implement squad validation set preprocessing and scoring #13

plpxsk opened this issue Oct 28, 2024 · 0 comments

Comments

@plpxsk
Copy link
Owner

plpxsk commented Oct 28, 2024

Currently, any valid and test datasets (in addition to train) come from the squad "training" batch only.

This is because the squad training batch has exactly one answer, while the validation sets have multiple "correct" answers, and this requires slightly different pre-processing

Implement validation set pre-processing so that:

  • the actual validation set can be passed for test/validation
  • to compute performance metrics on these sets

See example code in HF: https://huggingface.co/learn/nlp-course/chapter7/7?fw=pt#processing-the-training-data

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

No branches or pull requests

1 participant