Spaces:
Running
Running
Document private bucket storage for the deployed chart
Browse files
README.md
CHANGED
|
@@ -36,9 +36,18 @@ Generate the chart snapshot from the leaderboard's v3 cache before starting the
|
|
| 36 |
python build_progress.py /path/to/swarmchat-leaderboard-v3.json --source-repo scratch/v8-history.git
|
| 37 |
```
|
| 38 |
|
| 39 |
-
The generated data stays in `scratch/progress.json` and is never committed.
|
| 40 |
-
|
| 41 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
It uses the leaderboard's length-penalised percentage metric and latest successful
|
| 43 |
1,000-prompt run per revision, with all three SmolLM baselines. The contiguous outage
|
| 44 |
plateau from November 7, 2026, 12:12:47 through 13:15:11 UTC (commit times) is omitted;
|
|
|
|
| 36 |
python build_progress.py /path/to/swarmchat-leaderboard-v3.json --source-repo scratch/v8-history.git
|
| 37 |
```
|
| 38 |
|
| 39 |
+
The generated data stays in `scratch/progress.json` and is never committed. In the
|
| 40 |
+
hosted Space, the private `HuggingFaceSwarms/pybot-chart` bucket is mounted read-only
|
| 41 |
+
at `/home/user/app/scratch`, supplying `progress.json` across rebuilds and restarts.
|
| 42 |
+
To publish a regenerated snapshot, activate the local environment and run:
|
| 43 |
+
|
| 44 |
+
```sh
|
| 45 |
+
hf buckets cp scratch/progress.json hf://buckets/HuggingFaceSwarms/pybot-chart/progress.json
|
| 46 |
+
```
|
| 47 |
+
|
| 48 |
+
The bucket mount is configured in the Space settings, separately from Git. Preserve
|
| 49 |
+
it when changing volumes, and recreate it when duplicating the Space. No Hub token
|
| 50 |
+
is needed by the app. The chart shows an unavailable message if the snapshot is absent.
|
| 51 |
It uses the leaderboard's length-penalised percentage metric and latest successful
|
| 52 |
1,000-prompt run per revision, with all three SmolLM baselines. The contiguous outage
|
| 53 |
plateau from November 7, 2026, 12:12:47 through 13:15:11 UTC (commit times) is omitted;
|