Update README.md
Browse files
README.md
CHANGED
|
@@ -18,7 +18,7 @@ model = AutoModelWithLMHead.from_pretrained("dbernsohn/t5_wikisql_SQL2en")
|
|
| 18 |
You can then use this model to translate SQL queries into plain english.
|
| 19 |
|
| 20 |
```python
|
| 21 |
-
query = "SELECT
|
| 22 |
input_text = f"translate SQL to English: {query} </s>"
|
| 23 |
features = tokenizer([input_text], return_tensors='pt')
|
| 24 |
|
|
|
|
| 18 |
You can then use this model to translate SQL queries into plain english.
|
| 19 |
|
| 20 |
```python
|
| 21 |
+
query = "SELECT people FROM peoples where age > 10"
|
| 22 |
input_text = f"translate SQL to English: {query} </s>"
|
| 23 |
features = tokenizer([input_text], return_tensors='pt')
|
| 24 |
|