|
a |
|
b/sub-packages/bionemo-moco/README.md |
|
|
1 |
# Modular Co-Design (MoCo) Interpolants |
|
|
2 |
|
|
|
3 |
## Description |
|
|
4 |
MoCo enables abstracted interpolants for building and sampling from a variety of popular generative model frameworks. Specifically, MoCo supports interpolants for both continuous and discrete data types. |
|
|
5 |
[](https://pypi.org/project/bionemo-moco/) |
|
|
6 |
|
|
|
7 |
### Continuous Data Interpolants |
|
|
8 |
MoCo currently supports the following continuous data interpolants: |
|
|
9 |
- DDPM (Denoising Diffusion Probabilistic Models) |
|
|
10 |
- VDM (Variational Diffusion Models) |
|
|
11 |
- CFM (Conditional Flow Matching) |
|
|
12 |
|
|
|
13 |
### Discrete Data Interpolants |
|
|
14 |
MoCo also supports the following discrete data interpolants: |
|
|
15 |
- D3PM (Discrete Denoising Diffusion Probabilistic Models) |
|
|
16 |
- MDLM (Masked Diffusion Language Models) |
|
|
17 |
- DFM (Discrete Flow Matching) |
|
|
18 |
|
|
|
19 |
### Useful Abstractions |
|
|
20 |
MoCo also provides useful wrappers for customizable time distributions and inference time schedules. |
|
|
21 |
|
|
|
22 |
### Extendible |
|
|
23 |
If the desired interpolant or sampling method is not already supported, MoCo was designed to be easily extended. |
|
|
24 |
|
|
|
25 |
## Installation |
|
|
26 |
For Conda environment setup, please refer to the `environment` directory for specific instructions. |
|
|
27 |
|
|
|
28 |
Once your environment is set up, you can install this project by running the following command: |
|
|
29 |
|
|
|
30 |
```bash |
|
|
31 |
pip install -e . |
|
|
32 |
``` |
|
|
33 |
This will install the project in editable mode, allowing you to make changes and see them reflected immediately. |
|
|
34 |
|
|
|
35 |
## Examples |
|
|
36 |
Please see examples of all interpolants in the [examples directory](https://github.com/NVIDIA/bionemo-framework/tree/main/sub-packages/bionemo-moco/examples). |