Views
No views yet
| Component | Details |
|---|---|
| Encoder | 16-layer GATv2, d=512, 8 heads |
| Value head | 4-layer MLP with LayerNorm |
| Graph | 490 stations |
| Parameters | 11,352,043 |
| Training signal | Huber loss (δ=2 min) vs. Floyd–Warshall all-pairs shortest times |
| Metric | Value |
|---|---|
| Mean Absolute Error | 0.66 min |
1import json, torch
2from safetensors.torch import load_file
3from huggingface_hub import hf_hub_download
4
5repo = "permutans/tube-distance-field"
6config = json.loads(open(hf_hub_download(repo, "config.json")).read())
7weights = load_file(hf_hub_download(repo, "model.safetensors"))
8metadata = json.loads(open(hf_hub_download(repo, "metadata.json")).read())
9# See the project repository for full inference code.