Update README.md
Browse files
README.md
CHANGED
|
@@ -1,94 +1,162 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
- name:
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 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 |
+
---
|