Update README.md
Browse files
README.md
CHANGED
@@ -6,6 +6,7 @@ widget:
|
|
6 |
- text: 'question: get people name with age equal 25 table: id, name, age'
|
7 |
license: apache-2.0
|
8 |
---
|
|
|
9 |
|
10 |
# How to use
|
11 |
```python
|
@@ -31,8 +32,4 @@ def inference(question: str, table: List[str]) -> str:
|
|
31 |
return result
|
32 |
|
33 |
print(inference(question="get people name with age equal 25", table=["id", "name", "age"]))
|
34 |
-
```
|
35 |
-
|
36 |
-
PS. From this [discussion](https://huggingface.co/juierror/flan-t5-text2sql-with-schema/discussions/5), I think the base model that I use for finetune did not support the token `<`, so this might not be a good model to do this tasks.
|
37 |
-
|
38 |
-
However, you might consider to use work around method from [vonjack](https://huggingface.co/juierror/flan-t5-text2sql-with-schema/discussions/5#64743e462a74fb43ccec0a69).
|
|
|
6 |
- text: 'question: get people name with age equal 25 table: id, name, age'
|
7 |
license: apache-2.0
|
8 |
---
|
9 |
+
There are an upgraded version that support multiple tables and support "<" sign [here](https://huggingface.co/juierror/flan-t5-text2sql-with-schema-v2).
|
10 |
|
11 |
# How to use
|
12 |
```python
|
|
|
32 |
return result
|
33 |
|
34 |
print(inference(question="get people name with age equal 25", table=["id", "name", "age"]))
|
35 |
+
```
|
|
|
|
|
|
|
|