Spaces:
Running
Running
AzizHamad
commited on
Commit
·
f3d3c95
1
Parent(s):
3c9d9a7
Update docs to SoftALL namespace
Browse files- README.md +1 -1
- index.html +1 -1
README.md
CHANGED
|
@@ -13,5 +13,5 @@ Usage:
|
|
| 13 |
|
| 14 |
```python
|
| 15 |
import evaluate
|
| 16 |
-
m = evaluate.load("
|
| 17 |
print(m.compute(predictions=["select 1"], references=["select 2"]))
|
|
|
|
| 13 |
|
| 14 |
```python
|
| 15 |
import evaluate
|
| 16 |
+
m = evaluate.load("SoftALL/text2sql-sql-bleu")
|
| 17 |
print(m.compute(predictions=["select 1"], references=["select 2"]))
|
index.html
CHANGED
|
@@ -14,7 +14,7 @@
|
|
| 14 |
<h2>Hugging Face Evaluate metric wrapper for SQL BLEU (SQL).</h2>
|
| 15 |
<p><b>Usage:</b></p>
|
| 16 |
<pre><code>import evaluate
|
| 17 |
-
m = evaluate.load("
|
| 18 |
print(m.compute(predictions=["select 1"], references=["select 1"]))</code></pre>
|
| 19 |
</body>
|
| 20 |
</html>
|
|
|
|
| 14 |
<h2>Hugging Face Evaluate metric wrapper for SQL BLEU (SQL).</h2>
|
| 15 |
<p><b>Usage:</b></p>
|
| 16 |
<pre><code>import evaluate
|
| 17 |
+
m = evaluate.load("SoftALL/text2sql-sql-bleu")
|
| 18 |
print(m.compute(predictions=["select 1"], references=["select 1"]))</code></pre>
|
| 19 |
</body>
|
| 20 |
</html>
|