| --- |
| annotations_creators: |
| - no-annotation |
| language: |
| - en |
| language_creators: |
| - other |
| license: [] |
| multilinguality: |
| - monolingual |
| pretty_name: github-pytorch-issues |
| size_categories: |
| - 1K<n<10K |
| source_datasets: [] |
| tags: |
| - Pytorch issues information Custom data set |
| task_categories: |
| - question-answering |
| - text-generation |
| task_ids: |
| - open-domain-qa |
| - closed-domain-qa |
| - language-modeling |
| --- |
| |
| # Dataset Card for github-pytorch-issues |
|
|
| ## Dataset Summary |
|
|
| This dataset is a curated collection of GitHub issues from the [PyTorch repository](https://github.com/pytorch/pytorch). Each entry includes the issue `title`, `body`, `user`, `state`, `labels`, `comments`, and other relevant fields that are useful for tasks such as text classification, semantic search, and question answering. |
|
|
| ## Supported Tasks and Leaderboards |
|
|
| The dataset supports the following tasks: |
| - **Open-domain Question Answering**: Given a user query, match it to a relevant issue and retrieve the response from the issue body or comments. |
| - **Closed-domain Question Answering**: Same as above but restricted to PyTorch-related questions. |
| - **Text Generation / Language Modeling**: Use the issue title as prompt and body as target text to fine-tune generative models. |
|
|
| ## Languages |
|
|
| - English (`en`) |
|
|
| ## Dataset Structure |
|
|
| ### Data Fields |
|
|
| - `id`: Unique issue ID |
| - `title`: Title of the issue |
| - `user`: GitHub user who opened the issue |
| - `state`: Open or closed |
| - `labels`: Comma-separated labels/tags |
| - `comments`: Number of comments |
| - `author_association`: Role of the author in the repository |
| - `body`: Main text of the issue |
|
|
| ## Example |
|
|
| ```json |
| { |
| "id": 1500, |
| "title": "torch.save crashes on certain tensor inputs", |
| "user": "some_user", |
| "state": "open", |
| "labels": ["bug", "serialization"], |
| "comments": 4, |
| "author_association": "CONTRIBUTOR", |
| "body": "I'm encountering a crash when trying to serialize certain model outputs..." |
| } |
| ``` |
| ### Dataset Creation |
| The dataset was created by collecting issues via the GitHub REST API using the endpoint: |
| ```python |
| https://api.github.com/repos/pytorch/pytorch/issues |
| ``` |