Training and Evaluating a Jupyter Notebook Data Science Assistant

By Shubham Chandel, Colin B. Clement, Guillermo Serrato, Neel Sundaresan. 2022

56 citations recorded by the source corpus.

We study the feasibility of a Data Science assistant powered by a sequence-to-sequence transformer by training a new model JuPyT5 on all publicly available Jupyter Notebook GitHub repositories and developing a new metric: Data Science Problems (DSP). DSP is a collection of 1119 problems curated from 306 pedagogical notebooks with 92 dataset dependencies, natural language and Markdown problem descriptions, and assert-based unit tests. These notebooks were designed to test university students' mastery of various Python implementations of Math and Data Science, and we now leverage them to study the ability of JuPyT5 to understand and pass the tests. We analyze the content of DSP, validate its quality, and we find that given 100 sampling attempts JuPyT5 is able to solve 77.5\% of the DSP problems. We further present various ablation and statistical analyses and compare DSP to other recent natural language to code benchmarks.

Subfields: Artificial Intelligence, Information Systems, Statistics and Probability, Code Generation & Program Synthesis, Human-Computer Interaction

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. Jianfeng Gao
  4. Mohit Bansal
  5. Nan Duan
  6. Percy Liang
  7. Caiming Xiong
  8. Yejin Choi

In Information Systems

  1. Graham Neubig
  2. Luke S. Zettlemoyer
  3. Nan Duan
  4. Shuyan Zhou
  5. Zhiruo Wang
  6. Daniel Fried
  7. Henryk Michalewski
  8. Charles Sutton

In Statistics and Probability

  1. Graham Neubig
  2. Jianfeng Gao
  3. Luke S. Zettlemoyer
  4. Shafiq R. Joty
  5. Charles Sutton
  6. Jipeng Zhang

In Code Generation & Program Synthesis

  1. Graham Neubig
  2. Shuyan Zhou
  3. Zhiruo Wang
  4. Charles Sutton
  5. Pengcheng Yin
  6. Daniel Fried
  7. Colin B. Clement
  8. Kensen Shi

In Human-Computer Interaction

  1. Jianfeng Gao

Citations in the corpus