|
import streamlit as st |
|
import pandas as pd |
|
data = { |
|
'Model': ['code-davinci-edit-001', 'gpt-3.5-turbo', 'code-davinci-002'] , |
|
'0-shot pass@1': [12.18, 13.43, 6.29], |
|
'0-shot pass@5': [28.86, 24.62, 19.8], |
|
'0-shot pass@100': [54.12, 42.14, 45.91], |
|
'1-shot pass@1': [4.73, 16.22, 3.92], |
|
'1-shot pass@5': [12.75, 31.93, 14.34], |
|
'1-shot pass@100': [30.24, 56.93, 40.09], |
|
} |
|
|
|
df = pd.DataFrame(data) |
|
st.header('NL2Fix Leaderboard') |
|
|
|
data = df.sort_values(by='Model').reset_index(drop=True) |
|
|
|
st.table(data) |
|
st.metric(label="gpt-3.5-turbo 1-shot pass@100", value="56.93", delta="16.84%") |