File size: 4,611 Bytes
b0b2cff
 
fd325a4
b0b2cff
 
6020e29
b0b2cff
6020e29
fbfd02e
b0b2cff
 
 
 
 
 
 
 
845e20c
1a242fb
db37010
845e20c
 
3d6c32c
 
 
 
 
 
 
 
 
 
 
480e8b1
 
 
3d6c32c
 
 
 
 
b0b2cff
 
 
 
 
 
 
1a242fb
b0b2cff
 
 
1a242fb
 
b0b2cff
 
 
 
 
 
 
 
 
 
 
 
 
33f364d
b0b2cff
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33f364d
 
 
845e20c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
---
annotations_creators:
- no-annotation
language_creators:
- machine-generated
language:
- en
license:
- apache-2.0
multilinguality:
- monolingual
size_categories:
- 100K<n<1M
source_datasets:
- original
task_categories:
- other
task_ids: []
paperswithcode_id: eth-py150-open
pretty_name: ethpy150open
tags:
- contextual-embeddings
dataset_info:
  features:
  - name: filepath
    dtype: string
  - name: license
    dtype: string
  config_name: eth_py150_open
  splits:
  - name: train
    num_bytes: 5414978
    num_examples: 74749
  - name: test
    num_bytes: 3006199
    num_examples: 41457
  - name: validation
    num_bytes: 598524
    num_examples: 8302
  download_size: 13875671
  dataset_size: 9019701
---

# Dataset Card for ethpy150open

## Table of Contents
- [Dataset Description](#dataset-description)
  - [Dataset Summary](#dataset-summary)
  - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
  - [Languages](#languages)
- [Dataset Structure](#dataset-structure)
  - [Data Instances](#data-instances)
  - [Data Fields](#data-fields)
  - [Data Splits](#data-splits)
- [Dataset Creation](#dataset-creation)
  - [Curation Rationale](#curation-rationale)
  - [Source Data](#source-data)
  - [Annotations](#annotations)
  - [Personal and Sensitive Information](#personal-and-sensitive-information)
- [Considerations for Using the Data](#considerations-for-using-the-data)
  - [Social Impact of Dataset](#social-impact-of-dataset)
  - [Discussion of Biases](#discussion-of-biases)
  - [Other Known Limitations](#other-known-limitations)
- [Additional Information](#additional-information)
  - [Dataset Curators](#dataset-curators)
  - [Licensing Information](#licensing-information)
  - [Citation Information](#citation-information)
  - [Contributions](#contributions)

## Dataset Description

- **Homepage:** https://www.sri.inf.ethz.ch/py150
- **Repository:** https://github.com/google-research-datasets/eth_py150_open
- **Paper:** https://proceedings.icml.cc/static/paper_files/icml/2020/5401-Paper.pdf
- **Leaderboard:** None
- **Point of Contact:** Aditya Kanade <kanade@iisc.ac.in>, Petros Maniatis <maniatis@google.com> 

### Dataset Summary

A redistributable subset of the [ETH Py150 corpus](https://www.sri.inf.ethz.ch/py150), introduced in the ICML 2020 paper ['Learning and Evaluating Contextual Embedding of Source Code'](https://proceedings.icml.cc/static/paper_files/icml/2020/5401-Paper.pdf)

### Supported Tasks and Leaderboards

[More Information Needed]

### Languages

English

## Dataset Structure
List of dicts of
  {
    "filepath": The relative URL containing the path to the file on GitHub
    "license": The license used for that specific file or repository
  }

### Data Instances

{
  "filepath": "0rpc/zerorpc-python/setup.py",
  "license": "mit"
},
{
  "filepath": "0rpc/zerorpc-python/zerorpc/heartbeat.py",
  "license": "mit"
},

### Data Fields

- `filepath`: The relative URL containing the path to the file on GitHub
- `license`: The license used for that specific file or repository

### Data Splits

|                            | Train   | Valid | Test  |
| -----                      | ------- | ----- | ----- |
| Dataset Split              | 74749   | 8302  | 41457 |

## Dataset Creation
The original dataset is at https://www.sri.inf.ethz.ch/py150
### Curation Rationale

To generate a more redistributable version of the dataset

### Source Data

#### Initial Data Collection and Normalization

All the urls are filepaths relative to GitHub and the master branch was used as available at the time

#### Who are the source language producers?

[More Information Needed]

### Annotations

#### Annotation process

[More Information Needed]

#### Who are the annotators?

[More Information Needed]

### Personal and Sensitive Information

[More Information Needed]

## Considerations for Using the Data

### Social Impact of Dataset

[More Information Needed]

### Discussion of Biases

[More Information Needed]

### Other Known Limitations

[More Information Needed]

## Additional Information

### Dataset Curators

[More Information Needed]

### Licensing Information

Apache License 2.0

### Citation Information

@inproceedings{kanade2020learning,
  title={Learning and Evaluating Contextual Embedding of Source Code},
  author={Kanade, Aditya and Maniatis, Petros and Balakrishnan, Gogul and Shi, Kensen},
  booktitle={International Conference on Machine Learning},
  pages={5110--5121},
  year={2020},
  organization={PMLR}
}

### Contributions

Thanks to [@Bharat123rox](https://github.com/Bharat123rox) for adding this dataset.