Update README.md
Browse files
README.md
CHANGED
|
@@ -392,7 +392,7 @@ size_categories:
|
|
| 392 |
|
| 393 |
## Dataset Summary
|
| 394 |
A corpus of GitHub issues and pull requests from the
|
| 395 |
-
[
|
| 396 |
Created as a practice exercise following AT1-Task01 and Hugging Face LLM Course ("Creating your own dataset").
|
| 397 |
|
| 398 |
## How the data was collected
|
|
@@ -403,6 +403,19 @@ Created as a practice exercise following AT1-Task01 and Hugging Face LLM Course
|
|
| 403 |
- This "raw" version keeps the original API fields with minimal processing
|
| 404 |
and does not include issue comments.
|
| 405 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 406 |
## Dataset Structure
|
| 407 |
Each row is one issue or pull request.
|
| 408 |
Key fields:
|
|
@@ -420,22 +433,18 @@ Key fields:
|
|
| 420 |
- Multilabel classification of issue labels
|
| 421 |
- Semantic search over issues
|
| 422 |
|
| 423 |
-
##
|
| 424 |
-
|
| 425 |
-
|
| 426 |
-
|
| 427 |
-
|
| 428 |
-
|
| 429 |
-
|
| 430 |
-
|
| 431 |
-
`number` as a unique key.
|
| 432 |
-
7. **Augmentation:** Derived fields were added (`is_pull_request`, [`days_to_close`, `label_names`]).
|
| 433 |
-
8. **Publishing:** The dataset was pushed to the Hugging Face Hub with `push_to_hub()`,
|
| 434 |
-
authenticated with a Hugging Face write token stored in Secret Keys.
|
| 435 |
|
| 436 |
## Limitations
|
| 437 |
- A snapshot in time; newer issues are not included.
|
| 438 |
-
-
|
| 439 |
- Text was written by GitHub users and may contain usernames, code, and links.
|
| 440 |
|
| 441 |
## Legal and Policy Compliance
|
|
@@ -470,4 +479,4 @@ Shared here for educational purposes.
|
|
| 470 |
- Office of the Australian Information Commissioner. (n.d.). *Australian Privacy Principles*.
|
| 471 |
https://www.oaic.gov.au/privacy/australian-privacy-principles
|
| 472 |
- *Copyright Act 1968* (Cth).
|
| 473 |
-
|
|
|
|
| 392 |
|
| 393 |
## Dataset Summary
|
| 394 |
A corpus of GitHub issues and pull requests from the
|
| 395 |
+
[JPEG XL support](https://github.com/huggingface/datasets/issues/8537) repository.
|
| 396 |
Created as a practice exercise following AT1-Task01 and Hugging Face LLM Course ("Creating your own dataset").
|
| 397 |
|
| 398 |
## How the data was collected
|
|
|
|
| 403 |
- This "raw" version keeps the original API fields with minimal processing
|
| 404 |
and does not include issue comments.
|
| 405 |
|
| 406 |
+
## Data Collection Process
|
| 407 |
+
1. **Authentication:** A read-only GitHub personal access token was stored in Kaggle Secret Key
|
| 408 |
+
, and loaded at runtime. It was never written into the notebook.
|
| 409 |
+
2. **Collection:** Issues and pull requests were requested from the GitHub REST API
|
| 410 |
+
using Python `requests`, page by page, staying within GitHub's rate limit of 5,000 requests per hour.
|
| 411 |
+
4. **Raw storage:** Responses were saved as a JSON Lines file.
|
| 412 |
+
5. **Loading:** The file was loaded with `datasets.load_dataset.
|
| 413 |
+
6. **Cleaning:** 100 duplicate records (caused by a pagination error) were removed using
|
| 414 |
+
`number` as a unique key.
|
| 415 |
+
7. **Augmentation:** Derived fields were added.
|
| 416 |
+
8. **Publishing:** The dataset was pushed to the Hugging Face Hub with `push_to_hub()`,
|
| 417 |
+
authenticated with a Hugging Face write token stored in Secret Keys.
|
| 418 |
+
|
| 419 |
## Dataset Structure
|
| 420 |
Each row is one issue or pull request.
|
| 421 |
Key fields:
|
|
|
|
| 433 |
- Multilabel classification of issue labels
|
| 434 |
- Semantic search over issues
|
| 435 |
|
| 436 |
+
## Storage, Locations and Versioning
|
| 437 |
+
| Item | Location | Versioning |
|
| 438 |
+
| Published dataset | https://huggingface.co/datasets/Color0106/github-raw | Hugging Face commit history (Files and versions → History) |
|
| 439 |
+
| Raw data | Collection date: [2026-10-05] |
|
| 440 |
+
| Notebook 1 – Collection & augmentation | [Kaggle Notebook] | [Ver 1 / 2026-10-05] |
|
| 441 |
+
| Notebook 2 – Transformers pipeline | [Colab Notebook] | [Ver 2 / 2026/10/18] |
|
| 442 |
+
| Notebook 3 – Semantic search (FAISS) | [Colab Notebook] | [Ver 1 / 2026/10/18] |
|
| 443 |
+
| Access tokens | Kaggle Secrets / Colab Secrets — not stored in any file | Expire on [2026/12/05] |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 444 |
|
| 445 |
## Limitations
|
| 446 |
- A snapshot in time; newer issues are not included.
|
| 447 |
+
- Only a subset of all issues was collected.
|
| 448 |
- Text was written by GitHub users and may contain usernames, code, and links.
|
| 449 |
|
| 450 |
## Legal and Policy Compliance
|
|
|
|
| 479 |
- Office of the Australian Information Commissioner. (n.d.). *Australian Privacy Principles*.
|
| 480 |
https://www.oaic.gov.au/privacy/australian-privacy-principles
|
| 481 |
- *Copyright Act 1968* (Cth).
|
| 482 |
+
|