Download lightning_modules/__init__.py from ChatterjeeLab/A2D2: direct link, hf CLI and curl.
- Browser
- Download file 430 Bytes
-
https://huggingface.co/ChatterjeeLab/A2D2/resolve/main/lightning_modules/__init__.py
- Command line
-
hf download hf://ChatterjeeLab/A2D2/lightning_modules/__init__.py
-
curl -L -o __init__.py https://huggingface.co/ChatterjeeLab/A2D2/resolve/main/lightning_modules/__init__.py
430 Bytes
| from .mdm import MaskedDiffusionModule | |
| from .any_order import AnyOrderInsertionFlowModule | |
| __all__ = [ | |
| "MaskedDiffusionModule", | |
| "AutoregressiveModule", | |
| "AnyOrderInsertionFlowModule", | |
| ] | |
| def __getattr__(name): | |
| if name == "AutoregressiveModule": | |
| from .autoregressive import AutoregressiveModule | |
| return AutoregressiveModule | |
| raise AttributeError(f"module {__name__!r} has no attribute {name!r}") | |