Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
parquet
Sub-tasks:
multi-label-classification
Languages:
English
Size:
10K - 100K
License:
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,23 +1,143 @@
|
|
| 1 |
---
|
| 2 |
dataset_info:
|
| 3 |
features:
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
splits:
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
- split: train
|
| 22 |
-
path: data/train-*
|
| 23 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
dataset_info:
|
| 3 |
features:
|
| 4 |
+
- name: html_url
|
| 5 |
+
dtype: string
|
| 6 |
+
- name: labels
|
| 7 |
+
dtype: list
|
| 8 |
+
- name: text
|
| 9 |
+
dtype: string
|
| 10 |
+
- name: issue_number
|
| 11 |
+
dtype: int64
|
| 12 |
splits:
|
| 13 |
+
- name: train
|
| 14 |
+
num_examples: 12484
|
| 15 |
+
task_categories:
|
| 16 |
+
- text-classification
|
| 17 |
+
task_ids:
|
| 18 |
+
- multi-label-classification
|
| 19 |
+
languages:
|
| 20 |
+
- en
|
|
|
|
|
|
|
| 21 |
---
|
| 22 |
+
|
| 23 |
+
# π§© Scikit-learn GitHub Issues β Multilabel Dataset
|
| 24 |
+
|
| 25 |
+
This dataset contains **GitHub issues from the `scikit-learn` repository**, prepared specifically for **multilabel NLP tasks** such as issue tagging, automated triage, and semantic search.
|
| 26 |
+
|
| 27 |
+
Each sample represents **one issue + one comment context**, making it suitable for fine-grained text understanding and real-world ML workflows.
|
| 28 |
+
|
| 29 |
+
---
|
| 30 |
+
|
| 31 |
+
## π Motivation
|
| 32 |
+
|
| 33 |
+
Open-source projects rely heavily on labeled GitHub issues:
|
| 34 |
+
- bug tracking
|
| 35 |
+
- feature requests
|
| 36 |
+
- documentation updates
|
| 37 |
+
- module-specific discussions
|
| 38 |
+
|
| 39 |
+
This dataset aims to support:
|
| 40 |
+
- **multilabel classification**
|
| 41 |
+
- **label recommendation systems**
|
| 42 |
+
- **semantic search over issues**
|
| 43 |
+
- downstream LLM and RAG pipelines
|
| 44 |
+
|
| 45 |
+
---
|
| 46 |
+
|
| 47 |
+
## π¦ Dataset Construction
|
| 48 |
+
|
| 49 |
+
### Source
|
| 50 |
+
- Repository: `scikit-learn/scikit-learn`
|
| 51 |
+
- Data collected using the **GitHub REST API**
|
| 52 |
+
|
| 53 |
+
### Included
|
| 54 |
+
β
Open and closed **issues**
|
| 55 |
+
β
Full issue **title + body**
|
| 56 |
+
β
All **issue comments**
|
| 57 |
+
β
Original **GitHub labels**
|
| 58 |
+
|
| 59 |
+
### Excluded
|
| 60 |
+
β Pull requests
|
| 61 |
+
β System / bot content (where possible)
|
| 62 |
+
|
| 63 |
+
---
|
| 64 |
+
|
| 65 |
+
## π Preprocessing Steps
|
| 66 |
+
|
| 67 |
+
1. **Fetched issues** up to API safety limits
|
| 68 |
+
2. **Filtered out pull requests**
|
| 69 |
+
3. Retrieved **all comments** for each issue
|
| 70 |
+
4. **Exploded comments**, creating multiple rows per issue
|
| 71 |
+
5. Combined:
|
| 72 |
+
- issue title
|
| 73 |
+
- issue body
|
| 74 |
+
- comments
|
| 75 |
+
into a single `text` field
|
| 76 |
+
6. Extracted label names into a clean multilabel format
|
| 77 |
+
|
| 78 |
+
---
|
| 79 |
+
|
| 80 |
+
## π Dataset Statistics
|
| 81 |
+
|
| 82 |
+
- **Total samples**: ~12,500
|
| 83 |
+
- **Unique labels**: ~20+
|
| 84 |
+
- **Labels per sample**: 1β6
|
| 85 |
+
- **Language**: English
|
| 86 |
+
|
| 87 |
+
### Example labels
|
| 88 |
+
- `Bug`
|
| 89 |
+
- `Documentation`
|
| 90 |
+
- `New Feature`
|
| 91 |
+
- `module:linear_model`
|
| 92 |
+
- `Build / CI`
|
| 93 |
+
- `Needs Triage`
|
| 94 |
+
|
| 95 |
+
---
|
| 96 |
+
|
| 97 |
+
## π§± Dataset Schema
|
| 98 |
+
|
| 99 |
+
| Column | Type | Description |
|
| 100 |
+
|--------------|--------|-------------|
|
| 101 |
+
| `html_url` | string | URL of the GitHub issue |
|
| 102 |
+
| `labels` | list | List of issue labels (multilabel target) |
|
| 103 |
+
| `text` | string | Issue title + body + comments |
|
| 104 |
+
| `issue_number` | int | Original GitHub issue number |
|
| 105 |
+
|
| 106 |
+
---
|
| 107 |
+
|
| 108 |
+
## π Intended Use
|
| 109 |
+
|
| 110 |
+
This dataset is suitable for:
|
| 111 |
+
- Multilabel text classification
|
| 112 |
+
- Label recommendation models
|
| 113 |
+
- Semantic search and retrieval
|
| 114 |
+
- Training LLM-powered developer tools
|
| 115 |
+
|
| 116 |
+
Example use cases:
|
| 117 |
+
- Auto-tagging incoming GitHub issues
|
| 118 |
+
- Finding similar historical issues
|
| 119 |
+
- Prioritization and triage dashboards
|
| 120 |
+
|
| 121 |
+
---
|
| 122 |
+
|
| 123 |
+
## β οΈ Limitations
|
| 124 |
+
|
| 125 |
+
- Strong **class imbalance** (natural for GitHub data)
|
| 126 |
+
- Domain-specific to scikit-learn
|
| 127 |
+
- Labels evolve over time as project conventions change
|
| 128 |
+
|
| 129 |
+
---
|
| 130 |
+
|
| 131 |
+
## π Related Resources
|
| 132 |
+
|
| 133 |
+
- Trained model on this dataset:
|
| 134 |
+
π `Talip7/scikit-learn-multilabel-classifier`
|
| 135 |
+
- Hugging Face LLM Course β Chapter 5 (Datasets & Semantic Search)
|
| 136 |
+
|
| 137 |
+
---
|
| 138 |
+
|
| 139 |
+
## π€ Author
|
| 140 |
+
|
| 141 |
+
**Talip7**
|
| 142 |
+
AI / NLP practitioner focusing on **real-world datasets**,
|
| 143 |
+
end-to-end ML pipelines, and applied transformer models.
|