Talip7 commited on
Commit
8d48408
ยท
verified ยท
1 Parent(s): 990635a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +58 -84
README.md CHANGED
@@ -1,90 +1,77 @@
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`
@@ -94,50 +81,37 @@ This dataset aims to support:
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.
 
1
  ---
2
+ language:
3
+ - en
4
+ task_categories:
5
+ - text-classification
6
+ task_ids:
7
+ - multi-label-classification
8
+ pretty_name: Scikit-learn GitHub Issues (Multilabel)
9
+ license: apache-2.0
 
 
 
 
 
 
 
 
 
 
 
10
  ---
11
 
12
  # ๐Ÿงฉ Scikit-learn GitHub Issues โ€“ Multilabel Dataset
13
 
14
+ This dataset contains **GitHub issues from the `scikit-learn` repository**, prepared for **multilabel NLP tasks** such as issue tagging, automated triage, and semantic search.
15
 
16
+ Each row corresponds to **one issue-comment context**, making the dataset suitable for real-world developer tooling.
17
 
18
  ---
19
 
20
  ## ๐Ÿ“Œ Motivation
21
 
22
+ GitHub issues are a critical signal in open-source projects:
23
+ - Bug tracking
24
+ - Feature requests
25
+ - Documentation improvements
26
+ - Module-specific discussions
27
 
28
+ This dataset enables:
29
+ - Multilabel text classification
30
+ - Label recommendation systems
31
+ - Semantic search over issues
32
+ - Downstream LLM & RAG pipelines
33
 
34
  ---
35
 
36
  ## ๐Ÿ“ฆ Dataset Construction
37
 
38
+ **Source**
39
  - Repository: `scikit-learn/scikit-learn`
40
+ - Collected using the GitHub REST API
41
 
42
+ **Included**
43
+ - Open & closed **issues**
44
+ - Issue **title + body**
45
+ - All **comments**
46
+ - Original **GitHub labels**
47
 
48
+ **Excluded**
49
+ - Pull requests
 
50
 
51
  ---
52
 
53
+ ## ๐Ÿ”„ Preprocessing Pipeline
54
 
55
+ 1. Retrieved issues up to API safety limits
56
+ 2. Removed pull requests
57
+ 3. Downloaded all issue comments
58
+ 4. Exploded issues by comments
59
+ 5. Constructed a unified `text` field:
60
+ - title
61
+ - body
62
  - comments
63
+ 6. Extracted label names into a multilabel format
 
64
 
65
  ---
66
 
67
+ ## ๐Ÿ“Š Dataset Overview
68
 
69
+ - **Samples**: ~12,500
 
70
  - **Labels per sample**: 1โ€“6
71
+ - **Unique labels**: ~20+
72
  - **Language**: English
73
 
74
+ Example labels:
75
  - `Bug`
76
  - `Documentation`
77
  - `New Feature`
 
81
 
82
  ---
83
 
84
+ ## ๐Ÿงฑ Dataset Columns
85
 
86
+ | Column | Description |
87
+ |------|------------|
88
+ | `html_url` | GitHub issue URL |
89
+ | `labels` | List of labels (multilabel target) |
90
+ | `text` | Issue title + body + comments |
91
+ | `issue_number` | Original GitHub issue number |
92
+
93
+ > Column types are inferred automatically from the dataset files.
94
 
95
  ---
96
 
97
  ## ๐Ÿš€ Intended Use
98
 
99
+ - Multilabel classification
100
+ - Issue triage automation
101
+ - Semantic search
102
+ - Developer-facing ML tools
 
 
 
 
 
 
103
 
104
  ---
105
 
106
  ## โš ๏ธ Limitations
107
 
108
+ - Natural class imbalance
109
  - Domain-specific to scikit-learn
110
+ - Label taxonomy evolves over time
 
 
 
 
 
 
 
 
111
 
112
  ---
113
 
114
  ## ๐Ÿ‘ค Author
115
 
116
  **Talip7**
117
+ Focused on applied NLP, real-world datasets, and production ML pipelines.