Skip to content

replace datasets list with local list of tasks#309

Merged
lvwerra merged 7 commits into
mainfrom
fix-task-list-hub
Oct 5, 2022
Merged

replace datasets list with local list of tasks#309
lvwerra merged 7 commits into
mainfrom
fix-task-list-hub

Conversation

@lvwerra

@lvwerra lvwerra commented Oct 5, 2022

Copy link
Copy Markdown
Member

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

@HuggingFaceDocBuilderDev

HuggingFaceDocBuilderDev commented Oct 5, 2022

Copy link
Copy Markdown

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

@lhoestq lhoestq left a comment

Copy link
Copy Markdown
Member

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

lvwerra commented Oct 5, 2022

Copy link
Copy Markdown
Member Author

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