Talip7 commited on
Commit
990635a
Β·
verified Β·
1 Parent(s): 0dcdcd6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +138 -18
README.md CHANGED
@@ -1,23 +1,143 @@
1
  ---
2
  dataset_info:
3
  features:
4
- - name: html_url
5
- dtype: string
6
- - name: labels
7
- list: string
8
- - name: text
9
- dtype: string
10
- - name: issue_number
11
- dtype: int64
12
  splits:
13
- - name: train
14
- num_bytes: 50874000
15
- num_examples: 12484
16
- download_size: 10226655
17
- dataset_size: 50874000
18
- configs:
19
- - config_name: default
20
- data_files:
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.