singhjagpreet commited on
Commit
5937cb0
·
verified ·
1 Parent(s): 0b9771d

add examples

Browse files
Files changed (1) hide show
  1. README.md +13 -57
README.md CHANGED
@@ -1,10 +1,6 @@
1
  ---
2
- license: other
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
- CREATE TABLE stadium (
19
- stadium_id number,
20
- location text,
21
- name text,
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
- CREATE TABLE work_orders ( ID NUMBER, CREATED_AT TEXT, COST FLOAT,
36
- INVOICE_AMOUNT FLOAT, IS_DUE BOOLEAN, IS_OPEN BOOLEAN, IS_OVERDUE BOOLEAN,
37
- COUNTRY_NAME TEXT, )
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
- CREATE TABLE stadium ( stadium_id number, location text, name text, capacity
50
- number, highest number, lowest number, average number )
51
-
52
- CREATE TABLE singer ( singer_id number, name text, country text, song_name
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