Update README.md
Browse files
README.md
CHANGED
@@ -3,9 +3,22 @@ license: apache-2.0
|
|
3 |
language:
|
4 |
- en
|
5 |
pipeline_tag: text2text-generation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
---
|
7 |
|
8 |
-
A text2sql T5 model, finetuned from Flan-t5-base.
|
|
|
|
|
9 |
|
10 |
## Inference Example:
|
11 |
|
|
|
3 |
language:
|
4 |
- en
|
5 |
pipeline_tag: text2text-generation
|
6 |
+
library_name: transformers
|
7 |
+
tags:
|
8 |
+
- text-generation-inference
|
9 |
+
widget:
|
10 |
+
- text: >
|
11 |
+
"Given a SQL table named 'price_data' with the following columns:"
|
12 |
+
"Transaction_ID, Platform, Product_ID, User_ID, Transaction_Amount"
|
13 |
+
"Construct a SQL query to answer the following question:"
|
14 |
+
"Q: How many rows are there"
|
15 |
+
|
16 |
+
example_title: "How many rows are there?"
|
17 |
---
|
18 |
|
19 |
+
A text2sql T5 model, finetuned from Flan-t5-base. Code: [Link](https://github.com/kevinng77/chat-table-t5/blob/master/prompt.py)
|
20 |
+
A further finetuning will significantly increase the performance of Flan-t5 model on Text-to-SQL tasks.
|
21 |
+
|
22 |
|
23 |
## Inference Example:
|
24 |
|