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

Remove tasks #6999

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Remove tasks #6999

wants to merge 11 commits into from

Conversation

albertvillanova
Copy link
Member

Remove tasks, as part of the 3.0 release.

@HuggingFaceDocBuilderDev

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.

@albertvillanova albertvillanova added this to the 3.0 milestone Jun 27, 2024
@albertvillanova albertvillanova mentioned this pull request Jun 27, 2024
3 tasks
@albertvillanova albertvillanova requested a review from a team June 27, 2024 13:31
@@ -146,7 +143,6 @@ class DatasetInfo:
features: Optional[Features] = None
post_processed: Optional[PostProcessedInfo] = None
supervised_keys: Optional[SupervisedKeysData] = None
task_templates: Optional[List[TaskTemplate]] = None
Copy link
Member

Choose a reason for hiding this comment

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

Maybe we can leave this (or ignore it in a post_init) since otherwise it will break ILSVRC/imagenet-1k and ylecun/mnist and many other datasets.

We could also keep the task classes to be imported and instantiated without errors but still remove all their methods like align_feature since they are unused

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.

None yet

3 participants