Update README.md
Browse files
README.md
CHANGED
@@ -7,10 +7,17 @@ language:
|
|
7 |
pipeline_tag: text-generation
|
8 |
|
9 |
widget:
|
10 |
-
- text: "
|
11 |
-
example_title: "
|
12 |
-
- text: "
|
13 |
-
example_title: "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
---
|
15 |
# **Code-Llama-2-13B-instruct-text2sql Model Card**
|
16 |
|
|
|
7 |
pipeline_tag: text-generation
|
8 |
|
9 |
widget:
|
10 |
+
- text: "[INST] 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 ? [/INST] Here is the SQLite query to answer to the question: How many heads of the departments are older than 56 ?: ```"
|
11 |
+
example_title: "Example 1"
|
12 |
+
- text: "[INST] 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? [/INST] Here is the SQLite query to answer to the question: List the first names of people in alphabetical order?: ```"
|
13 |
+
example_title: "Example 2"
|
14 |
+
- text: "[INST] 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? [/INST] 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?: ```"
|
15 |
+
example_title: "Example 3"
|
16 |
+
- text: "[INST] 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? [/INST] 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?: ``` SELECT date, mean_temperature_f, mean_humidity FROM weather ORDER BY max_gust_speed_mph DESC LIMIT 3 ```"
|
17 |
+
example_title: "Example 4"
|
18 |
+
- text: "[INST] 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. [/INST] Here is the SQLite query to answer to the question: Count the number of trips that did not end in San Francisco city.: ```"
|
19 |
+
example_title: "Example 5"
|
20 |
+
|
21 |
---
|
22 |
# **Code-Llama-2-13B-instruct-text2sql Model Card**
|
23 |
|