openrfm / README.md
zkchen's picture
OpenRFM pre-training corpus
1c9652b
|
Raw History Blame Contribute Delete
1.6 kB
---
license: mit
tags:
- relational-deep-learning
- synthetic
- tabular
---
# OpenRFM pre-training corpus
The synthetic relational databases ("worlds") and tasks on which the released
[OpenRFM](https://github.com/Quant-Spirit/openrfm) backbone was pre-trained
([arXiv:2606.04320](https://arxiv.org/abs/2606.04320)). No real database is included.
| path | contents |
|---|---|
| `pretraining/worlds-NNNN.tar.zst` | 93 zstd-compressed tar shards (about 77 GB), 250 task aliases each; every alias is a converted v2 archive of one world |
| `pretraining/index.json` | the aliases and the sha256 of each shard |
| `pretraining/sources.json` | the source world of each alias (23,083 aliases over 15,636 worlds; a world can serve several tasks) |
| `pretraining/compact_task_catalog.json` | family, table, target and task type of every task |
| `pretraining/corpus_manifest.json` | corpus manifest: the source world group, manifest sha256 and offsets of every alias |
| `pretraining/replay_selection.json` | tasks of every alias with their row counts, replayed by `openrfm train memory` |
## Usage
```bash
pip install git+https://github.com/Quant-Spirit/openrfm
openrfm train backbone fetch --config openrfm/configs/train/backbone.yaml --out CORPUS
openrfm train backbone train --config openrfm/configs/train/backbone.yaml --corpus CORPUS --out RUN
```
`fetch` downloads one shard at a time, checks its sha256, extracts it into `CORPUS/sources/` and links each alias
under `CORPUS/corpus/`. `openrfm generate` and `openrfm train backbone corpus` build a new corpus from the same
generators.