inference_api
stringclasses
1 value
model_name
stringlengths
12
56
prompt_format
stringclasses
13 values
custom_prompt
stringclasses
4 values
timestamp
stringclasses
13 values
easy_count
int64
5
5
easy_execution_accuracy
float64
0
0.8
medium_count
int64
14
14
medium_execution_accuracy
float64
0
0.93
hard_count
int64
6
6
hard_execution_accuracy
float64
0
0.5
duckdb_count
int64
48
48
duckdb_execution_accuracy
float64
0
0.77
ddl_count
int64
2
2
ddl_execution_accuracy
float64
0
1
all_count
int64
75
75
all_execution_accuracy
float64
0
0.73
openrouter
qwen/qwen-2.5-72b-instruct
duckdbinst
2024-10-25T19:49:45.219766
5
0.6
14
0.785714
6
0.166667
48
0.104167
2
1
75
0.293333
openrouter
qwen/qwen-2.5-72b-instruct
duckdbinstgraniteshort
2024-10-25T19:57:44.353714
5
0.6
14
0.857143
6
0.166667
48
0.604167
2
1
75
0.626667
openrouter
motherduckdb/duckdb-nsql-7b
duckdbinst
2024-10-25T13:56:52.185852
5
0.6
14
0.571
6
0.333
48
0.562
2
0.5
75
0.547
openrouter
meta-llama/Meta-Llama-3-8B-Instruct
duckdbinst
2024-10-25T13:56:52.185852
5
0.6
14
0.714
6
0
48
0.167
2
1
75
0.307
openrouter
meta-llama/llama-3-70b-instruct
duckdbinst
2024-10-25T13:56:52.185852
5
0.6
14
0.929
6
0
48
0.271
2
0.5
75
0.4
openrouter
meta-llama/Meta-Llama-3.1-70B
duckdbinst
2024-10-25T13:56:52.185852
5
0.4
14
0.786
6
0
48
0.438
2
1
75
0.48
openrouter
meta-llama/CodeLlama-7b-Instruct-hf
duckdbinst
2024-10-25T13:56:52.185852
5
0.4
14
0.286
6
0.167
48
0.104
2
0.5
75
0.173
openrouter
meta-llama/CodeLlama-13b-Instruct-hf
duckdbinst
2024-10-25T13:56:52.185852
5
0.8
14
0.429
6
0.167
48
0.271
2
1
75
0.347
openrouter
meta-llama/CodeLlama-34b-Instruct-hf
duckdbinst
2024-10-25T13:56:52.185852
5
0.6
14
0.571
6
0.167
48
0.333
2
0.5
75
0.387
openrouter
meta-llama/CodeLlama-70b-Instruct-hf
duckdbinst
2024-10-25T13:56:52.185852
5
0.6
14
0.714
6
0.5
48
0.375
2
1
75
0.48
openrouter
mattshumer/reflection-70b
duckdbinstgraniteshort
2024-10-25T13:56:52.185852
5
0.6
14
0.5
6
0.333
48
0.312
2
0.5
75
0.373
openrouter
phind/phind-codellama-34b
duckdbinst
2024-10-25T13:56:52.185852
5
0.6
14
0.857
6
0.167
48
0.375
2
1
75
0.48
openrouter
deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct
duckdbinst
2024-10-25T13:56:52.185852
5
0.2
14
0.357
6
0.167
48
0.312
2
1
75
0.32
openrouter
deepseek/deepseek-coder-V2-Instruct-236B
duckdbinst
2024-10-25T13:56:52.185852
5
0.8
14
0.786
6
0.167
48
0.542
2
1
75
0.587
openrouter
mistralai/mamba-codestral-7B-v0.1
duckdbinst
2024-10-25T13:56:52.185852
5
0.6
14
0.786
6
0.167
48
0.458
2
1
75
0.52
openrouter
mistralai/Codestral-22B-v0.1
duckdbinst
2024-10-25T13:56:52.185852
5
0.6
14
0.714
6
0.333
48
0.5
2
1
75
0.547
openrouter
bigcode/starcoder2-15b
duckdbinst
2024-10-25T13:56:52.185852
5
0
14
0
6
0
48
0
2
0
75
0
openrouter
bigcode/starcoder2-15b
duckdbinstgraniteshort
2024-10-25T13:56:52.185852
5
0.2
14
0.571
6
0
48
0.083
2
1
75
0.2
openrouter
microsoft/Phi-3-mini-128k-instruct-finetune
duckdbinstphiazure
2024-10-25T13:56:52.185852
5
0.4
14
0.214
6
0
48
0.25
2
1
75
0.253
openrouter
microsoft/Phi-3-mini-128k-instruct
duckdbinstphi
2024-10-25T13:56:52.185852
5
0.6
14
0.643
6
0.167
48
0.396
2
1
75
0.453
openrouter
microsoft/Phi-3-medium-128k-instruct-finetune
duckdbinstphiazure
2024-10-25T13:56:52.185852
5
0.6
14
0.643
6
0.333
48
0.5
2
0.5
75
0.52
openrouter
microsoft/Phi-3-medium-128k-instruct
duckdbinstphi
2024-10-25T13:56:52.185852
5
0.8
14
0.714
6
0.333
48
0.354
2
1
75
0.467
openrouter
google/gemma-2-27b-it
duckdbinstgraniteshort
2024-10-25T13:56:52.185852
5
0.6
14
0.786
6
0.167
48
0.5
2
1
75
0.547
openrouter
google/gemma-2
duckdbinstgraniteshort
2024-10-25T13:56:52.185852
5
0.6
14
0.214
6
0.167
48
0.188
2
0.5
75
0.227
openrouter
google/codegemma-1.1-2b
duckdbinst
2024-10-25T13:56:52.185852
5
0
14
0.357
6
0.167
48
0.042
2
0.5
75
0.12
openrouter
google/codegemma-1.1-2b
duckdbinstgraniteshort
2024-10-25T13:56:52.185852
5
0.2
14
0.214
6
0
48
0.083
2
0.5
75
0.12
openrouter
google/codegemma-1.1-7b-it
duckdbinst
2024-10-25T13:56:52.185852
5
0.6
14
0.643
6
0.167
48
0.333
2
1
75
0.413
openrouter
google/codegemma-1.1-7b-it
duckdbinstgraniteshort
2024-10-25T13:56:52.185852
5
0.8
14
0.643
6
0.167
48
0.479
2
1
75
0.52
openrouter
google/codegemma-1.1-7b
duckdbinstgraniteshort
2024-10-25T13:56:52.185852
5
0.6
14
0.5
6
0
48
0.021
2
0
75
0.147
openrouter
ibm-granite/granite-3b-code-instruct
duckdbinst
2024-10-25T13:56:52.185852
5
0.8
14
0.429
6
0.167
48
0.271
2
1
75
0.347
openrouter
ibm-granite/granite-3b-code-base
duckdbinstgraniteshort
2024-10-25T13:56:52.185852
5
0.8
14
0.429
6
0
48
0.333
2
1
75
0.373
openrouter
ibm-granite/granite-3b-code-base
duckdbinstgranite
2024-10-25T13:56:52.185852
5
0.6
14
0.429
6
0
48
0.292
2
1
75
0.333
openrouter
meta-llama/Meta-Llama-3.1-8B
duckdbinst
2024-10-25T13:56:52.185852
5
0.6
14
0.5
6
0
48
0.292
2
1
75
0.347
openrouter
meta-llama/Meta-Llama-3.1-8B
duckdbinstllamashort
2024-10-25T13:56:52.185852
5
0.6
14
0.643
6
0.333
48
0.333
2
0.5
75
0.413
openrouter
meta-llama/Meta-Llama-3.1-8B-Base
duckdbinstllamashort
2024-10-25T13:56:52.185852
5
0.6
14
0.5
6
0
48
0.208
2
1
75
0.293
openrouter
meta-llama/Meta-Llama-3.1-8B-Base-finetune3-checkpoint-0
duckdbinstllamasyntax
2024-10-25T13:56:52.185852
5
0.6
14
0.571
6
0
48
0.521
2
1
75
0.507
openrouter
meta-llama/Meta-Llama-3.1-8B-Base-finetune3-checkpoint-1
duckdbinstllamasyntax
2024-10-25T13:56:52.185852
5
0.2
14
0.643
6
0.167
48
0.542
2
0.5
75
0.507
openrouter
meta-llama/Meta-Llama-3.1-8B-Base-finetune3-checkpoint-2
duckdbinstllamasyntax
2024-10-25T13:56:52.185852
5
0.2
14
0.714
6
0.167
48
0.479
2
1
75
0.493
openrouter
meta-llama/Meta-Llama-3.1-8B-Base-finetune2-checkpoint-0
duckdbinstllamabasic
2024-10-25T13:56:52.185852
5
0.4
14
0.571
6
0
48
0.479
2
1
75
0.467
openrouter
meta-llama/Meta-Llama-3.1-8B-Base-finetune2-checkpoint-1
duckdbinstllamabasic
2024-10-25T13:56:52.185852
5
0.4
14
0.714
6
0
48
0.521
2
0.5
75
0.507
openrouter
meta-llama/Meta-Llama-3.1-8B-Base-finetune2-checkpoint-2
duckdbinstllamabasic
2024-10-25T13:56:52.185852
5
0.4
14
0.571
6
0.167
48
0.438
2
1
75
0.453
openrouter
meta-llama/Meta-Llama-3.1-8B-Base-finetune2-checkpoint-0
duckdbinstllamasyntax
2024-10-25T13:56:52.185852
5
0.6
14
0.429
6
0
48
0.521
2
1
75
0.48
openrouter
meta-llama/Meta-Llama-3.1-8B-Base-finetune2-checkpoint-1
duckdbinstllamasyntax
2024-10-25T13:56:52.185852
5
0.6
14
0.643
6
0
48
0.583
2
1
75
0.56
openrouter
meta-llama/Meta-Llama-3.1-8B-Base-finetune2-checkpoint-2
duckdbinstllamasyntax
2024-10-25T13:56:52.185852
5
0.6
14
0.643
6
0.167
48
0.542
2
1
75
0.547
openrouter
meta-llama/Meta-Llama-3.1-8B-Base
duckdbinst
2024-10-25T13:56:52.185852
5
0.2
14
0.357
6
0.167
48
0.188
2
0.5
75
0.227
openrouter
meta-llama/Meta-Llama-3.1-8B-Base
duckdbinstllamashort
2024-10-25T13:56:52.185852
5
0.6
14
0.571
6
0.167
48
0.229
2
0.5
75
0.36
openrouter
meta-llama/Meta-Llama-3.1-8B-Base
duckdbinstllama
2024-10-25T13:56:52.185852
5
0.6
14
0.643
6
0
48
0.271
2
1
75
0.36
openrouter
ibm-granite/granite-8b-code-instruct
duckdbinst
2024-10-25T13:56:52.185852
5
0.6
14
0.714
6
0
48
0.333
2
1
75
0.413
openrouter
ibm-granite/granite-8b-code-instruct
duckdbinstgraniteshort
2024-10-25T13:56:52.185852
5
0.8
14
0.643
6
0
48
0.333
2
1
75
0.413
openrouter
ibm-granite/granite-8b-code-instruct
duckdbinstgranite
2024-10-25T13:56:52.185852
5
0.8
14
0.571
6
0
48
0.417
2
1
75
0.453
openrouter
ibm-granite/granite-8b-code-base
duckdbinstgraniteshort
2024-10-25T13:56:52.185852
5
0.8
14
0.643
6
0
48
0.333
2
1
75
0.413
openrouter
ibm-granite/granite-8b-code-base
duckdbinstgranite
2024-10-25T13:56:52.185852
5
0.6
14
0.643
6
0.167
48
0.396
2
1
75
0.453
openrouter
ibm-granite/granite-20b-code-instruct-finetune-0
duckdbinstgranite
2024-10-25T13:56:52.185852
5
0.4
14
0.643
6
0
48
0.562
2
0.5
75
0.52
openrouter
ibm-granite/granite-20b-code-instruct-finetune-0
duckdbinstgraniteshort
2024-10-25T13:56:52.185852
5
0.6
14
0.5
6
0.167
48
0.562
2
0.5
75
0.52
openrouter
ibm-granite/granite-20b-code-instruct-finetune-1
duckdbinstgranite
2024-10-25T13:56:52.185852
5
0.6
14
0.5
6
0
48
0.542
2
0.5
75
0.493
openrouter
ibm-granite/granite-20b-code-instruct-finetune-1
duckdbinstgraniteshort
2024-10-25T13:56:52.185852
5
0.6
14
0.571
6
0
48
0.604
2
0.5
75
0.547
openrouter
ibm-granite/granite-20b-code-instruct-finetune-2
duckdbinstgranite
2024-10-25T13:56:52.185852
5
0.2
14
0.5
6
0
48
0.542
2
1
75
0.48
openrouter
ibm-granite/granite-20b-code-instruct-finetune-2
duckdbinstgraniteshort
2024-10-25T13:56:52.185852
5
0.4
14
0.643
6
0.167
48
0.583
2
0.5
75
0.547
openrouter
ibm-granite/granite-20b-code-instruct
duckdbinst
2024-10-25T13:56:52.185852
5
0.2
14
0.571
6
0.167
48
0.417
2
1
75
0.427
openrouter
ibm-granite/granite-20b-code-instruct
duckdbinstgraniteshort
2024-10-25T13:56:52.185852
5
0.8
14
0.643
6
0.167
48
0.396
2
1
75
0.467
openrouter
ibm-granite/granite-20b-code-base
duckdbinstgraniteshort
2024-10-25T13:56:52.185852
5
0.6
14
0.786
6
0.333
48
0.438
2
1
75
0.52
openrouter
ibm-granite/granite-20b-code-base
duckdbinstgranite
2024-10-25T13:56:52.185852
5
0.6
14
0.571
6
0.167
48
0.292
2
1
75
0.373
openrouter
ibm-granite/granite-34b-code-instruct
duckdbinst
2024-10-25T13:56:52.185852
5
0.2
14
0.571
6
0.167
48
0.333
2
0.5
75
0.36
openrouter
nvidia/nemotron-4-340b-instruct
duckdbinst
2024-10-25T13:56:52.185852
5
0.4
14
0.786
6
0
48
0.354
2
1
75
0.427
openrouter
Qwen/Qwen2.5-Coder-1.5B-Instruct
duckdbinstgraniteshort
2024-10-25T13:56:52.185852
5
0.6
14
0.5
6
0.167
48
0.25
2
1
75
0.333
openrouter
Qwen/Qwen2.5-Coder-7B
duckdbinst
2024-10-25T13:56:52.185852
5
0.8
14
0.786
6
0.5
48
0.354
2
1
75
0.493
openrouter
Qwen/Qwen2.5-Coder-7B
duckdbinstgraniteshort
2024-10-25T13:56:52.185852
5
0.8
14
0.786
6
0.333
48
0.521
2
1
75
0.587
openrouter
Qwen/Qwen2.5-Coder-7B-Instruct
duckdbinstgraniteshort
2024-10-25T13:56:52.185852
5
0.8
14
0.857
6
0.333
48
0.479
2
1
75
0.573
openrouter
qwen/qwen-2.5-72b-instruct
duckdbinst
2024-10-25T13:56:52.185852
5
0.6
14
0.786
6
0.167
48
0.146
2
1
75
0.32
openrouter
qwen/qwen-2.5-72b-instruct
duckdbinstgraniteshort
2024-10-25T13:56:52.185852
5
0.6
14
0.786
6
0.167
48
0.625
2
1
75
0.627
openrouter
meta-llama/Meta-Llama-3.1-405B
duckdbinst
2024-10-25T13:56:52.185852
5
0.6
14
0.714
6
0.167
48
0.583
2
1
75
0.587
openrouter
meta-llama/Meta-Llama-3.1-405B
duckdbinstgraniteshort
2024-10-25T13:56:52.185852
5
0.6
14
0.714
6
0.167
48
0.583
2
1
75
0.587
openrouter
google/gemini-1.5-pro
duckdbinstgraniteshort
2024-10-25T13:56:52.185852
5
0.6
14
0.786
6
0
48
0.542
2
1
75
0.56
openrouter
anthropic/claude-3.5-sonnet
duckdbinstgraniteshort
2024-10-25T13:56:52.185852
5
0.6
14
0.714
6
0.167
48
0.646
2
1
75
0.627
openrouter
anthropic/claude-3.5-sonnet
duckdbinst
2024-10-25T13:56:52.185852
5
0.6
14
0.643
6
0.333
48
0.646
2
1
75
0.627
openrouter
openai/gpt-4o
duckdbinst
2024-10-25T13:56:52.185852
5
0.6
14
0.857
6
0.333
48
0.562
2
1
75
0.613
openrouter
openai/o1-preview
duckdbinstgraniteshort
2024-10-25T13:56:52.185852
5
0.6
14
0.643
6
0.5
48
0.75
2
1
75
0.707
openrouter
openai/o1-preview
duckdbinst
2024-10-25T13:56:52.185852
5
0.6
14
0.714
6
0.5
48
0.667
2
1
75
0.667
openrouter
openai/o1-mini
duckdbinst
2024-10-25T13:56:52.185852
5
0.6
14
0.714
6
0.333
48
0.521
2
1
75
0.56
openrouter
openai/gpt-4o-2024-08-06
duckdbinst
2024-10-25T13:56:52.185852
5
0.6
14
0.857
6
0.333
48
0.583
2
1
75
0.627
openrouter
openai/gpt-4o-2024-08-06
duckdbinstgraniteshort
2024-10-25T13:56:52.185852
5
0.6
14
0.857
6
0.167
48
0.625
2
1
75
0.64
openrouter
openai/gpt-4o-mini-2024-07-18
duckdbinstgraniteshort
2024-10-25T13:56:52.185852
5
0.6
14
0.929
6
0.333
48
0.5
2
1
75
0.587
openrouter
openai/gpt-4o-mini-2024-07-18
duckdbinstgptmini
2024-10-25T13:56:52.185852
5
0.6
14
0.857
6
0.333
48
0.562
2
1
75
0.613
openrouter
openai/gpt-4
duckdbinst
2024-10-25T13:56:52.185852
5
0.8
14
0.786
6
0.167
48
0.479
2
1
75
0.547
openrouter
openai/gpt-4--1106-preview
duckdbinst
2024-10-25T13:56:52.185852
5
0.6
14
0.643
6
0.167
48
0.5
2
1
75
0.52
openrouter
google/palm-2-codechat-bison-32k
duckdbinst
2024-10-25T13:56:52.185852
5
0.6
14
0.5
6
0.167
48
0.292
2
1
75
0.36
openrouter
mistralai/mistral-large-2
duckdbinst
2024-10-25T13:56:52.185852
5
0.6
14
0.857
6
0
48
0.479
2
1
75
0.533
openrouter
mistralai/mixtral-8x22b-instruct
duckdbinst
2024-10-25T13:56:52.185852
5
0.6
14
0.786
6
0.167
48
0.333
2
1
75
0.44
openrouter
mistralai/mixtral-8x7b-instruct
duckdbinst
2024-10-25T13:56:52.185852
5
0.6
14
0.214
6
0.167
48
0.167
2
1
75
0.227
openrouter
meta-llama/llama-3.2-3b-instruct:free
duckdbinstgraniteshort
2024-10-25T19:38:52.788031
5
0.4
14
0.357143
6
0
48
0.270833
2
1
75
0.293333
openrouter
nvidia/llama-3.1-nemotron-70b-instruct
duckdbinstgraniteshort
2024-11-02T02:47:52.524310
5
0.6
14
0.642857
6
0
48
0.541667
2
1
75
0.533333
openrouter
anthropic/claude-3.5-sonnet
custom_32428570
### Instruction: Your task is to generate valid duckdb SQL to answer the following question, given a duckdb database schema. Here is the database schema that the SQL query will run on: {schema} ### Question: {question} ### Response (use duckdb shorthand if possible): ```sql
2024-10-27T22:55:01.139181
5
0.6
14
0.785714
6
0.333333
48
0.625
2
1
75
0.64
openrouter
anthropic/claude-3.5-sonnet
custom_32428570
### Instruction: Your task is to generate valid duckdb SQL to answer the following question, given a duckdb database schema. Here is the database schema that the SQL query will run on: {schema} ### Question: {question} ### Response (use duckdb shorthand if possible): ```sql
2024-10-27T22:56:53.164026
5
0.6
14
0.785714
6
0.333333
48
0.625
2
1
75
0.64
openrouter
anthropic/claude-3.5-sonnet
duckdbinstgraniteshort
2024-10-27T23:04:39.561642
5
0.6
14
0.714286
6
0.166667
48
0.729167
2
1
75
0.68
openrouter
qwen/qwen-2.5-coder-32b-instruct
duckdbinstgraniteshort
2024-11-12T04:18:20.511844
5
0.8
14
0.857143
6
0.166667
48
0.604167
2
1
75
0.64
openrouter
qwen/qwen-2.5-coder-32b-instruct
custom_85307618
Generate a valid DuckDB SQL query to accurately answer the user's question. Only respond with the SQL code. DuckDB SQL Specifics: Identifiers and Literals: Use double quotes (") for identifiers (tables, columns) with spaces or special characters, and single quotes (') for string literals. Direct File Querying: DuckDB supports querying directly from CSV, Parquet, and JSON files, e.g., SELECT * FROM 'data.csv'; CTAS: Supports CREATE TABLE AS (CTAS) syntax, e.g., CREATE TABLE new_table AS SELECT * FROM old_table; FROM Clauses: Queries can start with FROM, omitting SELECT * (e.g., FROM my_table WHERE condition;). Expression Evaluation: Use SELECT without FROM to generate expressions or single results, e.g., SELECT 1 + 1;. Multiple Database Support: Attach databases using ATTACH and refer with dot notation, e.g., ATTACH 'db.duckdb' AS mydb; then mydb.table_name. Implicit Type Conversion: DuckDB allows implicit type conversions, or make them explicit with :: (e.g., '42'::INTEGER + 1;). String and Array Slicing: Use [start:end] or [start:end:step] for slicing (strings, arrays), with 1-based indexes. Patterned Column Selection: Select columns with patterns, e.g., SELECT COLUMNS('sales_.*') FROM sales_data;. Exclusion/Inclusion with Wildcards: Exclude/include or transform columns with SELECT * EXCLUDE (col); and SELECT * REPLACE (col AS new_col);. Grouping/Ordering: GROUP BY ALL or ORDER BY ALL to group/order by non-aggregated columns. Union by Column Name: Combine tables by matching column names, e.g., table1 UNION BY NAME table2;. Complex Types: Support for List, Struct, Map, and Array types with intuitive syntax ([1, 2, 3] AS my_list;). Field Access: Access struct fields with dot notation, and maps with brackets. Date and Timestamp Conversion: strftime(NOW(), '%Y-%m-%d'); for the current date, and strptime('YYYY-MM-DD', '%Y-%m-%d')::TIMESTAMP; for string-to-timestamp. Alias Usage: Column aliases in the WHERE, GROUP BY, and HAVING clauses, e.g., SELECT a + b AS total FROM my_table WHERE total > 10 GROUP BY total;. List Comprehensions: Generate lists with expressions, e.g., SELECT [x*2 FOR x IN [1, 2, 3]];. Function Chaining: Chain functions with . (dot operator), e.g., SELECT 'DuckDB'.replace('Duck', 'Goose');. JSON Handling: Use -> and ->> for JSON fields, e.g., data->'$.user.id' AS user_id;. Regex Functions: regexp_matches(), regexp_replace(), and regexp_extract() are supported. Data Sampling: Retrieve a data subset with USING SAMPLE, e.g., SELECT * FROM large_table USING SAMPLE 10%;. Database Schema: {schema} Question: {question} ```
2024-11-12T04:40:38.781499
5
0.6
14
0.857143
6
0.166667
48
0.583333
2
1
75
0.613333

No dataset card yet

New: Create and edit this dataset card directly on the website!

Contribute a Dataset Card
Downloads last month
131
Add dataset card

Spaces using duckdb-nsql-hub/duckdb-nsql-scores 2