region:us
---
dataset_info:
  features:
  - name: instruction
    dtype: string
  - name: input
    dtype: string
  - name: output
    dtype: string
  - name: table
    dtype: string
  splits:
  - name: train
    num_bytes: 46640417
    num_examples: 128351
  - name: eval
    num_bytes: 1756894
    num_examples: 1302
  download_size: 18298063
  dataset_size: 48397311
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
  - split: eval
    path: data/eval-*
---
# Dataset Card for "Llama-2-SQL-and-Code-Dataset"

This dataset is intended to provide LLaMA 2 improved coding and instruction following capabilities, with a specific focus on SQL generation.

The dataset is in Alpaca Instruct format. Please be sure to provide the instruction and input in the prompt to the model, along with any prompt text you would like to place around those inputs.

In the train split, please ignore the table column. The eval split provides example tables so that the actual executable SQL performance can be compared on a number of SQL generation tasks.

To use the tables, they can be loaded as JSON objects and passed to a SQL execution tool such as sqlglot.