Qiauil commited on
Commit
b11fdaa
·
verified ·
1 Parent(s): 5bfe534

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +61 -3
README.md CHANGED
@@ -1,3 +1,61 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ tags:
6
+ - physics
7
+ - PDEs
8
+ - surrogate
9
+ - FoundationModels
10
+ - AI4Sci
11
+ ---
12
+ <h1 align="center">
13
+ <img src="assets/images/tadpole_colorful.png" width="100"/>
14
+ <br>Tadpole<br>
15
+ </h1>
16
+ <h4 align="center">Autoencoders as Foundation Models for 3D PDEs with Online Learning</h4>
17
+ <p align="center">
18
+ <a href="https://arxiv.org/abs/2408.11104">
19
+ <img src="https://img.shields.io/badge/arXiv-2408.11104-b31b1b?logo=arxiv" alt="Read on arXiv"/>
20
+ </a>
21
+ </a>
22
+ <a href="https://github.com/tum-pbs/Tadpole">
23
+ <img src="https://img.shields.io/badge/Github-Tadpole-181717?logo=github" alt="Github project"/>
24
+ </a>
25
+ </p>
26
+
27
+ ## About
28
+
29
+ This repository contains pre-trained weights of **Tadpole**, a foundation model for three-dimensional partial differential equations (PDEs).
30
+
31
+ Tadpole distinguishes itself from existing PDE foundation models in three key aspects:
32
+
33
+ (1) Tadpole is pre-trained as an autoencoder to learn the inherent representation of PDE solutions, which is more generalizable than the traditional paradigm of training PDE foundation models directly on the dynamics evolution of PDE solutions.
34
+
35
+ (2) Tadpole is pretrained with online learning. which utilize a GPU-based solver to generate diverse data distribution without IO or storage bottlenecks induced by 3D PDE data.
36
+
37
+ (3) Tadpole is able to process multiple downstream tasks, including autoencoding, dynamics prediction, and generative modeling.
38
+
39
+ For more details, please refer to our [research paper](https://arxiv.org/abs/2408.11104):
40
+
41
+ ## Installation and Loading Pre-trained Weights
42
+
43
+ Tadpole can be installed via pip:
44
+
45
+ ```bash
46
+ pip install git+https://github.com/tum-pbs/Tadpole
47
+ ```
48
+
49
+ The pre-trained weights are named as `tadpole_{SIZE}_{TYPE}.safetensors`, where `{SIZE}` can be `S`, `B`, or `L` indicating the model size, and `{TYPE}` can be `encoder` or `decoder` indicating the model type. Weights can be loaded through `weight_{TYPE}` arguments in Tadpole model classes:
50
+
51
+ ```python
52
+ from huggingface_hub import hf_hub_download
53
+ ae=TadpoleAutoencoder(
54
+ size="B",
55
+ weight_encoder=hf_hub_download(repo_id="thuerey-group/Tadpole",filename="tadpole_b_encoder.safetensors"),
56
+ # or you can also download the weights from Hugging Face and load it locally
57
+ weight_decoder=hf_hub_download(repo_id="thuerey-group/Tadpole",filename="tadpole_b_decoder.safetensors"),
58
+ )
59
+ ```
60
+
61
+ Please refer to our [github repository](https://github.com/tum-pbs/Tadpole) for more details and tutorials.