Downloads · 30 days
40
43% of all-time downloads
Yaozhong/FLAPS
FLAPS is a machine learning model from Yaozhong. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for pytorch. The card lists the license as mit.
This Hugging Face repository hosts checkpoints and prepared datasets for Flow Annealing Posterior Sampling for Function-Space Regression and Inverse Problems .
Downloads · 30 days
40
43% of all-time downloads
All-time downloads
92
Public
Repo size
2.2 GB
Likes
0
Public
Click a slice to open those files.
.pt1.6 GB · 88%
From the Hugging Face model README
This Hugging Face repository hosts checkpoints and prepared datasets for Flow Annealing Posterior Sampling for Function-Space Regression and Inverse Problems .
The source code and runnable scripts are available on GitHub:
https://github.com/yzshi5/FLAPS
PDE_inverse/checkpoints/
PDE_inverse/datasets/
Regression/checkpoints/FLAPS_prior/GP_gibbs_epoch_500.pt
Regression/checkpoints/FLAPS_prior/GP_matern_epoch_500.pt
The PDE inverse folders contain FNO surrogate checkpoints, FLAPS prior checkpoints, and small prepared test datasets used by the example scripts. The Regression folder currently includes the GP Gibbs and GP Matern prior checkpoints. For details, please visit the FLAPS GitHub repository.
Download these Hugging Face artifacts into the GitHub repo:
python - <<'PY'
from huggingface_hub import snapshot_download
snapshot_download(
repo_id="Yaozhong/FLAPS",
repo_type="model",
local_dir=".",
allow_patterns=[
"config.json",
"PDE_inverse/checkpoints/**",
"PDE_inverse/datasets/**",
"Regression/checkpoints/FLAPS_prior/GP_gibbs_epoch_500.pt",
"Regression/checkpoints/FLAPS_prior/GP_matern_epoch_500.pt",
],
)
PY
The helper Python files for downloading and preprocessing the full PDE datasets are under:
PDE_inverse/datasets/
Download the original PDE data shards:
cd PDE_inverse
python datasets/download_dataset.py all --output-dir datasets/PDE_inverse
Convert Hugging Face Arrow shards to .npy files:
python datasets/inital_process.py \
--input-root datasets/PDE_inverse \
--output-root datasets/PDE_inverse_npy
If you use this code or artifacts, please cite the associated FLAPS paper when available.
@article{shi2026flow,
title={Flow Annealing Posterior Sampling for Function-Space Regression and Inverse Problems},
author={Shi, Yaozhong and Ross, Zachary E and Yue, Yisong},
journal={arXiv preprint arXiv:2606.22346v1},
year={2026}
}