EleutherAI/lm-evaluation-harness

Allow Task objects to defer dataset download

Open

#1,558 opened on Mar 11, 2024

View on GitHub
 (3 comments) (1 reaction) (0 assignees)Python (3,306 forks)auto 404
feature requestgood first issuehelp wanted

Repository metrics

Stars
 (12,755 stars)
PR merge metrics
 (Avg merge 15d 7h) (11 merged PRs in 30d)

Description

currently Task object initialization causes the tasks to download their datasets upon initialization.

This is not always desirable, so we should allow users to defer download and perform it manually.

Should add a defer_download: bool = False flag to Task and ConfigurableTask init() methods which, when set to true, has the dataset not downloaded, and allow users to easily call a task.download() method with no args that performs the download.

If users attempt to run the task without first downloading the dataset, we should raise an error.

Contributor guide