Generator API¶
Fit a model on SMILES with fit(...) and sample molecules with
generate(...). Conditional inputs and sample-count arguments differ by
model; use each model’s reference page when switching methods.
Model |
Optional conditioning |
|---|---|
Demonstration SMILES in |
|
A molecular substructure in |
|
Property targets in |
|
Property targets in |
|
Property targets in |
|
|
|
Property targets in |
|
Scaffold, fragment, or property inputs, depending on the checkpoint family. |
|
Unconditional generation. |
|
Unconditional generation. |
|
Unconditional generation. |
Use save_to_local(path) and load_from_local(path) to save and restore
trained models. Additional persistence methods are documented in Base Modules;
Graph GA does not support Hugging Face uploads or downloads.
See the model collection for method summaries and links to examples. Optional dependencies are listed in Installation.
Model reference¶
Class |
Purpose |
|---|---|
Graph diffusion with optional molecular demonstrations and normalized |
|
Graph diffusion transformer with optional property labels. |
|
Discrete graph flow matching with optional property labels. |
|
Genetic search using property labels or a scoring oracle. |
|
Unconditional discrete graph diffusion. |
|
Unconditional score-based graph diffusion. |
|
Unconditional junction-tree variational autoencoding. |
|
Masked diffusion over SAFE fragments, optionally retaining a supplied scaffold. |
|
Autoregressive SMILES transformer with optional properties and scaffold tokens. |
|
Recurrent SMILES generation with optional property labels. |
|
NovoMolGen, MolGen, Molexar, or SAFE-GPT checkpoints; constraints depend on the model family. |