Skip to content

ExtractTextFromHuggingFaceDatasetJob: add revision arg - #660

Merged
albertz merged 2 commits into
mainfrom
add-hf-dataset-revision
Jun 29, 2026
Merged

ExtractTextFromHuggingFaceDatasetJob: add revision arg#660
albertz merged 2 commits into
mainfrom
add-hf-dataset-revision

Conversation

@polycrit

Copy link
Copy Markdown
Contributor

Add an optional revision argument to ExtractTextFromHuggingFaceDatasetJob, forwarded to load_hf_dataset/load_dataset, so callers can pin a specific dataset commit instead of resolving the moving default branch.

The job hash stays stable for callers that do not set revision (the hash classmethod drops it when None), mirroring the per-argument hash handling in TransformAndMapHuggingFaceDatasetJob.

Comment thread datasets/huggingface.py Outdated
@albertz
albertz merged commit ca161b7 into main Jun 29, 2026
5 checks passed
@albertz
albertz deleted the add-hf-dataset-revision branch June 29, 2026 11:24
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.

3 participants