Add files using upload-large-folder tool
Browse files
README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- polca
|
| 5 |
+
- loss-landscape
|
| 6 |
+
- curvature
|
| 7 |
+
- beetle
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# POLCA curvature artifacts — `beetle-bilingual-l2-50-sequential-33-67-b3-fineweb-100m-nld-eng`
|
| 11 |
+
|
| 12 |
+
Per-checkpoint loss-landscape data extracted during training by
|
| 13 |
+
`beetlelm/src/training/polca_extractor.py`. **These are not model weights** — the trained
|
| 14 |
+
checkpoints for this run are on the model repo `Beetle-FineWeb-100M/beetle-bilingual-l2-50-sequential-33-67-b3-fineweb-100m-nld-eng` as `step-<N>` branches.
|
| 15 |
+
|
| 16 |
+
One file per checkpoint, `step_<N>.pt` (torch, ~28 GB each):
|
| 17 |
+
|
| 18 |
+
| key | shape | meaning |
|
| 19 |
+
|---|---|---|
|
| 20 |
+
| `grad_basis` | `[8, n_params]` f32 | gradient-subspace basis |
|
| 21 |
+
| `grad_singvals` | `[8]` f32 | corresponding singular values |
|
| 22 |
+
| `hess_eigvecs` | `[32, n_params]` f32 | top Hessian eigenvectors |
|
| 23 |
+
| `hess_eigvals` | `[32]` f32 | corresponding eigenvalues |
|
| 24 |
+
| `param_names`, `param_shapes`, `param_count` | | flat-vector layout for the rows above |
|
| 25 |
+
| `spec`, `schema_version` | | extractor configuration |
|
| 26 |
+
|
| 27 |
+
Steps present: 0, 1
|
| 28 |
+
|
| 29 |
+
```python
|
| 30 |
+
import torch
|
| 31 |
+
d = torch.load("step_0.pt", map_location="cpu", weights_only=False, mmap=True)
|
| 32 |
+
d["hess_eigvals"] # [32]
|
| 33 |
+
d["hess_eigvecs"][0] # top eigenvector, flat over param_names/param_shapes
|
| 34 |
+
```
|
step_0.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ebb755fccdf6a07531d0542599787866c997b7130da0179a81e75d55952ea565
|
| 3 |
+
size 31008654075
|
step_1.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc76177dee2ef3dbabd98ad3380ee9fd52c7409577c3db5a600f2e4f6b95c375
|
| 3 |
+
size 31008654075
|