You're looking at a specific version of this model. Jump to the model overview.

nateraw /sqlcoder-70b-alpha:d6cd1065

Input

*string
Shift + Return to add a new line

The question to answer with a SQL query.

*string
Shift + Return to add a new line

The database schema to use when generating the SQL query.

integer

The maximum number of tokens the model should generate as output.

Default: 512

number

The value used to modulate the next token probabilities.

Default: 0.7

boolean

Whether or not to use sampling; otherwise use greedy decoding.

Default: true

number

A probability threshold for generating the output. If < 1.0, only keep the top tokens with cumulative probability >= top_p (nucleus filtering). Nucleus filtering is described in Holtzman et al. (http://arxiv.org/abs/1904.09751).

Default: 0.95

integer

The number of highest probability tokens to consider for generating the output. If > 0, only keep the top k tokens with highest probability (top-k filtering).

Default: 50

string
Shift + Return to add a new line

The template used to format the prompt before passing it to the model. For no template, you can set this to `{prompt}`.

Default: "### Task\nGenerate a SQL query to answer [QUESTION]{question}[/QUESTION]\n\n### Instructions\n- If you cannot answer the question with the available database schema, return 'I do not know'\n\n### Database Schema\nThe query will run on a database with the following schema:\n{table_metadata}\n\n### Answer\nGiven the database schema, here is the SQL query that answers [QUESTION]{question}[/QUESTION]\n[SQL]\n"

Output

No output yet! Press "Submit" to start a prediction.