Update README.md
Browse files
README.md
CHANGED
|
@@ -47,3 +47,100 @@ configs:
|
|
| 47 |
- split: train
|
| 48 |
path: data/train-*
|
| 49 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
- split: train
|
| 48 |
path: data/train-*
|
| 49 |
---
|
| 50 |
+
annotations_creators:
|
| 51 |
+
- no-annotation
|
| 52 |
+
language:
|
| 53 |
+
- en
|
| 54 |
+
language_creators:
|
| 55 |
+
- found
|
| 56 |
+
license:
|
| 57 |
+
- unknown
|
| 58 |
+
multilinguality:
|
| 59 |
+
- multilingual
|
| 60 |
+
pretty_name: Hugging Face Github Issues
|
| 61 |
+
size_categories:
|
| 62 |
+
- 1K<n<10K
|
| 63 |
+
source_datasets:
|
| 64 |
+
- original
|
| 65 |
+
tags:
|
| 66 |
+
- hugging
|
| 67 |
+
- spaces
|
| 68 |
+
- issues
|
| 69 |
+
task_categories:
|
| 70 |
+
- text-classification
|
| 71 |
+
- text-retrieval
|
| 72 |
+
task_ids:
|
| 73 |
+
- multi-class-classification
|
| 74 |
+
- multi-label-classification
|
| 75 |
+
- document-retrieval
|
| 76 |
+
---
|
| 77 |
+
|
| 78 |
+
# Hugging Face Github Issues
|
| 79 |
+
|
| 80 |
+
This dataset contains **5000 GitHub issues** collected from Hugging Face repositories.
|
| 81 |
+
It includes issue metadata, content, labels, user information, timestamps, and comments.
|
| 82 |
+
The dataset is suitable for text classification, multi-label classification, and document retrieval tasks.
|
| 83 |
+
|
| 84 |
+
## Dataset Structure
|
| 85 |
+
|
| 86 |
+
### Columns
|
| 87 |
+
|
| 88 |
+
- `id` — Internal ID of the issue (int64)
|
| 89 |
+
- `number` — GitHub issue number (int64)
|
| 90 |
+
- `title` — Title of the issue (string)
|
| 91 |
+
- `state` — Issue state: open/closed (string)
|
| 92 |
+
- `created_at` — Timestamp when the issue was created (timestamp[s])
|
| 93 |
+
- `updated_at` — Timestamp when the issue was last updated (timestamp[s])
|
| 94 |
+
- `closed_at` — Timestamp when the issue was closed (timestamp[s])
|
| 95 |
+
- `html_url` — URL to the GitHub issue (string)
|
| 96 |
+
- `pull_request` — Struct containing PR info (if the issue is a PR):
|
| 97 |
+
- `url` — URL to PR
|
| 98 |
+
- `html_url` — HTML URL of PR
|
| 99 |
+
- `diff_url` — Diff URL
|
| 100 |
+
- `patch_url` — Patch URL
|
| 101 |
+
- `merged_at` — Merge timestamp (timestamp[s])
|
| 102 |
+
- `user_login` — Login of the issue creator (string)
|
| 103 |
+
- `is_pull_request` — Whether the issue is a pull request (bool)
|
| 104 |
+
- `comments` — List of comments on the issue (list[string])
|
| 105 |
+
|
| 106 |
+
### Splits
|
| 107 |
+
|
| 108 |
+
- `train` — 5000 examples
|
| 109 |
+
|
| 110 |
+
## Supported Tasks
|
| 111 |
+
|
| 112 |
+
- **Text Classification:** Predict labels or categories of issues
|
| 113 |
+
- **Multi-label Classification:** Issues may have multiple labels
|
| 114 |
+
- **Document Retrieval:** Retrieve relevant issues based on a query
|
| 115 |
+
|
| 116 |
+
## Languages
|
| 117 |
+
|
| 118 |
+
- English
|
| 119 |
+
|
| 120 |
+
## Dataset Creation
|
| 121 |
+
|
| 122 |
+
The dataset was collected using the **GitHub API**, including all issue metadata and comments.
|
| 123 |
+
|
| 124 |
+
## Usage Example
|
| 125 |
+
|
| 126 |
+
```python
|
| 127 |
+
from datasets import load_dataset
|
| 128 |
+
|
| 129 |
+
dataset = load_dataset("cicboy/github-issues", split="train")
|
| 130 |
+
|
| 131 |
+
# Preview first 5 examples
|
| 132 |
+
for i, example in enumerate(dataset[:5]):
|
| 133 |
+
print(f"Issue #{example['number']}: {example['title']}")
|
| 134 |
+
print(f"Created at: {example['created_at']}, Closed at: {example['closed_at']}")
|
| 135 |
+
print(f"User: {example['user_login']}, PR: {example['is_pull_request']}")
|
| 136 |
+
print(f"Comments: {example['comments'][:3]}") # first 3 comments
|
| 137 |
+
print()
|
| 138 |
+
|
| 139 |
+
## Citation
|
| 140 |
+
|
| 141 |
+
@misc{cicboy_github_issues,
|
| 142 |
+
author = {Cicboy},
|
| 143 |
+
title = {Hugging Face Github Issues Dataset},
|
| 144 |
+
year = {2025},
|
| 145 |
+
howpublished = {\url{https://huggingface.co/datasets/cicboy/github-issues}}
|
| 146 |
+
}
|