Datasets:

Languages:
code
ArXiv:
License:
Muennighoff commited on
Commit
b22536a
1 Parent(s): 49779d8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +89 -1
README.md CHANGED
@@ -1,4 +1,81 @@
1
- **WORK IN PROGRESS**
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
3
  | Name | Megabytes | % of total | Samples | % of total |
4
  | --- | --- | --- | --- | --- |
@@ -353,3 +430,14 @@
353
  | bison | 0.008 | 0.0% | 1 | 0.0% |
354
  | m | 0.008 | 0.0% | 1 | 0.0% |
355
  | omgrofl | 0.008 | 0.0% | 1 | 0.0% |
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ pretty_name: CommitPack
4
+ language:
5
+ - code
6
+ ---
7
+ # Dataset Card for CommitPackFT
8
+
9
+ ## Table of Contents
10
+ - [Table of Contents](#table-of-contents)
11
+ - [Dataset Description](#dataset-description)
12
+ - [Dataset Summary](#dataset-summary)
13
+ - [Languages](#languages)
14
+ - [Dataset Structure](#dataset-structure)
15
+ - [Data Instances](#data-instances)
16
+ - [Data Fields](#data-fields)
17
+ - [Data Splits](#data-splits)
18
+ - [Dataset Creation](#dataset-creation)
19
+ - [Curation Rationale](#curation-rationale)
20
+ - [Source Data](#source-data)
21
+ - [Annotations](#annotations)
22
+ - [Additional Information](#additional-information)
23
+ - [Licensing Information](#licensing-information)
24
+ - [Citation Information](#citation-information)
25
+ - [Contributions](#contributions)
26
+
27
+ ## Dataset Description
28
+
29
+ - **Repository:** https://github.com/bigcode-project/octopack
30
+ - **Paper:** WIP
31
+ - **Point of Contact:** [Niklas Muennighoff](mailto:n.muennighoff@gmail.com)
32
+
33
+ ### Dataset Summary
34
+
35
+ > CommitPackFT is ...
36
+ >
37
+ - **Creation:** The dataset can be recreated using instructions available [here](https://github.com/bigcode-project/octopack).
38
+ - **Languages:** 350
39
+ - **OctoPack:**
40
+ -
41
+
42
+ ## Dataset Structure
43
+
44
+
45
+ ### Data Instances
46
+
47
+ An example looks as follows:
48
+
49
+ ```json
50
+ {
51
+ 'commit': '0c17311f7fd511f5dae8f8e4acc2dce1a2de3cf5',
52
+ 'old_file': 'main.py',
53
+ 'new_file': 'main.py',
54
+ 'old_contents': "import numpy as np\nimport matplotlib.pyplot as plt\n\n# generate sample data\nx_data = np.linspace(-5, 5, 20)\ny_data = np.random.normal(0.0, 1.0, x_data.size)\n\nplt.plot(x_data, y_data, 'o')\nplt.show()\n",
55
+ 'new_contents': "import math\nimport numpy as np\nimport matplotlib.pyplot as plt\n\n# generate sample data\nx_data = np.linspace(-math.pi, math.pi, 30)\ny_data = np.sin(x_data) + np.random.normal(0.0, 0.1, x_data.size)\n\nplt.plot(x_data, y_data, 'o')\nplt.show()\n\n",
56
+ 'subject': 'Change to sin() function with noise',
57
+ 'message': 'Change to sin() function with noise\n',
58
+ 'lang': 'Python',
59
+ 'license': 'mit',
60
+ 'repos': 'MorganR/basic-gaussian-process'
61
+ }
62
+ ```
63
+
64
+ ### Data Fields
65
+
66
+ The data fields are the same among all splits:
67
+ - `commit`: unique commit id
68
+ - `old_file`: name of the file before the commit
69
+ - `new_file`: name of the file after the commit
70
+ - `old_contents`: contents of the file before the commit
71
+ - `new_contents`: contents of the file after the commit
72
+ - `subject`: subject of the commit (this is used for all experiments in the paper)
73
+ - `message`: message of the commit (commonly the same as the subject)
74
+ - `lang`: programming language
75
+ - `license`: license of the repository the code stems from
76
+ - `repos`: name of the the repository the code stems from (if multiple, they are comma separated)
77
+
78
+ ### Data Splits
79
 
80
  | Name | Megabytes | % of total | Samples | % of total |
81
  | --- | --- | --- | --- | --- |
 
430
  | bison | 0.008 | 0.0% | 1 | 0.0% |
431
  | m | 0.008 | 0.0% | 1 | 0.0% |
432
  | omgrofl | 0.008 | 0.0% | 1 | 0.0% |
433
+
434
+ ## Additional Information
435
+
436
+ ### Licensing Information
437
+
438
+ Each sample has comes from a code repository with a permissive license. The license is provided by the `license` field for each sample.
439
+
440
+ ### Citation Information
441
+
442
+ ```bibtex
443
+ ```