Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: flax
|
| 3 |
+
tags:
|
| 4 |
+
- chemistry
|
| 5 |
+
- ionic-conductivity
|
| 6 |
+
- polymer-electrolytes
|
| 7 |
+
- jax
|
| 8 |
+
pipeline_tag: tabular-regression
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# Arrhenius Predictor for Polymer Electrolytes
|
| 12 |
+
Paper: https://pubs.acs.org/doi/10.1021/acscentsci.2c01123
|
| 13 |
+
This model predicts ionic conductivity ($\ln \sigma$), activation energy ($E_a$), and the Arrhenius prefactor ($\ln A$) for polymer electrolytes. It uses a physics-informed architecture where the output is constrained by the Arrhenius equation:
|
| 14 |
+
|
| 15 |
+
$$ \ln \sigma = \ln A - \frac{E_a}{RT} $$
|
| 16 |
+
|
| 17 |
+
## Usage
|
| 18 |
+
|
| 19 |
+
This model expects inputs processed via `MolGraphizer` and `expand_polymer_smiles`.
|
| 20 |
+
It requires the following features:
|
| 21 |
+
- **Molecular Graph**: Nodes, Edges, Connectivity.
|
| 22 |
+
- **Auxiliary Features**: Temperature (K), Log Molecular Weight, Molality.
|
| 23 |
+
|
| 24 |
+
To use this model for screening new candidates, use the `screen_from_hub.py` script provided in the repository.
|
| 25 |
+
|
| 26 |
+
```python
|
| 27 |
+
# Pseudo-code for loading
|
| 28 |
+
import flax.serialization
|
| 29 |
+
from huggingface_hub import hf_hub_download
|
| 30 |
+
|
| 31 |
+
path = hf_hub_download(repo_id="eamag/chemarr", filename="model.msgpack")
|
| 32 |
+
with open(path, "rb") as f:
|
| 33 |
+
artifact = flax.serialization.from_bytes(dummy_state, f.read())
|
| 34 |
+
|
| 35 |
+
|