Skip to content

Conversation

@albertvillanova
Copy link
Member

As discussed in #2718 (comment), the parameter name script_version is no longer applicable to datasets without loading script (i.e., datasets only with raw data files).

This PR replaces the parameter name script_version with revision.

This way, we are also aligned with:

  • Transformers: AutoTokenizer.from_pretrained(..., revision=...)
  • Hub: HfApi.dataset_info(..., revision=...), HfApi.upload_file(..., revision=...)

Copy link
Member

@lhoestq lhoestq left a comment

Choose a reason for hiding this comment

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

Cool thanks :)

@lhoestq
Copy link
Member

lhoestq commented Sep 20, 2021

I'm also fine with the removal in 1.15

@lhoestq lhoestq merged commit d488db2 into huggingface:master Sep 20, 2021
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