Commit
·
620c22d
1
Parent(s):
6afd4d6
Update README.md
Browse files
README.md
CHANGED
|
@@ -8,7 +8,7 @@ widget:
|
|
| 8 |
- text: "English to SQL: What is the current series where the new series began in June 2011?"
|
| 9 |
---
|
| 10 |
#import transformers
|
| 11 |
-
|
| 12 |
from transformers import (
|
| 13 |
T5ForConditionalGeneration,
|
| 14 |
T5Tokenizer,
|
|
@@ -44,4 +44,4 @@ def get_sql(query,tokenizer,model):
|
|
| 44 |
query="Show me the average age of of wines in Italy by provinces"
|
| 45 |
sql = get_sql(query,tokenizer,model)
|
| 46 |
print(sql)
|
| 47 |
-
|
|
|
|
| 8 |
- text: "English to SQL: What is the current series where the new series began in June 2011?"
|
| 9 |
---
|
| 10 |
#import transformers
|
| 11 |
+
```
|
| 12 |
from transformers import (
|
| 13 |
T5ForConditionalGeneration,
|
| 14 |
T5Tokenizer,
|
|
|
|
| 44 |
query="Show me the average age of of wines in Italy by provinces"
|
| 45 |
sql = get_sql(query,tokenizer,model)
|
| 46 |
print(sql)
|
| 47 |
+
```
|