Spaces:
Running
Running
Update UI
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ with st.form("form"):
|
|
47 |
model_name = st.selectbox("Model", ["distilgpt2", "gpt2", "EleutherAI/gpt-neo-125m"])
|
48 |
metric_name = st.selectbox("Metric", ["KL divergence", "Cross entropy"], index=1)
|
49 |
|
50 |
-
window_len = st.select_slider("Window size", options=[8, 16, 32, 64, 128, 256, 512, 1024], value=512)
|
51 |
text = st.text_area(
|
52 |
"Input text",
|
53 |
"The complex houses married and single soldiers and their families.",
|
|
|
47 |
model_name = st.selectbox("Model", ["distilgpt2", "gpt2", "EleutherAI/gpt-neo-125m"])
|
48 |
metric_name = st.selectbox("Metric", ["KL divergence", "Cross entropy"], index=1)
|
49 |
|
50 |
+
window_len = st.select_slider(r"Window size ($c_\text{max}$)", options=[8, 16, 32, 64, 128, 256, 512, 1024], value=512)
|
51 |
text = st.text_area(
|
52 |
"Input text",
|
53 |
"The complex houses married and single soldiers and their families.",
|