add examples
Browse files
README.md
CHANGED
|
@@ -1,10 +1,6 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
| 3 |
library_name: transformers
|
| 4 |
-
tags:
|
| 5 |
-
- trl
|
| 6 |
-
- sft
|
| 7 |
-
- generated_from_trainer
|
| 8 |
base_model: google/gemma-2b
|
| 9 |
model-index:
|
| 10 |
- name: gemma-2b_text_to_sql
|
|
@@ -15,60 +11,20 @@ inference:
|
|
| 15 |
max_length: 200
|
| 16 |
widget:
|
| 17 |
- text: >-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
capacity number,
|
| 23 |
-
)
|
| 24 |
-
|
| 25 |
-
-- Using valid SQLite, answer the following questions for the tables
|
| 26 |
-
provided above.
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
-- how many stadiums in total?
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
SELECT
|
| 33 |
-
example_title: Number stadiums
|
| 34 |
- text: >-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
-- Using valid SQLite, answer the following questions for the tables
|
| 40 |
-
provided above.
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
-- how many work orders are open?
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
SELECT
|
| 47 |
-
example_title: Open work orders
|
| 48 |
- text: >-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
text, song_release_year text, age number, is_male others )
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
CREATE TABLE concert ( concert_id number, concert_name text, theme text,
|
| 57 |
-
stadium_id text, year text )
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
CREATE TABLE singer_in_concert ( concert_id number, singer_id text )
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
-- Using valid SQLite, answer the following questions for the tables
|
| 64 |
-
provided above.
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
-- What is the maximum, the average, and the minimum capacity of stadiums ?
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
SELECT
|
| 71 |
-
example_title: Stadium capacity
|
| 72 |
pipeline_tag: text2text-generation
|
| 73 |
---
|
| 74 |
|
|
|
|
| 1 |
---
|
| 2 |
+
license: gemma
|
| 3 |
library_name: transformers
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
base_model: google/gemma-2b
|
| 5 |
model-index:
|
| 6 |
- name: gemma-2b_text_to_sql
|
|
|
|
| 11 |
max_length: 200
|
| 12 |
widget:
|
| 13 |
- text: >-
|
| 14 |
+
Question: What is the average number of working horses of farms with greater than 45 total number of horses?
|
| 15 |
+
Context: CREATE TABLE farm (Working_Horses INTEGER, Total_Horses INTEGER)"""
|
| 16 |
+
|
| 17 |
+
example_title: Average horses
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
- text: >-
|
| 19 |
+
Question:What are the names of the heads who are born outside the California state?
|
| 20 |
+
Context: CREATE TABLE head (name VARCHAR, born_state VARCHAR)
|
| 21 |
+
|
| 22 |
+
example_title: Name of Head
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
- text: >-
|
| 24 |
+
Question: List official names of cities in descending order of population.
|
| 25 |
+
Context: CREATE TABLE city (Official_Name VARCHAR, Population VARCHAR)
|
| 26 |
+
|
| 27 |
+
example_title: Name of Cities
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
pipeline_tag: text2text-generation
|
| 29 |
---
|
| 30 |
|