Downloads · 30 days
0
rabischof/hypino
hypino is a other model from rabischof. Use it for the other task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
<p <a href="https://arxiv.org/abs/2509.05117" target="blank" <img src="https://img.shields.io/badge/arXiv-2509.05117-b31b1b.svg" alt="arXiv Paper"/ </a <a href="https://github.com/rbischof/hypino" target="blank" <img…
Downloads · 30 days
0
Access
Public
Updated Oct 16, 2025
Repo size
869 MB
Likes
0
Public
Click a slice to open those files.
.onnx312 MB · 50%
From the Hugging Face model README
This repository contains the model files for the paper HyPINO: Multi-Physics Neural Operators via HyperPINNs and the Method of Manufactured Solutions.
HyPINO is a multi-physics neural operator framework that generalizes across diverse linear, 2D, second-order PDEs in a zero-shot manner.
It uses a Swin Transformer–based hypernetwork to generate Physics-Informed Neural Networks (PINNs) conditioned on PDE specifications, trained entirely using the Method of Manufactured Solutions (MMS). This repository contains the official implementation of the paper.
As an example, consider the Poisson equation $-\Delta u(x, y) = 0,$ defined on a square domain with circular inner boundaries. The image below shows the input fields expected by HyPINO and their corresponding reference solutions.
<p align="center"> <img src="https://github.com/rbischof/hypino/raw/main/assets/poisson_C/grids.png" width="85%"> </p>Given a PDE specification, HyPINO’s Swin Transformer hypernetwork generates the weights of a target PINN, which can be evaluated continuously over the spatial domain $(x, y) \in [-1, 1]^2$.
<p align="center"> <img src="https://github.com/rbischof/hypino/raw/main/assets/hypino_framework.png" width="85%"> </p>HyPINO was tested with Python 3.12.1.
Install dependencies:
pip install -r requirements.txt
Download the pretrained HyPINO model directly from Hugging Face:
# Option 1: Using the Hugging Face CLI
hf download rabischof/hypino hypino.safetensors --local-dir models/
# Option 2: Using wget
wget -O models/hypino.safetensors https://huggingface.co/rabischof/hypino/resolve/main/hypino.safetensors
To train the model:
python train.py
Logs, checkpoints, and plots are saved under:
runs/
Evaluate a trained model:
python evaluate.py --model hypino --weights models/hypino.safetensors
The notebooks/ directory in the GitHub Repository contains guided examples for exploring and extending HyPINO:
| Notebook | Description |
|---|---|
01_visualize_data.ipynb | Visualizes benchmark PDE inputs and reference solutions. Shows both supervised (MMS-generated) and unsupervised samples. |
02_inference.ipynb | Explains expected HyPINO inputs, output format, and how to use predictions for downstream tasks. |
03_iterative_refinement.ipynb | Demonstrates how to build ensembles of PINNs via residual-based iterative refinement and visualize test-time improvements. |
04_pinn_finetuning.ipynb | Shows how HyPINO-generated PINNs can be used as initialization for PDE-specific fine-tuning. |
If you use this code or model, please cite:
@article{bischof2025hypino,
title={HyPINO: Multi-Physics Neural Operators via HyperPINNs and the Method of Manufactured Solutions},
author={Bischof, Rafael and Bickel, Bernd},
journal={arXiv preprint arXiv:2509.05117},
year={2025}
}