safim: by models

Home Doc/Code


std predicted by accuracy

The typical stddev between pairs of models on this dataset as a function of the absolute accuracy.

Differences vs inconsistencies

Here is a more informative figure of the source information used to compute p-value. Any model pair to the right of the parabola is statistically different from each other at the given level. This plot shows a pretty sharp transition since there are no model pairs with a small #A_win + #B_win, which rules out significant results at a small difference in |#A_win-#B_win|. For more explanation see doc.

p-values for model pairs

The null hypothesis is that model A and B each have a 1/2 chance to win whenever they are different, ties are ignored. The p-value is the chance under the null-hypothesis to get a difference as extreme as the one observed. For all pairs of models, the significance level mainly depends on the accuracy difference as shown here. Hover over each model pair for detailed information.

Results table by model

We show 3 methods currently used for evaluating code models, raw accuracy used by benchmarks, average win-rate over all other models (used by BigCode), and Elo (Bradly-Terry coefficients following Chatbot Arena). Average win-rate always have good correlation with Elo. GPT-3.5 gets an ELO of 1000 when available, otherwise the average is 1000. std: standard deviation due to drawing examples from a population, this is the dominant term. std_i: the standard deviation due to drawing samples from the model on each example. std_total: the total standard deviation, satisfying std_total^2 = std^2 + std_i^2.

model pass1 std(E(A)) E(std(A)) std(A) N win_rate elo
deepseek-coder-33b 66.1 0.36 0 0.36 NaN 30.7 1.09e+03
deepseek-coder-6.7b 60.4 0.37 0 0.37 NaN 26.1 1.07e+03
wizardcoder-33b 58.1 0.37 0 0.37 NaN 25.6 1.06e+03
starcoderbase-16b 49.6 0.38 0 0.38 NaN 18.2 1.03e+03
codellama-13b 49.4 0.38 0 0.38 NaN 18.7 1.03e+03
gpt-4-1106-preview 48.8 0.38 0 0.38 NaN 22.9 1.03e+03
deepseek-coder-1.3b 47.9 0.38 0 0.38 NaN 17.4 1.03e+03
wizardcoder-15b 47.2 0.38 0 0.38 NaN 16.9 1.03e+03
codellama-34b 46.4 0.37 0 0.37 NaN 16.9 1.02e+03
codellama-7b 44.1 0.37 0 0.37 NaN 15.7 1.01e+03
mixtral-8x7b 42.2 0.37 0 0.37 NaN 14.6 1.01e+03
wizardcoder-3b 40.7 0.37 0 0.37 NaN 13.2 1e+03
gpt-3.5-turbo-0301 34.7 0.36 0 0.36 NaN 13.6 981
wizardcoder-1b 34.4 0.36 0 0.36 NaN 9.99 981
codegen-16b 30.8 0.35 0 0.35 NaN 7.66 967
codegen-6b 29.1 0.34 0 0.34 NaN 6.97 961
phi-2 29.1 0.34 0 0.34 NaN 6.99 960
codegen-2b 28.2 0.34 0 0.34 NaN 6.67 958
incoder-6b 27 0.33 0 0.33 NaN 8.16 954
phi-1.5 24.4 0.32 0 0.32 NaN 5.44 944
incoder-1b 22.3 0.31 0 0.31 NaN 6.54 937
codegen-350m 21.2 0.31 0 0.31 NaN 4.64 932