Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,28 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
---
|
4 |
+
|
5 |
+
# GitHub issues classifier (using zero shot classification)
|
6 |
+
|
7 |
+
This model was trained using the [**Zero-shot classifier distillation**](https://github.com/huggingface/transformers/tree/main/examples/research_projects/zero-shot-distillation) method
|
8 |
+
with the [BART-large-mnli](https://huggingface.co/facebook/bart-large-mnli) model as teacher model, to train a classifier on Github issues from the [Github Issues Prediction dataset](https://www.kaggle.com/datasets/anmolkumar/github-bugs-prediction)
|
9 |
+
|
10 |
+
## Labels
|
11 |
+
|
12 |
+
As per the dataset Kaggle competition, the classifier predicts wether an issue is a bug, feature or question. After playing around with different labels pre-training I've used a different mapping
|
13 |
+
of labels that yielded better predictions (see notebook [here](https://www.kaggle.com/code/antoinemacia/zero-shot-classifier-for-bug-analysis/edit) for details), labels being
|
14 |
+
|
15 |
+
* issue
|
16 |
+
* feature request
|
17 |
+
* question
|
18 |
+
|
19 |
+
|
20 |
+
## Training data
|
21 |
+
|
22 |
+
This model was trained on 5k titles (unlabelled, as per distillation requierements) from the train dataset of [Github Issues Prediction dataset](https://www.kaggle.com/datasets/anmolkumar/github-bugs-prediction)
|
23 |
+
|
24 |
+
## Acknowledgements
|
25 |
+
|
26 |
+
* Joe Davison and his article on [Zero-Shot Learning in Modern NLP](https://joeddav.github.io/blog/2020/05/29/ZSL.html)
|
27 |
+
* Jeremy Evans and his notebook on [Iterate like a grandmaster](https://www.kaggle.com/code/antoinemacia/iterate-like-a-grandmaster)
|
28 |
+
|