Update README.md
#2
by
pgzmnk
- opened
README.md
CHANGED
|
@@ -11,8 +11,8 @@ widget:
|
|
| 11 |
from typing import List
|
| 12 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
| 13 |
|
| 14 |
-
tokenizer = AutoTokenizer.from_pretrained("juierror/
|
| 15 |
-
model = AutoModelForSeq2SeqLM.from_pretrained("juierror/
|
| 16 |
|
| 17 |
def prepare_input(question: str, table: List[str]):
|
| 18 |
table_prefix = "table:"
|
|
|
|
| 11 |
from typing import List
|
| 12 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
| 13 |
|
| 14 |
+
tokenizer = AutoTokenizer.from_pretrained("juierror/flan-t5-text2sql-with-schema")
|
| 15 |
+
model = AutoModelForSeq2SeqLM.from_pretrained("juierror/flan-t5-text2sql-with-schema")
|
| 16 |
|
| 17 |
def prepare_input(question: str, table: List[str]):
|
| 18 |
table_prefix = "table:"
|