polyevo-mmpolymer / README.md
Kendrick921's picture
Add Model Card
3b0c29e verified
|
Raw History Blame Contribute Delete
3.05 kB
---
license: mit
tags:
- polymer-informatics
- materials-science
- dielectric-polymers
- glass-transition-temperature
- multimodal
- pytorch
---
# PolyEvo MMPolymer + AGMF Surrogate Checkpoints
Five-fold cross-validation checkpoints for the **GA-MMPolymer** polymer inverse-design study (*Surrogate-Guided Inverse Design of Thermally Stable Low-k Polymer Dielectrics Using MMPolymer and Genetic Optimization*).
- **Code & Curated Datasets**: https://github.com/Azhi-ss/polyevo
- **Upstream Pretrained Backbone**: [FanmengWang/MMPolymer](https://github.com/FanmengWang/MMPolymer) (pretrained checkpoint not redistributed here; obtain from the upstream repository if training from scratch)
## Repository Structure
```text
.
β”œβ”€β”€ tg/ # Experimental Tg (Β°C) 5-fold MMPolymer + AGMF (+ Stacking) checkpoints
β”‚ β”œβ”€β”€ model_0.pt ... model_4.pt
β”‚ β”œβ”€β”€ baselines/ # ExtraTrees, GBDT, Ridge fold models
β”‚ β”œβ”€β”€ stacking_0.joblib ... stacking_4.joblib
β”‚ β”œβ”€β”€ selected_keys.json
β”‚ β”œβ”€β”€ metrics.json
β”‚ └── oof_predictions.csv
β”œβ”€β”€ eps_r/ # Computed static permittivity Ξ΅r (300 K) 5-fold checkpoints
β”‚ β”œβ”€β”€ model_0.pt ... model_4.pt
β”‚ β”œβ”€β”€ baselines/
β”‚ β”œβ”€β”€ stacking_0.joblib ... stacking_4.joblib
β”‚ β”œβ”€β”€ selected_keys.json
β”‚ β”œβ”€β”€ metrics.json
β”‚ └── oof_predictions.csv
β”œβ”€β”€ ablation_tg.json # Full 5-fold ablation metrics on clean Tg set (N = 7,586)
└── ablation_eps_r.json # Full 5-fold ablation metrics on clean Ξ΅r set (N = 1,075)
```
## Five-Fold Cross-Validation Summary (Clean Datasets)
| Task | Variant | Fold-mean RΒ² | Fold-mean RMSE | Pooled RΒ² | Pooled RMSE |
| --- | --- | ---: | ---: | ---: | ---: |
| $T_g$ ($N = 7{,}586$, Β°C) | Without pretraining | 0.8409 Β± 0.0113 | 44.08 Β± 1.99 | 0.8409 | 44.13 |
| $T_g$ ($N = 7{,}586$, Β°C) | Without AGMF (concat) | 0.9126 Β± 0.0102 | 32.63 Β± 2.15 | 0.9126 | 32.70 |
| $T_g$ ($N = 7{,}586$, Β°C) | **MMPolymer + AGMF** | **0.9159 Β± 0.0067** | **32.04 Β± 1.53** | **0.9159** | **32.08** |
| $T_g$ ($N = 7{,}586$, Β°C) | MMPolymer + AGMF + Stacking | 0.9189 | 31.47 | 0.9189 | 31.51 |
| $\varepsilon_r$ ($N = 1{,}075$, 300 K) | Without pretraining | 0.7083 Β± 0.1279 | 5.55 Β± 2.52 | 0.6658 | 6.09 |
| $\varepsilon_r$ ($N = 1{,}075$, 300 K) | Without AGMF (concat) | 0.8519 Β± 0.0626 | 3.89 Β± 1.72 | 0.8369 | 4.25 |
| $\varepsilon_r$ ($N = 1{,}075$, 300 K) | **MMPolymer + AGMF** | **0.8782 Β± 0.0434** | **3.52 Β± 1.44** | **0.8694** | **3.81** |
| $\varepsilon_r$ ($N = 1{,}075$, 300 K) | MMPolymer + AGMF + Stacking | 0.8731 | 3.61 | 0.8639 | 3.89 |
## Quick Usage with PolyEvo
```bash
pip install -e '.[surrogate]'
huggingface-cli download Kendrick921/polyevo-mmpolymer --local-dir weights
```
Point `presets/ga_mmpolymer.yaml` checkpoints to `weights/tg` and `weights/eps_r`, then run:
```bash
polyevo run --config presets/ga_mmpolymer.yaml --out runs/ga_mmpolymer
```