t20062443 commited on
Commit
5ea3a1b
·
verified ·
1 Parent(s): a79cff6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +162 -94
README.md CHANGED
@@ -1,94 +1,162 @@
1
- ---
2
- license: apache-2.0
3
- configs:
4
- - config_name: default
5
- data_files:
6
- - split: train
7
- path: data/train-*
8
- dataset_info:
9
- features:
10
- - name: url
11
- dtype: string
12
- - name: html_url
13
- dtype: string
14
- - name: issue_url
15
- dtype: string
16
- - name: id
17
- dtype: int64
18
- - name: node_id
19
- dtype: string
20
- - name: user_login
21
- dtype: string
22
- - name: user_id
23
- dtype: int64
24
- - name: user_node_id
25
- dtype: string
26
- - name: user_avatar_url
27
- dtype: string
28
- - name: user_gravatar_id
29
- dtype: string
30
- - name: user_url
31
- dtype: string
32
- - name: user_html_url
33
- dtype: string
34
- - name: user_followers_url
35
- dtype: string
36
- - name: user_following_url
37
- dtype: string
38
- - name: user_gists_url
39
- dtype: string
40
- - name: user_starred_url
41
- dtype: string
42
- - name: user_subscriptions_url
43
- dtype: string
44
- - name: user_organizations_url
45
- dtype: string
46
- - name: user_repos_url
47
- dtype: string
48
- - name: user_events_url
49
- dtype: string
50
- - name: user_received_events_url
51
- dtype: string
52
- - name: user_type
53
- dtype: string
54
- - name: user_user_view_type
55
- dtype: string
56
- - name: user_site_admin
57
- dtype: bool
58
- - name: created_at
59
- dtype: timestamp[s]
60
- - name: updated_at
61
- dtype: timestamp[s]
62
- - name: body
63
- dtype: string
64
- - name: author_association
65
- dtype: string
66
- - name: reactions_url
67
- dtype: string
68
- - name: reactions_total_count
69
- dtype: int64
70
- - name: reactions_+1
71
- dtype: int64
72
- - name: reactions_-1
73
- dtype: int64
74
- - name: reactions_laugh
75
- dtype: int64
76
- - name: reactions_hooray
77
- dtype: int64
78
- - name: reactions_confused
79
- dtype: int64
80
- - name: reactions_heart
81
- dtype: int64
82
- - name: reactions_rocket
83
- dtype: int64
84
- - name: reactions_eyes
85
- dtype: int64
86
- - name: performed_via_github_app
87
- dtype: 'null'
88
- splits:
89
- - name: train
90
- num_bytes: 6099687
91
- num_examples: 4000
92
- download_size: 1239803
93
- dataset_size: 6099687
94
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # GitHub Issue Comments – Hugging Face/datasets Repository
2
+
3
+ ## Dataset Summary
4
+ This dataset contains 4,000 structured GitHub issue comments collected from the huggingface/datasets repository. Each comment includes metadata such as author details, timestamps, reactions and association type. The dataset is ideal for analysing open-source community dynamics, sentiment trends, contributor behaviour and natural language patterns in technical discussions.
5
+
6
+ ## Dataset Structure
7
+ Data Fields
8
+ Column Name Description
9
+ id Unique identifier for the comment
10
+ body Text content of the comment
11
+ created_at Timestamp when the comment was created
12
+ updated_at Timestamp when the comment was last updated
13
+ author_association Role of the commenter (e.g., MEMBER, CONTRIBUTOR, NONE)
14
+ user_login GitHub username of the commenter
15
+ user_id Unique GitHub user ID
16
+ user_type Type of GitHub account (e.g., User, Bot)
17
+ user_site_admin Boolean indicating if the user is a GitHub site admin
18
+ html_url Direct URL to the comment on GitHub
19
+ issue_url API URL of the issue the comment belongs to
20
+ reactions_total_count Total number of emoji reactions
21
+ reactions_+1 to reactions_eyes Individual counts for each reaction type (👍, 👎, ❤️, 🎉, etc.)
22
+ performed_via_github_app GitHub App used to post the comment (if any)
23
+ user_* fields Additional metadata about the user (avatar, profile URLs, etc.)
24
+
25
+ ## Data Types
26
+ - int64: IDs, reaction counts
27
+ - object: Text, URLs, usernames
28
+ - datetime64[s]: Timestamps
29
+ - bool: Admin flag
30
+
31
+ ## Source
32
+ - Repository: huggingface/datasets
33
+ - API Endpoint: https://api.github.com/repos/huggingface/datasets/issues/comments
34
+ - Collection Method: API calls (per_page=100, page=1–40)
35
+ - License: GitHub content is subject to GitHub Terms of Service
36
+
37
+ ## Intended Uses
38
+ - NLP Tasks: Sentiment analysis, topic modelling, summarisation
39
+ - Community Analytics: Contributor engagement, reaction trends
40
+ - Model Training: Fine-tuning on technical dialogue and bug reporting
41
+ - Feature Engineering: Text length, emoji usage, time-based features, user roles
42
+
43
+ ## Limitations
44
+ - Comments are limited to public issues only.
45
+ - No issue titles or labels are included.
46
+ - performed_via_github_app is always null.
47
+ - Reactions may not reflect full emotional tone.
48
+
49
+ ## Ethical Considerations
50
+ - All data is publicly available via GitHub’s API.
51
+ - Usernames and profile links are included; please respect contributor privacy and avoid misuse.
52
+
53
+ ## Dataset Creation script
54
+ - Data was collected using Python requests library by GitHub REST API:
55
+ - url = "https://api.github.com/repos/huggingface/datasets/issues/comments?per_page=100&page={page}"
56
+ - headers = {"Authorization": f"token {your_token}"}
57
+ - response = requests.get(url, headers=headers)
58
+ - Comments were flattened into a tabular format with 39 columns. Timestamps were parsed, and nested fields (e.g., user, reactions) were expanded.
59
+
60
+
61
+
62
+ ---
63
+ license: apache-2.0
64
+ configs:
65
+ - config_name: default
66
+ data_files:
67
+ - split: train
68
+ path: data/train-*
69
+ dataset_info:
70
+ features:
71
+ - name: url
72
+ dtype: string
73
+ - name: html_url
74
+ dtype: string
75
+ - name: issue_url
76
+ dtype: string
77
+ - name: id
78
+ dtype: int64
79
+ - name: node_id
80
+ dtype: string
81
+ - name: user_login
82
+ dtype: string
83
+ - name: user_id
84
+ dtype: int64
85
+ - name: user_node_id
86
+ dtype: string
87
+ - name: user_avatar_url
88
+ dtype: string
89
+ - name: user_gravatar_id
90
+ dtype: string
91
+ - name: user_url
92
+ dtype: string
93
+ - name: user_html_url
94
+ dtype: string
95
+ - name: user_followers_url
96
+ dtype: string
97
+ - name: user_following_url
98
+ dtype: string
99
+ - name: user_gists_url
100
+ dtype: string
101
+ - name: user_starred_url
102
+ dtype: string
103
+ - name: user_subscriptions_url
104
+ dtype: string
105
+ - name: user_organizations_url
106
+ dtype: string
107
+ - name: user_repos_url
108
+ dtype: string
109
+ - name: user_events_url
110
+ dtype: string
111
+ - name: user_received_events_url
112
+ dtype: string
113
+ - name: user_type
114
+ dtype: string
115
+ - name: user_user_view_type
116
+ dtype: string
117
+ - name: user_site_admin
118
+ dtype: bool
119
+ - name: created_at
120
+ dtype: timestamp[s]
121
+ - name: updated_at
122
+ dtype: timestamp[s]
123
+ - name: body
124
+ dtype: string
125
+ - name: author_association
126
+ dtype: string
127
+ - name: reactions_url
128
+ dtype: string
129
+ - name: reactions_total_count
130
+ dtype: int64
131
+ - name: reactions_+1
132
+ dtype: int64
133
+ - name: reactions_-1
134
+ dtype: int64
135
+ - name: reactions_laugh
136
+ dtype: int64
137
+ - name: reactions_hooray
138
+ dtype: int64
139
+ - name: reactions_confused
140
+ dtype: int64
141
+ - name: reactions_heart
142
+ dtype: int64
143
+ - name: reactions_rocket
144
+ dtype: int64
145
+ - name: reactions_eyes
146
+ dtype: int64
147
+ - name: performed_via_github_app
148
+ dtype: 'null'
149
+ splits:
150
+ - name: train
151
+ num_bytes: 6099687
152
+ num_examples: 4000
153
+ download_size: 1239803
154
+ dataset_size: 6099687
155
+ task_categories:
156
+ - text-classification
157
+ - feature-extraction
158
+ language:
159
+ - en
160
+ size_categories:
161
+ - 1K<n<10K
162
+ ---