KEMBAR78
Refactor issues with yaml by LysandreJik · Pull Request #16772 · huggingface/transformers · GitHub
Skip to content

Conversation

@LysandreJik
Copy link
Member

This PR:

  • Refactors the issue templates using the newly introduced YAML issues.
  • Introduces a config.yml for issues which enables a redirect to the forum
  • Removes the benchmarking issue which has not been used at all and introduces noise in the issue selection process. With its removal, I'm aiming for a lower number of blank issues.

See below for the comparison across issues. To see the issue templates yourself and play with the config.yml, head over to my fork.

Old New
Bug report (MD) Bug report (YML)
image image
Old feature request New feature request
image image

The new index will now contain additional links, including a link to the forum:

image

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Apr 13, 2022

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

@ydshieh
Copy link
Collaborator

ydshieh commented Apr 14, 2022

Thanks!

For the new bug report screenshot, looks like the section Who can help is not editable?

The new layout looks good! I would like to have a section 'Code Snippet' if it is not in the new layout yet. 🙂 (Haven't really tried it yet, just looking the screenshots)

Copy link
Contributor

@patil-suraj patil-suraj left a comment

Choose a reason for hiding this comment

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

Love this new YAML issues, thanks a lot for adding this @LysandreJik ! Hopefully no more bug reports without reproducible steps :)

Copy link
Collaborator

@sgugger sgugger left a comment

Choose a reason for hiding this comment

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

Thanks a lot!

Copy link
Member

@anton-l anton-l left a comment

Choose a reason for hiding this comment

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

Looks great! 😍

Copy link
Contributor

@sanchit-gandhi sanchit-gandhi left a comment

Choose a reason for hiding this comment

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

This is amazing, looks super clean! Thank you @LysandreJik!

@@ -0,0 +1,70 @@
name: "\U0001F4DA Migration from pytorch-pretrained-bert or pytorch-transformers"
description: Report a problem when migrating from pytorch-pretrained-bert or pytorch-transformers to transformers
labels: [ "migration" ]
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above regarding the label 'migration' appearing under 'migration from...' like 'bug' in 'bug report'.

Copy link
Contributor

@patrickvonplaten patrickvonplaten left a comment

Choose a reason for hiding this comment

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

Much nicer indeed!

LysandreJik and others added 6 commits April 18, 2022 16:34
Co-authored-by: Anton Lozhkov <aglozhkov@gmail.com>
Co-authored-by: Anton Lozhkov <aglozhkov@gmail.com>
Co-authored-by: Sanchit Gandhi <93869735+sanchit-gandhi@users.noreply.github.com>
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
@LysandreJik
Copy link
Member Author

The new layout looks good! I would like to have a section 'Code Snippet' if it is not in the new layout yet. slightly_smiling_face (Haven't really tried it yet, just looking the screenshots)

@ydshieh, yes the reproducible code example is available in the issue, I just migrated the existing issues so everything is still included.

Thanks for your reviews, merging!

@LysandreJik LysandreJik merged commit c11a495 into huggingface:main Apr 18, 2022
elusenji pushed a commit to elusenji/transformers that referenced this pull request Jun 12, 2022
* Refactor issues with yaml

* Update .github/ISSUE_TEMPLATE/bug-report.yml

Co-authored-by: Anton Lozhkov <aglozhkov@gmail.com>

* Update .github/ISSUE_TEMPLATE/bug-report.yml

Co-authored-by: Anton Lozhkov <aglozhkov@gmail.com>

* Update .github/ISSUE_TEMPLATE/feature-request.yml

Co-authored-by: Sanchit Gandhi <93869735+sanchit-gandhi@users.noreply.github.com>

* Update .github/ISSUE_TEMPLATE/bug-report.yml

Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>

* Update .github/ISSUE_TEMPLATE/bug-report.yml

Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>

* Address review comments

Co-authored-by: Anton Lozhkov <aglozhkov@gmail.com>
Co-authored-by: Sanchit Gandhi <93869735+sanchit-gandhi@users.noreply.github.com>
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
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.

8 participants