Skip to main content

CodeSearchNet Baselines

Interactive examples of run data from GitHub CodeSearchNet examples
Created on September 26|Last edited on September 26

Query and Code Retrieval Examples




Examples-Test-java
Input
Output (Rank)
Query
Code
github-baseline-rnn
github-baseline-selfattn
github-baseline-1dcnn
github-baseline-nbow
No rows found
Loading...

These tables show example inputs and outputs for the baseline CodeSearchNet model. The input is a tuple of size 2: (Query, Code). The output is the model's predicted rank. The goal is to give the model a query and get out the correct code snippet. A perfect model would return the correct code snippet at a rank of 1. In the table we show the predicted rank across all baseline runs.

Examples-FuncNameTest-python
Input
Output (Rank)
Query
Code
github-baseline-rnn
github-baseline-selfattn
github-baseline-1dcnn
github-baseline-nbow
No rows found
Loading...
Baseline Runs
4