license: apache-2.0
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
dataset_info:
features:
- name: url
dtype: string
- name: html_url
dtype: string
- name: issue_url
dtype: string
- name: id
dtype: int64
- name: node_id
dtype: string
- name: user_login
dtype: string
- name: user_id
dtype: int64
- name: user_node_id
dtype: string
- name: user_avatar_url
dtype: string
- name: user_gravatar_id
dtype: string
- name: user_url
dtype: string
- name: user_html_url
dtype: string
- name: user_followers_url
dtype: string
- name: user_following_url
dtype: string
- name: user_gists_url
dtype: string
- name: user_starred_url
dtype: string
- name: user_subscriptions_url
dtype: string
- name: user_organizations_url
dtype: string
- name: user_repos_url
dtype: string
- name: user_events_url
dtype: string
- name: user_received_events_url
dtype: string
- name: user_type
dtype: string
- name: user_user_view_type
dtype: string
- name: user_site_admin
dtype: bool
- name: created_at
dtype: timestamp[s]
- name: updated_at
dtype: timestamp[s]
- name: body
dtype: string
- name: author_association
dtype: string
- name: reactions_url
dtype: string
- name: reactions_total_count
dtype: int64
- name: reactions_+1
dtype: int64
- name: reactions_-1
dtype: int64
- name: reactions_laugh
dtype: int64
- name: reactions_hooray
dtype: int64
- name: reactions_confused
dtype: int64
- name: reactions_heart
dtype: int64
- name: reactions_rocket
dtype: int64
- name: reactions_eyes
dtype: int64
- name: performed_via_github_app
dtype: 'null'
splits:
- name: train
num_bytes: 6099687
num_examples: 4000
download_size: 1239803
dataset_size: 6099687
task_categories:
- text-classification
- feature-extraction
language:
- en
size_categories:
- 1K<n<10K
GitHub Issue Comments – Hugging Face/datasets Repository
Dataset Summary
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.
Dataset Structure
Data Fields Column Name Description id Unique identifier for the comment body Text content of the comment created_at Timestamp when the comment was created updated_at Timestamp when the comment was last updated author_association Role of the commenter (e.g., MEMBER, CONTRIBUTOR, NONE) user_login GitHub username of the commenter user_id Unique GitHub user ID user_type Type of GitHub account (e.g., User, Bot) user_site_admin Boolean indicating if the user is a GitHub site admin html_url Direct URL to the comment on GitHub issue_url API URL of the issue the comment belongs to reactions_total_count Total number of emoji reactions reactions_+1 to reactions_eyes Individual counts for each reaction type (👍, 👎, ❤️, 🎉, etc.) performed_via_github_app GitHub App used to post the comment (if any) user_* fields Additional metadata about the user (avatar, profile URLs, etc.)
Data Types
- int64: IDs, reaction counts
- object: Text, URLs, usernames
- datetime64[s]: Timestamps
- bool: Admin flag
Source
- Repository: huggingface/datasets
- API Endpoint: https://api.github.com/repos/huggingface/datasets/issues/comments
- Collection Method: API calls (per_page=100, page=1–40)
- License: GitHub content is subject to GitHub Terms of Service
Intended Uses
- NLP Tasks: Sentiment analysis, topic modelling, summarisation
- Community Analytics: Contributor engagement, reaction trends
- Model Training: Fine-tuning on technical dialogue and bug reporting
- Feature Engineering: Text length, emoji usage, time-based features, user roles
Limitations
- Comments are limited to public issues only.
- No issue titles or labels are included.
- performed_via_github_app is always null.
- Reactions may not reflect full emotional tone.
Dataset Creation script
- Data was collected using Python requests library by GitHub REST API:
- url = "https://api.github.com/repos/huggingface/datasets/issues/comments?per_page=100&page={page}"
- headers = {"Authorization": f"token {your_token}"}
- response = requests.get(url, headers=headers)
- Comments were flattened into a tabular format with 39 columns. Timestamps were parsed, and nested fields (e.g., user, reactions) were expanded.
License
- This dataset is released under the Apache 2.0 License, which permits commercial and non-commercial use, distribution, modification and private use, provided that proper attribution is given and a copy of the license is included with any redistribution.
Ethical Considerations
- All data is publicly available via GitHub’s API.
- Usernames and profile links are included; please respect contributor privacy and avoid misuse.
Privacy considerations
- All data was collected from publicly accessible GitHub issue comments via the GitHub REST API.
- Usernames, profile URLs and other metadata are included as part of the original public content.
- No private or sensitive data was collected or included.
Storage and Distribution:
- The dataset is stored and distributed via the Hugging Face Hub.
- Users downloading or hosting the dataset are responsible for ensuring compliance with GitHub’s Terms of Service and applicable data handling policies.