text2sql-sql-bleu / index.html
AzizHamad
Update docs to SoftALL namespace
f3d3c95
raw
history blame contribute delete
763 Bytes
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>text2sql-sql-bleu</title>
<style>
body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial; max-width:900px; margin:40px auto; padding:0 16px; line-height:1.5;}
pre{background:#f6f8fa; padding:16px; border-radius:10px; overflow:auto;}
code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;}
</style>
</head>
<body>
<h2>Hugging Face Evaluate metric wrapper for SQL BLEU (SQL).</h2>
<p><b>Usage:</b></p>
<pre><code>import evaluate
m = evaluate.load("SoftALL/text2sql-sql-bleu")
print(m.compute(predictions=["select 1"], references=["select 1"]))</code></pre>
</body>
</html>