Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- natural-deduction
|
| 4 |
+
- reinforcement-learning
|
| 5 |
+
- experimental
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
# Natural deduction autoresearch checkpoints
|
| 9 |
+
|
| 10 |
+
Experimental small proof models from the nd-rl pretraining autoresearch workstream.
|
| 11 |
+
This repository shares checkpoint weights and their recorded experiment summaries.
|
| 12 |
+
|
| 13 |
+
## Checkpoint stages
|
| 14 |
+
|
| 15 |
+
- `runs/<run>/final.pt`: after pretraining and reinforcement learning, with final evaluation
|
| 16 |
+
completed. These are **not pretraining-only weights**.
|
| 17 |
+
- Future `pretrain.pt` files: immediately after pretraining, before RL.
|
| 18 |
+
- Future `rl_round_XX.pt` files: after the named RL round.
|
| 19 |
+
|
| 20 |
+
The initial upload contains historical final checkpoints only. Each `summary.json` records
|
| 21 |
+
the run's status, source hashes, budgets, and evaluation results. Scores across different
|
| 22 |
+
harness hashes or budgets should not be treated as directly comparable.
|
| 23 |
+
|
| 24 |
+
## Download and load
|
| 25 |
+
|
| 26 |
+
```bash
|
| 27 |
+
hf download robbiethompson2018/nd-rl-checkpoints --include 'runs/001_gpu-batching/*' --local-dir checkpoints
|
| 28 |
+
```
|
| 29 |
+
|
| 30 |
+
```python
|
| 31 |
+
import torch
|
| 32 |
+
|
| 33 |
+
checkpoint = torch.load(
|
| 34 |
+
'checkpoints/runs/001_gpu-batching/final.pt',
|
| 35 |
+
map_location='cpu',
|
| 36 |
+
weights_only=True,
|
| 37 |
+
)
|
| 38 |
+
# Construct the matching model architecture, then:
|
| 39 |
+
# model.load_state_dict(checkpoint['state'])
|
| 40 |
+
# checkpoint['tok_mode'] specifies the tokenizer mode.
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
These are raw PyTorch state dictionaries, not Transformers `from_pretrained` packages.
|
| 44 |
+
They do not contain optimizer or RNG state for exact training resumption.
|
| 45 |
+
Historical files do not embed a full architecture configuration or source snapshot; obtain
|
| 46 |
+
the matching experiment implementation from the project maintainers, checking the
|
| 47 |
+
`pretrain_sha` and `harness_sha` in the summary. Do not assume every run uses the same
|
| 48 |
+
architecture. The external training fork is `dan-pandori/nd-takehome`, pinned to
|
| 49 |
+
`ab629c7d2cdf3dc50d471e302d14643ba0782749` for these runs.
|
| 50 |
+
|
| 51 |
+
The autoresearch metric uses development theorems and is not a final held-out benchmark.
|
| 52 |
+
No inference service or hosted GPU is provisioned by this repository.
|