Upload base files
Browse files- .gitattributes +1 -0
- LICENSE +27 -0
- README.md +69 -3
- gewu.svg +1 -0
- logo.svg +68 -0
- suiren-family.jpg +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
suiren-family.jpg filter=lfs diff=lfs merge=lfs -text
|
LICENSE
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Modified MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2026 Gewuzhiyan
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the “Software”), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
| 22 |
+
|
| 23 |
+
Our only modification part is that, if the Model (or any derivative works
|
| 24 |
+
thereof) is used for any of your commercial products or services that have
|
| 25 |
+
more than 1 thousand monthly active users, or more than 10 thousand US dollars
|
| 26 |
+
(or equivalent in other currencies) in monthly revenue, you shall prominently
|
| 27 |
+
display "Suiren" on the user interface of such product or service.
|
README.md
CHANGED
|
@@ -1,3 +1,69 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: en
|
| 3 |
+
tags:
|
| 4 |
+
- chemistry
|
| 5 |
+
- molecular-foundation-model
|
| 6 |
+
- quantum-chemistry
|
| 7 |
+
- equivariant-neural-networks
|
| 8 |
+
license: mit
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
<div align="center" style="line-height:1">
|
| 12 |
+
<img src="./logo.svg" alt="main_flowchart" width="40%" />
|
| 13 |
+
<a href="https://github.com/Gewu-Intelligence/Suiren-Foundation-Model" target="_blank"><img alt="github" src="https://img.shields.io/badge/Github-Gewu-blue?logo=github"/></a>
|
| 14 |
+
<a href="https://github.com/Gewu-Intelligence/Huntianling"><img alt="Homepage" src="https://img.shields.io/badge/🤖Skills-Huntianling-blue"/></a>
|
| 15 |
+
<a href="https://drive.google.com/file/d/1vUMYzhmhCeNU18WE5D_xV4gQWxfU7kI7/view?usp=sharing"><img alt="slides" src="https://img.shields.io/badge/Slides-Suiren-white?logo=slideshare"/></a>
|
| 16 |
+
</div>
|
| 17 |
+
|
| 18 |
+
<div align="center" style="line-height: 1;">
|
| 19 |
+
<a href="https://huggingface.co/ajy112/Suiren-Base/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/badge/License-Modified_MIT-f5de53?&color=f5de53"/></a>
|
| 20 |
+
</div>
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
# Suiren-Base (1.8B)
|
| 25 |
+
|
| 26 |
+
Suiren-Base is a large-scale molecular domain foundation model developed by **Gewu-Intelligence (SAIS Physics Lab)**. With 1.8 billion parameters, it is designed to consolidate quantum chemical knowledge into a unified framework through massive self-supervised pre-training, enabling direct prediction of various quantum properties for small molecules.
|
| 27 |
+
|
| 28 |
+
## Key Features
|
| 29 |
+
|
| 30 |
+
- **Core Foundation Model**: Serves as the backbone of the Suiren series, encoding broad chemical knowledge for predicting energy, forces, and generating high-quality atomic-level embeddings.
|
| 31 |
+
- **Advanced Architecture**: Utilizes a hybrid architecture combining EquiformerV2 with the Equivariant Spherical Transformer (EST). It captures deep inter-atomic interactions through high-order equivariant representations while significantly improving inference speed compared to traditional point-cloud networks.
|
| 32 |
+
- **Self-Supervised Pre-training**: Employs Equivariant Masked Position Prediction (EMPP), a task that forces the model to understand atomic interactions by reconstructing deleted atomic nodes and positions.
|
| 33 |
+
- **Large-scale Dataset**: Trained on the Full Qo2mol dataset (not been fully open-sourced), which contains about 100 million high-precision DFT calculation points, covering an extensive chemical space and various molecular sizes.
|
| 34 |
+
|
| 35 |
+
Suiren-Base model is the foundation model in Suiren family.
|
| 36 |
+
|
| 37 |
+
<div align="center">
|
| 38 |
+
<img src="./suiren-family.jpg" alt="main_flowchart" width="100%" />
|
| 39 |
+
</div>
|
| 40 |
+
|
| 41 |
+
## Usage
|
| 42 |
+
|
| 43 |
+
You can load the model using the provided API in the [GitHub repository](https://github.com/Gewu-Intelligence/Suiren-Foundation-Model).
|
| 44 |
+
|
| 45 |
+
```
|
| 46 |
+
import torch
|
| 47 |
+
from suiren_models import ModelLoader
|
| 48 |
+
|
| 49 |
+
# Initialize loader
|
| 50 |
+
loader = ModelLoader(config_path='config_name.yml')
|
| 51 |
+
# example: loader = ModelLoader(config_path='suiren-base.yml')
|
| 52 |
+
|
| 53 |
+
# Load model architecture
|
| 54 |
+
model = loader.load_model()
|
| 55 |
+
|
| 56 |
+
# Load pre-trained weights
|
| 57 |
+
loader.load_weights(model, 'path/to/checkpoint')
|
| 58 |
+
|
| 59 |
+
# Load normalizer from config
|
| 60 |
+
loader.load_normalizer()
|
| 61 |
+
|
| 62 |
+
# Load normalizer from checkpoint (optional)
|
| 63 |
+
# loader.load_normalizer('path/to/normalizer')
|
| 64 |
+
|
| 65 |
+
# Move model to device
|
| 66 |
+
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
| 67 |
+
model = model.to(device)
|
| 68 |
+
model.eval()
|
| 69 |
+
```
|
gewu.svg
ADDED
|
|
logo.svg
ADDED
|
|
suiren-family.jpg
ADDED
|
Git LFS Details
|