Download model/boltzgen/task/task.py from OneScience-Group/BoltzGen: direct link, hf CLI and curl.
- Browser
- Download file 370 Bytes
-
https://huggingface.co/OneScience-Group/BoltzGen/resolve/main/model/boltzgen/task/task.py
- Command line
-
hf download hf://OneScience-Group/BoltzGen/model/boltzgen/task/task.py
-
curl -L -o task.py https://huggingface.co/OneScience-Group/BoltzGen/resolve/main/model/boltzgen/task/task.py
370 Bytes
| from abc import ABC, abstractmethod | |
| from omegaconf import OmegaConf | |
| class Task(ABC): | |
| """A task to be executed.""" | |
| def run(self, config: OmegaConf) -> None: | |
| """Run the task. | |
| Parameters | |
| ---------- | |
| config : OmegaConf | |
| The configuration for the task. | |
| """ | |
| raise NotImplementedError | |