mayankpuvvala commited on
Commit
b259ddc
·
verified ·
1 Parent(s): a0a58a4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +72 -31
README.md CHANGED
@@ -1,33 +1,74 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: id
5
- dtype: int64
6
- - name: title
7
- dtype: string
8
- - name: user
9
- dtype: string
10
- - name: state
11
- dtype: string
12
- - name: labels
13
- sequence: string
14
- - name: comments
15
- dtype: int64
16
- - name: author_association
17
- dtype: string
18
- - name: body
19
- dtype: string
20
- - name: is_title
21
- dtype: bool
22
- splits:
23
- - name: train
24
- num_bytes: 20233919
25
- num_examples: 10000
26
- download_size: 7315336
27
- dataset_size: 20233919
28
- configs:
29
- - config_name: default
30
- data_files:
31
- - split: train
32
- path: data/train-*
33
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ annotations_creators:
3
+ - no-annotation
4
+ language:
5
+ - en
6
+ language_creators:
7
+ - other
8
+ license: []
9
+ multilinguality:
10
+ - monolingual
11
+ pretty_name: github-pytorch-issues
12
+ size_categories:
13
+ - 1K<n<10K
14
+ source_datasets: []
15
+ tags:
16
+ - Pytorch issues information Custom data set
17
+ task_categories:
18
+ - question-answering
19
+ - text-generation
20
+ task_ids:
21
+ - open-domain-qa
22
+ - closed-domain-qa
23
+ - language-modeling
 
 
 
 
 
 
 
 
 
24
  ---
25
+
26
+ # Dataset Card for github-pytorch-issues
27
+
28
+ ## Dataset Summary
29
+
30
+ 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.
31
+
32
+ ## Supported Tasks and Leaderboards
33
+
34
+ The dataset supports the following tasks:
35
+ - **Open-domain Question Answering**: Given a user query, match it to a relevant issue and retrieve the response from the issue body or comments.
36
+ - **Closed-domain Question Answering**: Same as above but restricted to PyTorch-related questions.
37
+ - **Text Generation / Language Modeling**: Use the issue title as prompt and body as target text to fine-tune generative models.
38
+
39
+ ## Languages
40
+
41
+ - English (`en`)
42
+
43
+ ## Dataset Structure
44
+
45
+ ### Data Fields
46
+
47
+ - `id`: Unique issue ID
48
+ - `title`: Title of the issue
49
+ - `user`: GitHub user who opened the issue
50
+ - `state`: Open or closed
51
+ - `labels`: Comma-separated labels/tags
52
+ - `comments`: Number of comments
53
+ - `author_association`: Role of the author in the repository
54
+ - `body`: Main text of the issue
55
+
56
+ ## Example
57
+
58
+ ```json
59
+ {
60
+ "id": 1500,
61
+ "title": "torch.save crashes on certain tensor inputs",
62
+ "user": "some_user",
63
+ "state": "open",
64
+ "labels": ["bug", "serialization"],
65
+ "comments": 4,
66
+ "author_association": "CONTRIBUTOR",
67
+ "body": "I'm encountering a crash when trying to serialize certain model outputs..."
68
+ }
69
+ ```
70
+ ### Dataset Creation
71
+ The dataset was created by collecting issues via the GitHub REST API using the endpoint:
72
+ ```python
73
+ https://api.github.com/repos/pytorch/pytorch/issues
74
+ ```