piqa: 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
Mixtral-8x22B-v0.1 85.4 0.82 0 0.82 NaN 8.43 1.02e+03
dbrx-base 85.4 0.82 0 0.82 NaN 9.06 1.02e+03
Meta-Llama-3-70B 84.4 0.85 0 0.85 NaN 7.55 1.02e+03
Qwen1.5-110B 84.3 0.85 0 0.85 NaN 7.52 1.02e+03
Mixtral-8x7B-v0.1 83.7 0.86 0 0.86 NaN 6.96 1.01e+03
deepseek-llm-67b-base 83.1 0.87 0 0.87 NaN 6.63 1.01e+03
falcon-40b 83.1 0.87 0 0.87 NaN 6.67 1.01e+03
Mistral-7B-v0.1 82.8 0.88 0 0.88 NaN 6.49 1.01e+03
Qwen1.5-32B 82.7 0.88 0 0.88 NaN 6.62 1.01e+03
Qwen1.5-72B 82.7 0.88 0 0.88 NaN 6.44 1.01e+03
llama_65B 82.6 0.88 0 0.88 NaN 6.28 1.01e+03
llama_33B 82.2 0.89 0 0.89 NaN 6.06 1.01e+03
mpt-30b 81.2 0.91 0 0.91 NaN 5.77 1.01e+03
Meta-Llama-3-8B 81.1 0.91 0 0.91 NaN 5.67 1e+03
gemma-7b 81.1 0.91 0 0.91 NaN 5.79 1e+03
llama2_70B 80.8 0.92 0 0.92 NaN 6.6 1e+03
falcon-7b 80.6 0.92 0 0.92 NaN 5.25 1e+03
deepseek-moe-16b-base 80 0.93 0 0.93 NaN 5.2 1e+03
stablelm-base-alpha-7b-v2 80 0.93 0 0.93 NaN 5.28 1e+03
Qwen1.5-14B 79.9 0.93 0 0.93 NaN 5.49 1e+03
llama_13B 79.9 0.93 0 0.93 NaN 5.09 1e+03
stablelm-3b-4e1t 79.8 0.94 0 0.94 NaN 4.94 1e+03
llama2_13B 79.7 0.94 0 0.94 NaN 6.13 1e+03
llama_07B 79.5 0.94 0 0.94 NaN 4.67 1e+03
Qwen1.5-7B 79.4 0.94 0 0.94 NaN 5.23 999
deepseek-llm-7b-base 79.4 0.94 0 0.94 NaN 4.57 999
gemma-2b 78.2 0.96 0 0.96 NaN 4.5 995
Qwen1.5-4B 77.3 0.98 0 0.98 NaN 4.37 992
pythia-12b-deduped-v0 77 0.98 0 0.98 NaN 4.07 991
llama2_07B 76.9 0.98 0 0.98 NaN 5.58 990
pythia-6.9b-deduped-v0 76.1 0.99 0 0.99 NaN 3.88 988
Qwen1.5-1.8B 74.4 1 0 1 NaN 3.99 982
pythia-2.8b-deduped 73.7 1 0 1 NaN 3.52 979
pythia-1b-deduped 70.1 1.1 0 1.1 NaN 2.92 967
pythia-1.4b-deduped-v0 69.6 1.1 0 1.1 NaN 3.94 965
Qwen1.5-0.5B 69.5 1.1 0 1.1 NaN 3.38 964