This is the repository used by the chem-ensamble project. The name "cōnstellātiō" means "set of stars" in Latin.
Constellatio is developed by Alán Aspuru-Guzik's group at the University of Toronto.
Here, you can add a model to be trained by the orion network. To do so, follow these steps:
-
Under
models/
, create a new foldermy_folder
. Here, you can add all the models you would like to deploy. If you already have a folder, skip to step 3. -
Create an
__init__.py
file for your module. Then, add it tomodels/info_models.py
with# Import your model import constellatio.models.my_folder as my_folder ... # Add your module to the list of modules model_modules = [..., my_folder]
-
Create a
my_model.py
file undermodels/my_folder
. Here, you can define yournn.Module
(or any subclass of it, such asLightningModule
).import torch.nn as nn class MyModel(nn.Module): def __init__(self): super().__init__() # Define your model here def forward(self, x): # Define your forward pass here return x
-
Add the model defined in
my_model.py
tomodels/my_folder/__init__.py
from .my_model import MyModel
Here, you can add a new dataset to be used by the orion network. To do so, follow these steps:
-
Create a new file under
datasets/
with the name of your dataset. -
[WIP]