JuICe: A Large Scale Distantly Supervised Dataset for Open Domain Context-based Code Generation

By R. Agashe, Srini Iyer, Luke S. Zettlemoyer. 2019

92 citations recorded by the source corpus.

Interactive programming with interleaved code snippet cells and natural language markdown is recently gaining popularity in the form of Jupyter notebooks, which accelerate prototyping and collaboration. To study code generation conditioned on a long context history, we present JuICe, a corpus of 1.5 million examples with a curated test set of 3.7K instances based on online programming assignments. Compared with existing contextual code generation datasets, JuICe provides refined human-curated data, open-domain code, and an order of magnitude more training data. Using JuICe, we train models for two tasks: (1) generation of the API call sequence in a code cell, and (2) full code cell generation, both conditioned on the NL-Code history up to a particular code cell. Experiments using current baseline code generation models show that both context and distant supervision aid in generation, and that the dataset is challenging for current systems.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Natural Language Processing, Code Generation & Program Synthesis

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Graham Neubig
  2. Luke S. Zettlemoyer
  3. Percy Liang
  4. Mohit Bansal
  5. Jianfeng Gao
  6. Caiming Xiong
  7. Hannaneh Hajishirzi
  8. Noah A. Smith

In Computer Vision and Pattern Recognition

  1. Jianfeng Gao
  2. Luc Van Gool
  3. Trevor Darrell
  4. Dacheng Tao
  5. Luke S. Zettlemoyer
  6. Cordelia Schmid
  7. Mohit Bansal
  8. Xiaogang Wang

In Natural Language Processing

  1. Graham Neubig
  2. Luke S. Zettlemoyer
  3. Percy Liang
  4. Caiming Xiong
  5. Mohit Bansal
  6. Jianfeng Gao
  7. Wen-tau Yih
  8. Richard Socher

In Code Generation & Program Synthesis

  1. Graham Neubig
  2. Frank F. Xu
  3. Bogdan Vasilescu
  4. Charles Sutton
  5. Shuyan Zhou
  6. Zhiruo Wang
  7. Koushik Sen
  8. Wen-tau Yih

Citations in the corpus