Add model card
Browse files12345678910111213141516171819202122232425262728293031323334353637383940414243444546---license: mitlibrary_name: pytorchtags: - rubiks-cube - reinforcement-learning - deepcubea - pytorchpipeline_tag: other---
# DeepCube — Cube3 (3×3×3) cost-to-go network
PyTorch weights for a DeepCubeA-style cost-to-go network that solves the 3×3×3 Rubik's cube via weighted A\*.
- **Input**: one-hot encoded cube state (324 dims = 54 stickers × 6 colors)- **Output**: scalar cost-to-go estimate (predicted moves to solved state)- **Architecture**: MLP — see `deepcube/model.py` in the source repo- **Training**: Approximate Value Iteration on random scrambles (see `train.ipynb`)- **Source code**: https://github.com/ac1982/deepcube
## Files
- `deepcube_cube3.pt` — final weights (keys: `net`, `cfg`, `loss_hist`, `elapsed`)
## Usage
```pythonfrom huggingface_hub import hf_hub_downloadfrom deepcube.model import load_checkpoint
ckpt_path = hf_hub_download("alexever/deepcube-cube3", "deepcube_cube3.pt")model, cfg = load_checkpoint(ckpt_path)```
Or via the bundled server, which auto-loads from `checkpoints/deepcube_cube3.pt`:
```bashhuggingface-cli download alexever/deepcube-cube3 deepcube_cube3.pt \ --local-dir checkpointspython -m deepcube.server```
## License
MIT — see source repository.README.mdAdded+46