suriya7 commited on
Commit
c4af904
1 Parent(s): db6cde6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +8 -8
README.md CHANGED
@@ -6,18 +6,20 @@ inference:
6
  max_new_tokens: 100
7
  do_sample: false
8
  widget:
 
9
  - text: >-
10
- translate English to SQL: Show all employees with salary greater than $50000
11
- - text: >-
12
- translate English to SQL: How many models were finetuned using BERT as base model?
13
- - text: >-
14
- translate English to SQL: how many cars are in blue color
15
  datasets:
16
  - b-mc2/sql-create-context
17
  language:
18
  - en
19
  tags:
20
  - code
 
 
 
21
  ---
22
  # T5-SQL-Translator
23
 
@@ -60,6 +62,4 @@ def translate_to_sql_select(english_query):
60
  english_query = "Show all employees with salary greater than $50000"
61
  sql_query = translate_to_sql_select(english_query)
62
  print("SQL Query:", sql_query)
63
- ```
64
-
65
-
 
6
  max_new_tokens: 100
7
  do_sample: false
8
  widget:
9
+ - text: 'translate English to SQL: Show all employees with salary greater than $50000'
10
  - text: >-
11
+ translate English to SQL: How many models were finetuned using BERT as base
12
+ model?
13
+ - text: 'translate English to SQL: how many cars are in blue color'
 
 
14
  datasets:
15
  - b-mc2/sql-create-context
16
  language:
17
  - en
18
  tags:
19
  - code
20
+ metrics:
21
+ - bleu
22
+ 34.962700
23
  ---
24
  # T5-SQL-Translator
25
 
 
62
  english_query = "Show all employees with salary greater than $50000"
63
  sql_query = translate_to_sql_select(english_query)
64
  print("SQL Query:", sql_query)
65
+ ```