Update README.md
Browse files
README.md
CHANGED
@@ -5,6 +5,7 @@ datasets:
|
|
5 |
widget:
|
6 |
- text: "question: get people name with age equal 25 table: id, name, age"
|
7 |
---
|
|
|
8 |
|
9 |
# How to use
|
10 |
```python
|
@@ -30,6 +31,4 @@ def inference(question: str, table: List[str]) -> str:
|
|
30 |
return result
|
31 |
|
32 |
print(inference(question="get people name with age equal 25", table=["id", "name", "age"]))
|
33 |
-
```
|
34 |
-
|
35 |
-
There are newer version of this using Flan-T5 as a based model. You can check out [here](https://huggingface.co/juierror/flan-t5-text2sql-with-schema-v2)
|
|
|
5 |
widget:
|
6 |
- text: "question: get people name with age equal 25 table: id, name, age"
|
7 |
---
|
8 |
+
There are an upgraded version that support multiple tables and support "<" sign using Flan-T5 as a based model [here](https://huggingface.co/juierror/flan-t5-text2sql-with-schema-v2).
|
9 |
|
10 |
# How to use
|
11 |
```python
|
|
|
31 |
return result
|
32 |
|
33 |
print(inference(question="get people name with age equal 25", table=["id", "name", "age"]))
|
34 |
+
```
|
|
|
|