Datasets:
Initial push with dataset and README
Browse files12334569 unmodified lines1617181919202121222324232526272829303132333435363738392526272829303132334041424344454647484950513552533754553956575859606141626364656667686970
---annotations_creators: [user]annotations_creators: [unknown]language: - enlanguage_creators: [found]9 unmodified lines - extractive-qa---
# GitHub Issues Dataset (HuggingFace/datasets Repository)# 📊 GitHub Issues Dataset (HuggingFace/datasets Repository)
This dataset contains structured GitHub issues scraped from the [`huggingface/datasets`](https://github.com/huggingface/datasets) repository. It includes metadata like titles, bodies, timestamps, state (open/closed), and optional pull request information — making it useful for a variety of natural language processing (NLP) and software engineering tasks.This dataset contains structured GitHub issues scraped from the [`huggingface/datasets`](https://github.com/huggingface/datasets) repository. It is intended for **NLP tasks**, **topic modeling**, **issue classification**, and **software engineering research**.
---
## Dataset Summary## 📌 Dataset Summary
- **Repository Source**: `huggingface/datasets`- **Scraped via**: GitHub REST API v3- **Total Issues**: ~7,465- **Collected On**: June 25, 2025- **Format**: `JSONL` → loaded via Arrow for Hugging Face- **Language**: English
---
## 📂 Fields Included
Each entry contains:
- **Repository**: `huggingface/datasets`- **Source**: GitHub REST API v3- **Total Issues Collected**: ~7,465- **Time of Crawling**: June 25, 2025- **Includes**: - Issue `title`, `body`, `state`, `created_at`, `updated_at`, `closed_at` - Flags like `is_pull_request` - Nested `pull_request` info where applicable - Metadata such as `user.login`, `comments`, `html_url`- `title` — Issue title - `body` — Issue body text - `state` — Open or closed - `created_at`, `updated_at`, `closed_at` — Timestamps - `is_pull_request` — Boolean flag - `user.login` — Author - `comments` — Count of comments - `html_url` — URL to the issue - `pull_request.*` — Nested fields when issue is a PR
---
## How It Was Created## ⚙️ How It Was Created
We used the GitHub REST API to scrape issues from the Hugging Face `datasets` repo using Python. Data was collected using `requests`, paginated with `per_page=100`, and stored as a JSONL file.Issues were scraped using Python’s `requests` library with pagination (`per_page=100`). The dataset was flattened to remove deep nesting and improve usability with machine learning models.
A flattening function was applied to extract deeply nested fields and standardize the schema.All entries were saved to `.jsonl`, loaded into a Hugging Face DatasetDict using `load_dataset`, and then pushed to the 🤗 Hub.
---
## 💡 Example Usage
### Sample Code Snippet```pythonfrom datasets import load_dataset
# Load the dataset from the Hugging Face Hubds = load_dataset("rIsHu009/github-issues-updated", split="train")
# Access a sample recordprint(ds[0])
README.md+42-17