A newer version of the Gradio SDK is available:
6.0.1
metadata
title: POSEIDON Multiscience Demo
emoji: π±
colorFrom: blue
colorTo: pink
sdk: gradio
sdk_version: 4.29.0
app_file: app.py
pinned: false
π± POSEIDON Playground: Across Scientific Domains π±
An interactive Gradio demo exploring how the POSEIDON foundation model for solving Partial Differential Equations (PDEs) could be applied across physics, finance, quantum mechanics, and biology.
Built with love π π± for the Hugging Face Community ML Research Engineer take-home assignment.
Inspired by POSEIDON: A Foundation Model for Solving PDEs by CamLab ETH ZΓΌrich.
Code from the original repo: github.com/camlab-ethz/poseidon
Goal
This app highlights the multidisciplinary potential of pre-trained PDE models like POSEIDON using:
- Intuitive interactive visualizations
- Simple simulations from four real-world domains
πͺ© What You Can Do
| Feature | Description |
|---|---|
| βοΈ Pick a scientific domain | Finance, Quantum, Fluids, Biology |
| βοΈ Run a mini simulation | See how PDEs behave in each field |
| βοΈ Try POSEIDON inference | Generate predictions from synthetic inputs |
| βοΈ Use real PDE datasets | Compare POSEIDON output vs. ground truth |
π Running Locally
- Clone this repo
git clone https://github.com/YOUR_USERNAME/poseidon_demo.git
cd poseidon_demo
- (Option A) Using Conda
conda env create -f environment.yml
conda activate poseidon-demo
- (Option B) Using virtualenv
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
- (Run the demo
python -m poseidon_demo.app
πͺ© Big Thanks
- Hugging Face for the opportunity and open tools
- ETH ZΓΌrichβs CamLab for releasing the POSEIDON repo
- π You, the curious science hacker, for playing with this demo!