Create a GitHub issues tagger
Please read the topic categorydescriptionto understand what this is all aboutDescriptionMany open-source projects on GitHub use Issues to triage feature requests, bugs, and so on. For example, check out the Issues tab ofTransformersandDatasetsto get an idea. The goal of this project is to pick your favourite open-source project and create a bot that can automatically assign aLabel(e.g. bug, enhancement etc) to a new GitHub issue.Model(s)Any of the pretrained BERT-like models on the Hub should serve as a good basis for this project. Given the domain is about source code, you may find that fine-tuning the language model first on the dataset gives a boost in performance.DatasetsFor this project you’ll have to create your own dataset by downloading and processing the GitHub issues associated with an open-source project. You can do this with GitHub’sRESTorGraphQLAPIs. You can find an example dataset on the Hub here:lewtun/github-issuesChallengesThis is a multilabel classification task, so you’ll need to do some data exploration to figure out which classes can be feasibly detected.Desired project outcomesCreate a Streamlit or Gradio app onSpacesthat injests new GitHub issues from an open-source project and predicts the Labels of each one.Don’t forget to push all your models and datasets to the Hub so others can build on them!Additional resourcesPredicting Issues’ Labels with RoBERTaCheck outthis chapterof thecourse for more detailsDiscord channelTo chat and organise with other people interested in this project, head over to ourDiscordand:Follow the instructions on the#join-coursechannelJoin the#github-issues-classificationchannelJust make sure you comment here to indicate that you’ll be contributing to this project
2021-11-17T14:13:40Z
I would like to proceed with this project if still possible
2021-11-17T16:06:00Z
Hey@DELithyes you’re welcome to take on this project! I’ve created a channel on Discord (see topic description) in case you or others need it
2021-11-18T05:03:20Z
I would like to participate on this projectWhen I search on discord for#github-issues-classificationnothing happens.I think there’s a disconnect with my discord and myhf.codiscussion site.
2021-11-18T10:05:49Z
Hey@gerardo! Did you first follow the instructions on the#join-coursechannel? You need to do that to see the team channels
2021-11-18T15:21:29Z
Screen Shot 2021-11-18 at 9.20.18 AM1208×564 181 KBThis is the only information I see when I click#join-courseI think there’s something wrong with my setup.
2021-11-18T21:24:00Z
Hey@gerardowhat happens if you add theemoji to the message in#join-course? That should automatically open the rest of the team channels
2021-11-18T21:57:48Z
To be added, please react to this message with
2021-11-18T23:10:43Z
Don’t worry - happens to me all the time
2021-11-19T16:06:04Z
@lewtunHow do you think the raw text from the issue body should be processed before being fed into the model (training\ inference)? I mean the steps preceding the basic pipeline like tokenization and encoding? I am asking, because it might have some markdown syntax as well as long sequences like exception traceback and stuff like that.
2021-11-19T19:51:31Z
Hey@DELithI think you can tokenize the text as you normally would with any text. My suggestion would be to start with that first as a baseline and then see if there’s a need to improve the preprocessing