Upload folder using huggingface_hub
Browse files- assets/glass-box-agent-demo.mp4 +2 -2
- scripts/build_demo_video.py +21 -21
assets/glass-box-agent-demo.mp4
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7569b5dbb09e950aa649ff713d708cdf7c62f45e658ceb550daa0216522c2176
|
| 3 |
+
size 5656003
|
scripts/build_demo_video.py
CHANGED
|
@@ -48,48 +48,48 @@ SCENES = [
|
|
| 48 |
),
|
| 49 |
Scene(
|
| 50 |
"03-select-node.png",
|
| 51 |
-
"
|
| 52 |
-
"
|
| 53 |
3.5,
|
| 54 |
focus=(0.70, 0.58),
|
| 55 |
zoom=1.14,
|
| 56 |
cursor=(740, 600),
|
| 57 |
),
|
| 58 |
Scene(
|
| 59 |
-
"04-
|
| 60 |
-
"
|
| 61 |
-
"
|
| 62 |
4.0,
|
| 63 |
focus=(0.68, 0.62),
|
| 64 |
zoom=1.16,
|
| 65 |
-
cursor=(
|
| 66 |
),
|
| 67 |
Scene(
|
| 68 |
-
"05-
|
| 69 |
-
"
|
| 70 |
-
"
|
| 71 |
-
|
| 72 |
focus=(0.72, 0.63),
|
| 73 |
zoom=1.12,
|
| 74 |
-
cursor=(
|
| 75 |
),
|
| 76 |
Scene(
|
| 77 |
-
"06-
|
| 78 |
-
"
|
| 79 |
-
"Prefer
|
| 80 |
4.0,
|
| 81 |
-
focus=(0.
|
| 82 |
zoom=1.08,
|
| 83 |
-
cursor=(
|
| 84 |
),
|
| 85 |
Scene(
|
| 86 |
-
"07-
|
| 87 |
"Export training data",
|
| 88 |
-
"
|
| 89 |
3.5,
|
| 90 |
-
focus=(0.
|
| 91 |
zoom=1.08,
|
| 92 |
-
cursor=(
|
| 93 |
),
|
| 94 |
Scene(
|
| 95 |
"08-dataset.png",
|
|
@@ -214,7 +214,7 @@ def scene_frames(scene: Scene, scene_index: int) -> Iterable[Image.Image]:
|
|
| 214 |
|
| 215 |
def main() -> None:
|
| 216 |
OUT.parent.mkdir(parents=True, exist_ok=True)
|
| 217 |
-
with imageio.get_writer(OUT, fps=FPS, codec="libx264", quality=
|
| 218 |
for scene_index, scene in enumerate(SCENES):
|
| 219 |
frames = list(scene_frames(scene, scene_index))
|
| 220 |
if scene_index == 0:
|
|
|
|
| 48 |
),
|
| 49 |
Scene(
|
| 50 |
"03-select-node.png",
|
| 51 |
+
"Click a node",
|
| 52 |
+
"The selected trace node drives the action bar, inspector, table, and training data.",
|
| 53 |
3.5,
|
| 54 |
focus=(0.70, 0.58),
|
| 55 |
zoom=1.14,
|
| 56 |
cursor=(740, 600),
|
| 57 |
),
|
| 58 |
Scene(
|
| 59 |
+
"04-retry-toolbar.png",
|
| 60 |
+
"Retry from here",
|
| 61 |
+
"Press Retry and the app adds real server-backed trace nodes, not a visual-only draft.",
|
| 62 |
4.0,
|
| 63 |
focus=(0.68, 0.62),
|
| 64 |
zoom=1.16,
|
| 65 |
+
cursor=(600, 290),
|
| 66 |
),
|
| 67 |
Scene(
|
| 68 |
+
"05-mark-weak.png",
|
| 69 |
+
"Label the mistake",
|
| 70 |
+
"Mark weak or useful directly on the trace; labels persist into exported artifacts.",
|
| 71 |
+
3.5,
|
| 72 |
focus=(0.72, 0.63),
|
| 73 |
zoom=1.12,
|
| 74 |
+
cursor=(705, 290),
|
| 75 |
),
|
| 76 |
Scene(
|
| 77 |
+
"06-prefer.png",
|
| 78 |
+
"Prefer the better branch",
|
| 79 |
+
"The Prefer button turns the selected branch into a DPO/RL preference pair.",
|
| 80 |
4.0,
|
| 81 |
+
focus=(0.66, 0.64),
|
| 82 |
zoom=1.08,
|
| 83 |
+
cursor=(795, 290),
|
| 84 |
),
|
| 85 |
Scene(
|
| 86 |
+
"07-training-panel.png",
|
| 87 |
"Export training data",
|
| 88 |
+
"Open Training signal to inspect or export the collected prompt/chosen/rejected pairs.",
|
| 89 |
3.5,
|
| 90 |
+
focus=(0.30, 0.62),
|
| 91 |
zoom=1.08,
|
| 92 |
+
cursor=(210, 600),
|
| 93 |
),
|
| 94 |
Scene(
|
| 95 |
"08-dataset.png",
|
|
|
|
| 214 |
|
| 215 |
def main() -> None:
|
| 216 |
OUT.parent.mkdir(parents=True, exist_ok=True)
|
| 217 |
+
with imageio.get_writer(OUT, fps=FPS, codec="libx264", quality=6, macro_block_size=16) as writer:
|
| 218 |
for scene_index, scene in enumerate(SCENES):
|
| 219 |
frames = list(scene_frames(scene, scene_index))
|
| 220 |
if scene_index == 0:
|