9x25dillon
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -24,6 +24,16 @@ result = sql_engine.generate(
|
|
24 |
precision="float32",
|
25 |
use_gpu=True
|
26 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
|
28 |
print(result.sql_query)
|
29 |
# OUTPUT:
|
|
|
24 |
precision="float32",
|
25 |
use_gpu=True
|
26 |
)
|
27 |
+
```yaml
|
28 |
+
# metrics.yaml
|
29 |
+
task: text2sql
|
30 |
+
dataset: Spider
|
31 |
+
metrics:
|
32 |
+
- name: Execution Accuracy
|
33 |
+
value: 82.1%
|
34 |
+
- name: Latency
|
35 |
+
value: 320ms
|
36 |
+
```
|
37 |
|
38 |
print(result.sql_query)
|
39 |
# OUTPUT:
|