File size: 1,644 Bytes
f1436a6
8619a66
d1cefb1
 
 
f1436a6
d1cefb1
f1436a6
 
d1cefb1
8619a66
f1436a6
228d73a
 
 
 
 
 
 
f1436a6
8619a66
d1cefb1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
title: SPARK
emoji: 
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: "5.29.0"
app_file: app.py
pinned: false
license: mit
short_description: SPARK  Bayesian inference for CV & TPD analysis
---
> # SPARK has moved
> This Space has moved to **[https://huggingface.co/spaces/bing-yan/spark](https://huggingface.co/spaces/bing-yan/spark)**.
> The model, code, and inference behaviour are identical — only the
> URL and branding (TRACE -> SPARK) have changed.
> This `/trace` URL remains live as a redirect for existing bookmarks.



# SPARK — Simulation-based Posterior Amortization for Reaction Kinetics

Amortized Bayesian inference for electrochemistry and catalysis.
Upload cyclic voltammetry (CV) or temperature-programmed desorption (TPD) data to automatically:

1. **Identify the reaction mechanism** from a candidate list (9 for CV, 11 for TPD)
2. **Infer kinetic parameters** with full Bayesian posterior uncertainty

Inference takes ~50 ms on CPU. Accepts CSV files or plot images.

The deployed checkpoints are the **noise-augmented headline models** (CV: `v14_9mech`,
TPD: `tpd_11mech_v2`) that retain 92.4 % (CV) and 95.6 % (TPD) classification accuracy
on realistic noisy inputs.

## Supported Mechanisms

**Electrochemistry (CV, 9 mechanisms):** Nernst, Butler–Volmer, Marcus–Hush–Chidsey,
Adsorption, EC, Langmuir–Hinshelwood, EE, EC′, CE.

**Catalysis (TPD, 11 mechanisms):** First-order, Second-order, Zeroth-order,
FirstOrderCovDep, DiffLimited, Precursor, Dissociative, ActivatedAdsorption,
LH Surface, Mars–van Krevelen, TwoSite.

## Citation

```
[Citation to be added upon publication]
```