Spaces:
Sleeping
Sleeping
Commit ·
0509812
1
Parent(s): d2703b6
auto update
Browse files
app.py
CHANGED
|
@@ -84,8 +84,8 @@ def compute_entropy(code: str):
|
|
| 84 |
def build_app():
|
| 85 |
with gr.Blocks(title="Entropy for Source Code", theme=gr.themes.Soft()) as demo:
|
| 86 |
gr.Markdown(
|
| 87 |
-
"""
|
| 88 |
-
# Source Code Entropy (
|
| 89 |
|
| 90 |
Paste code below to compute token-level negative log-likelihood (NLL).
|
| 91 |
The table shows each token's NLL and probability under the model.
|
|
|
|
| 84 |
def build_app():
|
| 85 |
with gr.Blocks(title="Entropy for Source Code", theme=gr.themes.Soft()) as demo:
|
| 86 |
gr.Markdown(
|
| 87 |
+
f"""
|
| 88 |
+
# Source Code Entropy ({MODEL_ID})
|
| 89 |
|
| 90 |
Paste code below to compute token-level negative log-likelihood (NLL).
|
| 91 |
The table shows each token's NLL and probability under the model.
|