Contrastive Code Representation Learning

9 Jul 2020Paras JainAjay JainTianjun ZhangPieter AbbeelJoseph E. GonzalezIon Stoica

Machine-aided programming tools such as type predictors and code summarizers are increasingly learning-based. However, most code representation learning approaches rely on supervised learning with task-specific annotated datasets... (read more)

PDF Abstract
TASK DATASET MODEL METRIC NAME METRIC VALUE GLOBAL RANK RESULT BENCHMARK
Code Summarization CodeSearchNet ContraCode F1 17.24 # 1
Method name prediction CodeSearchNet ContraCode F1 17.24 # 1
Type prediction DeepTyper ContraCode [email protected] 84.60 # 1

Methods used in the Paper