Spaces:
Running
Running
deploy parry
Browse files- BADGES.md +14 -0
- app.py +8 -0
- static/assets/main-gooejseS.js +0 -0
- static/index.html +1 -1
BADGES.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# 🎖️ Parry — badge evidence, one click each
|
| 2 |
+
|
| 3 |
+
*(Duplicated from README.md so it can't be missed: this file, the README table,
|
| 4 |
+
the in-game "✦ artifacts" links, and the `about` Gradio API all carry the same
|
| 5 |
+
links.)*
|
| 6 |
+
|
| 7 |
+
| Badge | Evidence |
|
| 8 |
+
|---|---|
|
| 9 |
+
| 🔌 **Off the Grid** | All inference runs in YOUR browser: Tactician + imagination on WebGPU (WebLLM), the tuned Analyst on llama.cpp/WASM. `GET /healthz` → `"inference": "in-browser"` — pull your Wi-Fi out mid-match. |
|
| 10 |
+
| 🎯 **Well-Tuned** | The published fine-tune **runs inside this app** as the Analyst. [parry-tactician-1.5b-merged](https://huggingface.co/Jainamshahhh/parry-tactician-1.5b-merged) — model card has the recipe, the six-generation eval arc (including the failed gates), the CFG γ-sweep table, and `evals/` with all 18 raw report JSONs. Adapter: [-lora](https://huggingface.co/Jainamshahhh/parry-tactician-1.5b-lora). |
|
| 11 |
+
| 🦙 **Llama Champion** | [parry-tactician-1.5b-gguf](https://huggingface.co/Jainamshahhh/parry-tactician-1.5b-gguf) (Q4_K_M) runs through **llama.cpp's WASM runtime (wllama)** in-browser. Watch for "✦ tuned analyst (llama.cpp)" in the HUD meta line. |
|
| 12 |
+
| 🎨 **Off-Brand** | The custom pixel-dojo canvas, served by `gr.Server` — Gradio's engine at `/`, the `trace_digest` endpoint through Gradio's queue. |
|
| 13 |
+
| 📡 **Sharing is Caring** | [parry-traces](https://huggingface.co/datasets/Jainamshahhh/parry-traces) — decision-by-decision agent traces with full provenance, replayable against the deterministic engine. Export your own: **B → Export trace**. |
|
| 14 |
+
| 📓 **Field Notes** | [The full build report](https://huggingface.co/datasets/Jainamshahhh/parry-field-notes) — six model generations, three honestly-failed pre-registered gates, the engine-physics bug a playtest found, classifier-free guidance for game policies, and the pose-mode saga. |
|
app.py
CHANGED
|
@@ -101,6 +101,14 @@ def _about() -> dict:
|
|
| 101 |
"fallback": "none — inference is 100% in-browser by design",
|
| 102 |
"tuned_model": "Jainamshahhh/parry-tactician-1.5b-lora (published fine-tune)",
|
| 103 |
"thesis": "a sub-100ms reaction loop no network round-trip can serve",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 104 |
}
|
| 105 |
|
| 106 |
|
|
|
|
| 101 |
"fallback": "none — inference is 100% in-browser by design",
|
| 102 |
"tuned_model": "Jainamshahhh/parry-tactician-1.5b-lora (published fine-tune)",
|
| 103 |
"thesis": "a sub-100ms reaction loop no network round-trip can serve",
|
| 104 |
+
"artifacts": {
|
| 105 |
+
"fine_tune_merged": "https://huggingface.co/Jainamshahhh/parry-tactician-1.5b-merged",
|
| 106 |
+
"fine_tune_lora": "https://huggingface.co/Jainamshahhh/parry-tactician-1.5b-lora",
|
| 107 |
+
"gguf_llama_cpp": "https://huggingface.co/Jainamshahhh/parry-tactician-1.5b-gguf",
|
| 108 |
+
"field_notes": "https://huggingface.co/datasets/Jainamshahhh/parry-field-notes",
|
| 109 |
+
"agent_traces": "https://huggingface.co/datasets/Jainamshahhh/parry-traces",
|
| 110 |
+
"badge_evidence": "see README.md / BADGES.md in this Space repo",
|
| 111 |
+
},
|
| 112 |
}
|
| 113 |
|
| 114 |
|
static/assets/main-gooejseS.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
static/index.html
CHANGED
|
@@ -13,7 +13,7 @@
|
|
| 13 |
canvas { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
|
| 14 |
#hud { position: absolute; inset: 0; pointer-events: none; }
|
| 15 |
</style>
|
| 16 |
-
<script type="module" crossorigin src="./assets/main-
|
| 17 |
<link rel="modulepreload" crossorigin href="./assets/action_set-C6mnKwO1.js">
|
| 18 |
<link rel="modulepreload" crossorigin href="./assets/engine-DIUq88up.js">
|
| 19 |
<link rel="modulepreload" crossorigin href="./assets/index-K8o-xskJ.js">
|
|
|
|
| 13 |
canvas { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
|
| 14 |
#hud { position: absolute; inset: 0; pointer-events: none; }
|
| 15 |
</style>
|
| 16 |
+
<script type="module" crossorigin src="./assets/main-gooejseS.js"></script>
|
| 17 |
<link rel="modulepreload" crossorigin href="./assets/action_set-C6mnKwO1.js">
|
| 18 |
<link rel="modulepreload" crossorigin href="./assets/engine-DIUq88up.js">
|
| 19 |
<link rel="modulepreload" crossorigin href="./assets/index-K8o-xskJ.js">
|