Add 3 run(s) from code b1b75c4
Browse files- resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0
- resnet18_normal_w1.0_f1.0_e1_s0
- teacher_normal_w1.0_f0.01_e30_s0
Files changed (14)
- README.mdAdded+21
- index.jsonAdded+82
- resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0/README.mdAdded+43
- resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0/config.jsonAdded+48
- resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0/metrics.jsonAdded+16
- resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0/weights.ptAdded+3
- resnet18_normal_w1.0_f1.0_e1_s0/README.mdAdded+42
- resnet18_normal_w1.0_f1.0_e1_s0/config.jsonAdded+48
- resnet18_normal_w1.0_f1.0_e1_s0/metrics.jsonAdded+16
- resnet18_normal_w1.0_f1.0_e1_s0/weights.ptAdded+3
- teacher_normal_w1.0_f0.01_e30_s0/README.mdAdded+42
- teacher_normal_w1.0_f0.01_e30_s0/config.jsonAdded+48
- teacher_normal_w1.0_f0.01_e30_s0/metrics.jsonAdded+14
- teacher_normal_w1.0_f0.01_e30_s0/weights.ptAdded+3
123456789101112131415161718192021---library_name: pytorchdatasets:- cifar100tags:- knowledge-distillation- robustness- cifar-100-c---
# Does Robustness Transfer? Trained weights
A frozen DINOv2 ViT-B/14 teacher (+ linear head) distilled into two ~11M-parameter CIFAR-100 students (CIFAR ResNet-18, small ViT), plus from-scratch baselines and trend-line models. Each folder is one training run; its README says exactly what it is and which code commit produced it.
Download: `python push_weights.py pull --repo robust-distillation/weights-example-test [--run NAME]` from the project code.
| Run | Model | Mode | α | T | Seed | Test acc | C-100-C mean | Commit ||---|---|---|---|---|---|---|---|---|| [`resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0`](resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0) | CIFAR ResNet-18 w1.0 f1.0 e1 | distill | 0.5 | 4.0 | 0 | 1.35% | – | `b1b75c4` || [`resnet18_normal_w1.0_f1.0_e1_s0`](resnet18_normal_w1.0_f1.0_e1_s0) | CIFAR ResNet-18 w1.0 f1.0 e1 | normal | – | – | 0 | 1.28% | – | `b1b75c4` || [`teacher_normal_w1.0_f0.01_e30_s0`](teacher_normal_w1.0_f0.01_e30_s0) | DINOv2 ViT-B/14 teacher w1.0 f0.01 e30 | normal | – | – | 0 | – | – | `b1b75c4` |12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182{ "runs": { "resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0": { "T": 4.0, "alpha": 0.5, "arch": "resnet18", "cifar100c_mean": null, "created": "2026-11-18T22:05:11+00:00", "data_frac": 1.0, "depth": null, "epochs": 1, "extra_mean": null, "git_commit": "b1b75c4db3b916d3d8b0ef84f649562122c11f0e", "git_dirty": false, "mode": "distill", "params": 11220132, "run_name": "resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0", "seed": 0, "split_sha256": "79d6f47b45a89433eb73b112ad6c0a0128f8a6a740683440f4efc89f9c31ba39", "teacher_run": "teacher_normal_w1.0_f0.01_e30_s0", "test_acc": 0.0135, "torch_version": "2.15.0", "train_hours": 0.024, "val_acc": 0.014, "weights_mb": 22.5, "weights_sha256": "b3ae45ee45d54761739f8f14a618b0e5a2b47bf2487beb69df4ba15b7c367fff", "width": 1.0 }, "resnet18_normal_w1.0_f1.0_e1_s0": { "T": null, "alpha": null, "arch": "resnet18", "cifar100c_mean": null, "created": "2026-11-18T22:03:32+00:00", "data_frac": 1.0, "depth": null, "epochs": 1, "extra_mean": null, "git_commit": "b1b75c4db3b916d3d8b0ef84f649562122c11f0e", "git_dirty": false, "mode": "normal", "params": 11220132, "run_name": "resnet18_normal_w1.0_f1.0_e1_s0", "seed": 0, "split_sha256": "79d6f47b45a89433eb73b112ad6c0a0128f8a6a740683440f4efc89f9c31ba39", "teacher_run": null, "test_acc": 0.0128, "torch_version": "2.15.0", "train_hours": 0.011, "val_acc": 0.0154, "weights_mb": 22.5, "weights_sha256": "906ab5cec063bea7af47cd90c09cb3a006d1a7a82ba30dc8618088edffffb32b", "width": 1.0 }, "teacher_normal_w1.0_f0.01_e30_s0": { "T": null, "alpha": null, "arch": "teacher", "cifar100c_mean": null, "created": "2026-11-18T21:56:42+00:00", "data_frac": 0.01, "depth": null, "epochs": 30, "extra_mean": null, "git_commit": "b1b75c4db3b916d3d8b0ef84f649562122c11f0e", "git_dirty": false, "mode": "normal", "params": 76900, "run_name": "teacher_normal_w1.0_f0.01_e30_s0", "seed": 0, "split_sha256": "79d6f47b45a89433eb73b112ad6c0a0128f8a6a740683440f4efc89f9c31ba39", "teacher_run": null, "test_acc": null, "torch_version": "2.15.0", "train_hours": 0.113, "val_acc": 0.669, "weights_mb": 0.2, "weights_sha256": "15f2c1d2af5570be0a3ad9a7f89f0eae16ea7d244b695d51c39629c3ada81dd1", "width": 1.0 } }}12345678910111213141516171819202122232425262728293031323334353637383940414243---library_name: pytorchdatasets:- cifar100tags:- knowledge-distillation- robustness- cifar-100-c- resnet18- distill---
# resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0
CIFAR ResNet-18 (width 1.0), distilled from the teacher run `teacher_normal_w1.0_f0.01_e30_s0` (alpha=0.5, T=4.0), for 1 epochs on 100% of the 45k CIFAR-100 train split, seed 0.
| Metric | Value ||---|---|| Val accuracy (5k held-out train images) | 1.40% || Test accuracy (CIFAR-100, 10k) | 1.35% || CIFAR-100-C mean (15 corruptions x 5 severities) | – || CIFAR-100-C extra-4 mean | – |
## Where it came from
- Code: commit `b1b75c4`- Trained: 2026-11-18T22:05:11+00:00, torch 2.15.0, 0.024 h- Train/val split: `splits/cifar100_train45k_val5k.npz`, sha256 `79d6f47b45a89433…`- Weights: fp16, 22.5 MB, 11,220,132 parameters, sha256 `b3ae45ee45d54761739f8f14a618b0e5a2b47bf2487beb69df4ba15b7c367fff`- Teacher: [`teacher_normal_w1.0_f0.01_e30_s0`](../teacher_normal_w1.0_f0.01_e30_s0)- Every training argument: [`config.json`](config.json); all results: [`metrics.json`](metrics.json)
## Load
From a checkout of the project code:
```bashpython push_weights.py pull --repo robust-distillation/weights-example-test --run resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0``````pythonfrom eval import load_run_modelmodel, cfg = load_run_model("runs/resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0", "cpu")```123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ "T": 4.0, "alpha": 0.5, "arch": "resnet18", "batch_size": 128, "cifar_c_dir": null, "created": "2026-11-18T22:05:11+00:00", "cutmix_alpha": 1.0, "data_dir": "./data", "data_frac": 1.0, "depth": null, "deterministic": false, "device": null, "drop_path": 0.0, "epochs": 1, "fake_data": false, "fake_teacher": false, "git_commit": "b1b75c4db3b916d3d8b0ef84f649562122c11f0e", "git_dirty": false, "grad_clip": 0.0, "keep_checkpoint": false, "label_smoothing": 0.0, "lr": 0.1, "max_steps": 5, "mix_prob": 1.0, "mixup_alpha": 0.8, "mode": "distill", "momentum": 0.9, "no_amp": false, "no_eval": false, "no_strong_aug": false, "num_workers": 0, "optimizer": "sgd", "overwrite": false, "run_dir": "\u2026/resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0", "run_name": null, "runs_dir": "\u2026/runs", "seed": 0, "smoke": false, "split_file": "splits/cifar100_train45k_val5k.npz", "split_sha256": "79d6f47b45a89433eb73b112ad6c0a0128f8a6a740683440f4efc89f9c31ba39", "subset_seed": 0, "teacher_head": "\u2026/teacher_normal_w1.0_f0.01_e30_s0/weights.pt", "torch_version": "2.15.0", "warmup_epochs": 0, "weight_decay": 0.0005, "width": 1.0}12345678910111213141516{ "arch": "resnet18", "best_epoch": 1, "best_val_acc": 0.014, "cifar100c_mean": null, "epochs_completed": 1, "mode": "distill", "params": 11220132, "run_name": "resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0", "seed": 0, "steps": 5, "test_acc": 0.0135, "train_finished": true, "train_hours": 0.024, "val_acc": 0.014}123version https://git-lfs.github.com/spec/v1oid sha256:b3ae45ee45d54761739f8f14a618b0e5a2b47bf2487beb69df4ba15b7c367fffsize 22496459123456789101112131415161718192021222324252627282930313233343536373839404142---library_name: pytorchdatasets:- cifar100tags:- knowledge-distillation- robustness- cifar-100-c- resnet18- normal---
# resnet18_normal_w1.0_f1.0_e1_s0
CIFAR ResNet-18 (width 1.0), trained from scratch with cross-entropy (no teacher), for 1 epochs on 100% of the 45k CIFAR-100 train split, seed 0.
| Metric | Value ||---|---|| Val accuracy (5k held-out train images) | 1.54% || Test accuracy (CIFAR-100, 10k) | 1.28% || CIFAR-100-C mean (15 corruptions x 5 severities) | – || CIFAR-100-C extra-4 mean | – |
## Where it came from
- Code: commit `b1b75c4`- Trained: 2026-11-18T22:03:32+00:00, torch 2.15.0, 0.011 h- Train/val split: `splits/cifar100_train45k_val5k.npz`, sha256 `79d6f47b45a89433…`- Weights: fp16, 22.5 MB, 11,220,132 parameters, sha256 `906ab5cec063bea7af47cd90c09cb3a006d1a7a82ba30dc8618088edffffb32b`- Every training argument: [`config.json`](config.json); all results: [`metrics.json`](metrics.json)
## Load
From a checkout of the project code:
```bashpython push_weights.py pull --repo robust-distillation/weights-example-test --run resnet18_normal_w1.0_f1.0_e1_s0``````pythonfrom eval import load_run_modelmodel, cfg = load_run_model("runs/resnet18_normal_w1.0_f1.0_e1_s0", "cpu")```123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ "T": 4.0, "alpha": 0.5, "arch": "resnet18", "batch_size": 128, "cifar_c_dir": null, "created": "2026-11-18T22:03:32+00:00", "cutmix_alpha": 1.0, "data_dir": "./data", "data_frac": 1.0, "depth": null, "deterministic": false, "device": null, "drop_path": 0.0, "epochs": 1, "fake_data": false, "fake_teacher": false, "git_commit": "b1b75c4db3b916d3d8b0ef84f649562122c11f0e", "git_dirty": false, "grad_clip": 0.0, "keep_checkpoint": false, "label_smoothing": 0.0, "lr": 0.1, "max_steps": 5, "mix_prob": 1.0, "mixup_alpha": 0.8, "mode": "normal", "momentum": 0.9, "no_amp": false, "no_eval": false, "no_strong_aug": false, "num_workers": 0, "optimizer": "sgd", "overwrite": false, "run_dir": "\u2026/resnet18_normal_w1.0_f1.0_e1_s0", "run_name": null, "runs_dir": "\u2026/runs", "seed": 0, "smoke": false, "split_file": "splits/cifar100_train45k_val5k.npz", "split_sha256": "79d6f47b45a89433eb73b112ad6c0a0128f8a6a740683440f4efc89f9c31ba39", "subset_seed": 0, "teacher_head": null, "torch_version": "2.15.0", "warmup_epochs": 0, "weight_decay": 0.0005, "width": 1.0}12345678910111213141516{ "arch": "resnet18", "best_epoch": 1, "best_val_acc": 0.0154, "cifar100c_mean": null, "epochs_completed": 1, "mode": "normal", "params": 11220132, "run_name": "resnet18_normal_w1.0_f1.0_e1_s0", "seed": 0, "steps": 5, "test_acc": 0.0128, "train_finished": true, "train_hours": 0.011, "val_acc": 0.0154}123version https://git-lfs.github.com/spec/v1oid sha256:906ab5cec063bea7af47cd90c09cb3a006d1a7a82ba30dc8618088edffffb32bsize 22496459123456789101112131415161718192021222324252627282930313233343536373839404142---library_name: pytorchdatasets:- cifar100tags:- knowledge-distillation- robustness- cifar-100-c- teacher- normal---
# teacher_normal_w1.0_f0.01_e30_s0
Linear head (768 -> 100) trained for 30 epochs (seed 0) on frozen DINOv2 ViT-B/14 CLS features. Only the head is stored here; the backbone is reloaded from torch.hub (facebookresearch/dinov2).
| Metric | Value ||---|---|| Val accuracy (5k held-out train images) | 66.90% || Test accuracy (CIFAR-100, 10k) | – || CIFAR-100-C mean (15 corruptions x 5 severities) | – || CIFAR-100-C extra-4 mean | – |
## Where it came from
- Code: commit `b1b75c4`- Trained: 2026-11-18T21:56:42+00:00, torch 2.15.0, 0.113 h- Train/val split: `splits/cifar100_train45k_val5k.npz`, sha256 `79d6f47b45a89433…`- Weights: fp16, 0.2 MB, 76,900 parameters, sha256 `15f2c1d2af5570be0a3ad9a7f89f0eae16ea7d244b695d51c39629c3ada81dd1`- Every training argument: [`config.json`](config.json); all results: [`metrics.json`](metrics.json)
## Load
From a checkout of the project code:
```bashpython push_weights.py pull --repo robust-distillation/weights-example-test --run teacher_normal_w1.0_f0.01_e30_s0``````pythonfrom eval import load_run_modelmodel, cfg = load_run_model("runs/teacher_normal_w1.0_f0.01_e30_s0", "cpu")```123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ "T": 4.0, "alpha": 0.5, "arch": "teacher", "batch_size": 512, "cifar_c_dir": null, "created": "2026-11-18T21:56:42+00:00", "cutmix_alpha": 1.0, "data_dir": "./data", "data_frac": 0.01, "depth": null, "deterministic": false, "device": null, "drop_path": 0.0, "epochs": 30, "fake_data": false, "fake_teacher": false, "git_commit": "b1b75c4db3b916d3d8b0ef84f649562122c11f0e", "git_dirty": false, "grad_clip": 0.0, "keep_checkpoint": false, "label_smoothing": 0.0, "lr": 0.001, "max_steps": null, "mix_prob": 1.0, "mixup_alpha": 0.8, "mode": "normal", "momentum": 0.9, "no_amp": false, "no_eval": true, "no_strong_aug": false, "num_workers": 0, "optimizer": "adamw", "overwrite": false, "run_dir": "\u2026/teacher_normal_w1.0_f0.01_e30_s0", "run_name": null, "runs_dir": "\u2026/runs", "seed": 0, "smoke": false, "split_file": "splits/cifar100_train45k_val5k.npz", "split_sha256": "79d6f47b45a89433eb73b112ad6c0a0128f8a6a740683440f4efc89f9c31ba39", "subset_seed": 0, "teacher_head": null, "torch_version": "2.15.0", "warmup_epochs": 0, "weight_decay": 0.0001, "width": 1.0}1234567891011121314{ "arch": "teacher", "best_epoch": 28, "best_val_acc": 0.669, "epochs_completed": 30, "mode": "normal", "params": 76900, "run_name": "teacher_normal_w1.0_f0.01_e30_s0", "seed": 0, "steps": 30, "train_finished": true, "train_hours": 0.113, "val_acc": 0.669}123version https://git-lfs.github.com/spec/v1oid sha256:15f2c1d2af5570be0a3ad9a7f89f0eae16ea7d244b695d51c39629c3ada81dd1size 155709README.mdAdded+21
index.jsonAdded+82
resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0/README.mdAdded+43
resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0/config.jsonAdded+48
resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0/metrics.jsonAdded+16
resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0/weights.ptAdded+3
resnet18_normal_w1.0_f1.0_e1_s0/README.mdAdded+42
resnet18_normal_w1.0_f1.0_e1_s0/config.jsonAdded+48
resnet18_normal_w1.0_f1.0_e1_s0/metrics.jsonAdded+16
resnet18_normal_w1.0_f1.0_e1_s0/weights.ptAdded+3
teacher_normal_w1.0_f0.01_e30_s0/README.mdAdded+42
teacher_normal_w1.0_f0.01_e30_s0/config.jsonAdded+48
teacher_normal_w1.0_f0.01_e30_s0/metrics.jsonAdded+14
teacher_normal_w1.0_f0.01_e30_s0/weights.ptAdded+3