Spaces:
Running
Running
Download src/miniwebagent/__init__.py from sparklabuofu/MiniWeb-demo: direct link, hf CLI and curl.
- Browser
- Download file 989 Bytes
-
https://huggingface.co/spaces/sparklabuofu/MiniWeb-demo/resolve/main/src/miniwebagent/__init__.py
- Command line
-
hf download hf://spaces/sparklabuofu/MiniWeb-demo/src/miniwebagent/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/sparklabuofu/MiniWeb-demo/resolve/main/src/miniwebagent/__init__.py
989 Bytes
| """WebMix on MiniWeb: family LoRA adapters trained on replayed datagen trajectories. | |
| Design: Claude Doc "WebMix on MiniWeb — ported architecture". Every arm (zero-shot base, pooled, | |
| family adapters, planner) runs the same browser-use harness (`miniwebagent.harness`); training rows are | |
| browser-use's own prompts, recorded by replaying kept datagen trajectories through that harness with | |
| a scripted model (`miniwebgen.replay`), so the prompt format matches the eval by construction. | |
| """ | |
| import os as _os | |
| from pathlib import Path as _Path | |
| # Replayed training rows. Cycle 4 (2026-09-30: pointer-only sliders, retired datagen trajectories, | |
| # recovery / chain augmentations) starts a fresh set; data/webmix/replay holds cycle 3's. | |
| # WEBMIX_REPLAY_DIR points the replay, the training and the planner at another set. | |
| REPLAY_DIR = _Path(_os.environ.get("WEBMIX_REPLAY_DIR", | |
| _Path(__file__).resolve().parents[2] / "data" / "webmix" / "replay_v4")).resolve() | |