|
<!doctype html> |
|
<html lang="en"> |
|
<head> |
|
<meta charset="utf-8" /> |
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
|
<title>DuckDB NSQL Leaderboard</title> |
|
<script src="https://cdn.tailwindcss.com"></script> |
|
</head> |
|
<body class="flex min-h-screen items-center justify-center bg-yellow-100"> |
|
<div class="w-full max-w-4xl overflow-hidden rounded-2xl shadow-2xl"> |
|
<header class="bg-yellow-200 px-3 py-4 text-center sm:px-4 sm:py-6 sm:text-left"> |
|
<h1 class="mb-2 text-3xl font-extrabold text-gray-800 sm:mb-3 sm:text-4xl">DuckDB NSQL Scores</h1> |
|
<p class="text-lg text-gray-700"> |
|
Performance of Models on |
|
<a href="https://github.com/NumbersStationAI/DuckDB-NSQL" target="_blank" class="text-blue-600 underline hover:text-blue-800" |
|
>DuckDB NSQL Eval</a |
|
> |
|
</p> |
|
</header> |
|
<iframe |
|
src="https://huggingface.co/datasets/sql-console/duckdb-nsql-scores/embed/sql-console/default/test?sql_console=true&sql=WITH+RankedModels+AS+%28%0A++++SELECT+%0A++++++++model_name+AS+model%2C+%0A++++++++prompt_format+AS+prompt%2C+%0A++++++++ROUND%28all_execution_accuracy%2C+2%29+AS+execution_accuracy%2C+%0A++++++++BAR%28all_execution_accuracy%2C+0%2C+1%2C+60%29+AS+score%2C%0A++++++++ROW_NUMBER%28%29+OVER+%28PARTITION+BY+model_name%2C+prompt_format+ORDER+BY+all_execution_accuracy+DESC%29+AS+rn%0A++++FROM+%0A++++++++test%0A%29%0ASELECT+model%2C+prompt%2C+execution_accuracy%2C+score%0AFROM+RankedModels%0AWHERE+rn+%3D+1%0AORDER+BY+execution_accuracy+DESC%3B&views%5B%5D=test" |
|
frameborder="0" |
|
width="100%" |
|
height="560px"> |
|
</iframe> |
|
</div> |
|
</body> |
|
</html> |
|
|