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

replace datasets list with local list of tasks #309

Merged
merged 7 commits into from
Oct 5, 2022
Merged

Conversation

lvwerra
Copy link
Member

@lvwerra lvwerra commented Oct 5, 2022

This should fix huggingface/transformers#19177 on the evaluate side by adding the list into the codebase.

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Oct 5, 2022

The documentation is not available anymore as the PR was closed or merged.

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.

Thanks !

Can you also update the docs in push_to_hub, it still redirects to the JSON file that was removed in datasets

task_type (``str``): Task id, refer to
            https://github.com/huggingface/datasets/blob/master/src/datasets/utils/resources/tasks.json for allowed values.

@lvwerra
Copy link
Member Author

lvwerra commented Oct 5, 2022

Thanks, good point - is updated!

@lvwerra lvwerra merged commit d48669f into main Oct 5, 2022
@lvwerra lvwerra deleted the fix-task-list-hub branch October 5, 2022 14:15
NimaBoscarino pushed a commit that referenced this pull request Oct 17, 2022
* replace datasets list with local list of tasks

* fix tests

* fix style

* fix known_tasks_ids in test

* fix task tests

* final fix🤞

* update reference
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.

ValueError: Task image-classification is not compatible with this dataset! Available tasks: []
3 participants