Skip to content

Implement squad validation set preprocessing and scoring #13

@plpxsk

Description

@plpxsk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions