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

Add script to decontaminate datasets against benchmark datasets #416

Merged
merged 11 commits into from
Feb 24, 2025

Conversation

plaguss
Copy link
Collaborator

@plaguss plaguss commented Feb 24, 2025

Description

Follows the same script from s1: Simple test-time scaling.

Usage:

python scripts/decontaminate.py \
    --dataset "open-r1/verifiable-coding-problems-python-10k" \
    --problem_column problem \
    -c
...
Removed 226 samples from 'lcb'
Initial size: 1800, Final size: 1574

Dataset updated: open-r1/verifiable-coding-problems-python-10k_decontaminated

@plaguss plaguss marked this pull request as ready for review February 24, 2025 14:55
@plaguss plaguss requested a review from lewtun February 24, 2025 14:55
Copy link
Member

@lewtun lewtun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this nifty script @plaguss ! LGTM with some minor nits - feel free to merge when you've included them

plaguss and others added 9 commits February 24, 2025 19:49
Co-authored-by: lewtun <lewis.c.tunstall@gmail.com>
Co-authored-by: lewtun <lewis.c.tunstall@gmail.com>
Co-authored-by: lewtun <lewis.c.tunstall@gmail.com>
Co-authored-by: lewtun <lewis.c.tunstall@gmail.com>
Co-authored-by: lewtun <lewis.c.tunstall@gmail.com>
Co-authored-by: lewtun <lewis.c.tunstall@gmail.com>
Co-authored-by: lewtun <lewis.c.tunstall@gmail.com>
Co-authored-by: lewtun <lewis.c.tunstall@gmail.com>
@plaguss plaguss merged commit 7188001 into main Feb 24, 2025
1 check passed
@plaguss plaguss deleted the decontaminate branch February 24, 2025 18:54
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.

2 participants