|
Download README.md from zkchen/openrfm: direct link, hf CLI and curl.
- Browser
- Download file 1.67 kB
-
https://huggingface.co/zkchen/openrfm/resolve/main/README.md
- Command line
-
hf download hf://zkchen/openrfm/README.md
-
curl -L -o README.md https://huggingface.co/zkchen/openrfm/resolve/main/README.md
1.67 kB
| license: mit | |
| tags: | |
| - relational-deep-learning | |
| - tabular | |
| - in-context-learning | |
| # OpenRFM | |
| Checkpoints of [OpenRFM](https://github.com/Quant-Spirit/openrfm), an open relational foundation model pre-trained on | |
| synthetic databases alone ([arXiv:2606.04320](https://arxiv.org/abs/2606.04320)). Both checkpoints stay frozen at | |
| inference, and no benchmark task is fine-tuned. | |
| | file | role | size | sha256 | | |
| |---|---|---|---| | |
| | `openrfm_backbone.pt` | Relational adapter (backbone), pre-trained only on synthetic relational databases | 7.0 MB | `92a7f3d650872acd422d7d407df71b9e779b2fb1db3b98fe02408d9489938513` | | |
| | `openrfm_memory_v1.pt` | Memory module: reads an entity's history and writes the features passed to the tabular model | 1.1 MB | `8e6310f5efe745038910afbe173a69af6397e483d38f0b73fd5cad6f083f7922` | | |
| Each file holds only tensors and the configuration needed to load it (`torch.load(..., weights_only=True)`). The | |
| tabular model is the public `nvidia/Kumo-Tabular` (small, OpenMDW-1.1), loaded from its own repository. | |
| The backbone code is derived from [Relational Transformer](https://github.com/stanford-star/relational-transformer) | |
| (Apache-2.0); see the NOTICE file of the code repository. | |
| ## Usage | |
| The `openrfm` package downloads both files and checks their sha256: | |
| ```bash | |
| openrfm predict --task rel-f1/driver-dnf --recipe r2 --data DATA | |
| ``` | |
| `--checkpoints DIR` reads them from a local directory instead. To verify a manual download, run | |
| `sha256sum -c manifest.sha256`. | |
| ## Pre-training data | |
| The synthetic pre-training corpus of the backbone is in the dataset repository | |
| [`zkchen/openrfm`](https://huggingface.co/datasets/zkchen/openrfm). | |