Title: DecidaBERT-large: v1.1 vs v2
Browse files
README.md
CHANGED
|
@@ -8,10 +8,10 @@ sdk_version: 5.9.1
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: apache-2.0
|
| 11 |
-
short_description: DecidaBERT-large
|
| 12 |
---
|
| 13 |
|
| 14 |
-
# Decida
|
| 15 |
|
| 16 |
A free ZeroGPU demo that runs [DecidaBERT-large-v1.1](https://huggingface.co/helmo/DecidaBERT-large-v1.1) and
|
| 17 |
[DecidaBERT-large-v2](https://huggingface.co/helmo/DecidaBERT-large-v2) side by side: send a **state** and typed
|
|
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: apache-2.0
|
| 11 |
+
short_description: "DecidaBERT-large: v1.1 vs v2, typed decisions in one pass"
|
| 12 |
---
|
| 13 |
|
| 14 |
+
# Decida — DecidaBERT-large: v1.1 vs v2
|
| 15 |
|
| 16 |
A free ZeroGPU demo that runs [DecidaBERT-large-v1.1](https://huggingface.co/helmo/DecidaBERT-large-v1.1) and
|
| 17 |
[DecidaBERT-large-v2](https://huggingface.co/helmo/DecidaBERT-large-v2) side by side: send a **state** and typed
|
app.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
"""DecidaBERT-large
|
| 2 |
|
| 3 |
The same state and typed questions go to both models; each answers every question with a probability distribution
|
| 4 |
in one forward pass of up to 8,192 tokens. Both models share one architecture, so one inference package
|
|
@@ -507,10 +507,10 @@ QUESTION_HELP = """**Question format.** `{"id": {"type": "noul" | "choice" | "sc
|
|
| 507 |
· `score`: criteria a list of levels, lowest first; expected a level number (0 = first) or its text.
|
| 508 |
`expected` is optional; when given, both models are marked ✓ or ✗ against it."""
|
| 509 |
|
| 510 |
-
with gr.Blocks(title="DecidaBERT v1.1 vs v2", css=CSS) as demo:
|
| 511 |
gold_state = gr.State(None)
|
| 512 |
with gr.Column(elem_id="title"):
|
| 513 |
-
gr.Markdown("# DecidaBERT-large
|
| 514 |
gr.Markdown("Two decision models, one forward pass each: send a state and typed questions (`choice`, `score`, `noul`), "
|
| 515 |
"get a probability distribution per question, no generated text. Try a benchmark case with its gold "
|
| 516 |
"answers, a hand-written demo, or your own.", elem_id="subtitle")
|
|
|
|
| 1 |
+
"""DecidaBERT-large: v1.1 vs v2, side by side, free on ZeroGPU.
|
| 2 |
|
| 3 |
The same state and typed questions go to both models; each answers every question with a probability distribution
|
| 4 |
in one forward pass of up to 8,192 tokens. Both models share one architecture, so one inference package
|
|
|
|
| 507 |
· `score`: criteria a list of levels, lowest first; expected a level number (0 = first) or its text.
|
| 508 |
`expected` is optional; when given, both models are marked ✓ or ✗ against it."""
|
| 509 |
|
| 510 |
+
with gr.Blocks(title="DecidaBERT-large: v1.1 vs v2", css=CSS) as demo:
|
| 511 |
gold_state = gr.State(None)
|
| 512 |
with gr.Column(elem_id="title"):
|
| 513 |
+
gr.Markdown("# DecidaBERT-large: v1.1 vs v2")
|
| 514 |
gr.Markdown("Two decision models, one forward pass each: send a state and typed questions (`choice`, `score`, `noul`), "
|
| 515 |
"get a probability distribution per question, no generated text. Try a benchmark case with its gold "
|
| 516 |
"answers, a hand-written demo, or your own.", elem_id="subtitle")
|