Update README.md
Browse files
README.md
CHANGED
|
@@ -29,7 +29,7 @@ def inference(question: str, table: List[str]) -> str:
|
|
| 29 |
result = tokenizer.decode(token_ids=outputs[0], skip_special_tokens=True)
|
| 30 |
return result
|
| 31 |
|
| 32 |
-
print(inference(question="get
|
| 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)
|
|
|
|
| 29 |
result = tokenizer.decode(token_ids=outputs[0], skip_special_tokens=True)
|
| 30 |
return result
|
| 31 |
|
| 32 |
+
print(inference(question="get xml id from json cdr table", json_cdr=["id", "extensions", "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)
|