Model: support-pvelocity/Code-Llama-2-7B-instruct-text2sql-GPTQ
Author: support-pvelocity
Pipeline: text-generation
Library: transformers
Tags: transformers, llama, text-generation, en, license:llama2, endpoints_compatible, region:us
Card metadata: license: llama2
language: en
pipeline_tag: text-generation
widget: text: 
 Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE head (age INTEGER) Question: How many heads of the departments are older than 56 ? 
 Here is the SQLite query to answer to the question: How many heads of the departments are older than 56 ?: ```
example_title: Example 1, text: 
 Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE people (first_name VARCHAR) Question: List the first names of people in alphabetical order? 
 Here is the SQLite query to answer to the question: List the first names of people in alphabetical order?: ```
example_title: Example 2, text: 
 Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE weather (zip_code VARCHAR, mean_sea_level_pressure_inches INTEGER) Question: What is the zip code in which the average mean sea level pressure is the lowest? 
 Here is the SQLite query to answer to the question: What is the zip code in which the average mean sea level pressure is the lowest?: ```
example_title: Example 3, text: 
 Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE weather (date VARCHAR, mean_temperature_f VARCHAR, mean_humidity VARCHAR, max_gust_speed_mph VARCHAR) Question: What are the date, mean temperature and mean humidity for the top 3 days with the largest max gust speeds? 
 Here is the SQLite query to answer to the question: What are the date, mean temperature and mean humidity for the top 3 days with the largest max gust speeds?: ```
example_title: Example 4, text: 
 Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE trip (end_station_id VARCHAR); CREATE TABLE station (id VARCHAR, city VARCHAR) Question: Count the number of trips that did not end in San Francisco city. 
 Here is the SQLite query to answer to the question: Count the number of trips that did not end in San Francisco city.: ```
example_title: Example 5
Likes: 0 | All-time downloads: 623
Created: 2023-10-25 16:52:53