Enable loading data sets from files for custom tasks#1083
Enable loading data sets from files for custom tasks#1083NathanHB merged 11 commits intohuggingface:mainfrom
Conversation
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
NathanHB
left a comment
There was a problem hiding this comment.
Looking great ! few nits and good to merge if tests pass :)
|
@NathanHB review comments addressed. thanks! |
Co-authored-by: Nathan Habib <30601243+NathanHB@users.noreply.github.com>
|
@NathanHB wondering about your preferred way to keep approved but unmerged branches up to date with main. should i just hold off until we're closer to merging, or update as we go? i don't want to trigger your CI/CD pipeline more than is needed 😄 thanks again! |
|
hey @davebiagioni thanks for asking :) |
|
Thanks @NathanHB !🙏 |
|
thank you, and happy new year :) |
Purpose: Allow custom tasks to load datasets from local files, not only from the Hugging Face Hub. Useful for offline / air‑gapped / otherwise restricted environments
Changes
hf_data_filestoLightevalTaskConfig.hf_data_files as data_filestodatasets.load_datasetinLightevalTask.download_dataset_worker.examples/custom_tasks_templates/custom_yourbench_task_from_files.py.docs/source/adding-a-custom-task.mdxwith file-based usage.Checklist