Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,9 @@ dmypy.json
react-app/build/
react-app/node_modules/

.idea
.idea

data/
backend/data/
.vscode/
backend/config.json
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ and change the path for each setting according to your setup.
The ensemble can take any models that are implemented in [python-chebifier](https://github.com/ChEB-AI/python-chebifier). See the repository for example configurations. Common arguments for a model are:
* `type`: one of the available [MODEL_TYPES](https://github.com/ChEB-AI/python-chebifier/blob/dev/chebifier/model_registry.py), e.g. `electra`,
* `batch_size`: Number of molecules that are passed to the model at once,
* `target_labels_path`: List of ChEBI classes (the `classes.txt` file that comes as part of a [ChEB-AI](https://github.com/ChEB-AI/python-chebai) dataset)
* `classwise_weights_path` (optional): Weights that should be assigned to each class (i.e., trust scores calculated on a validation set with [this script](https://github.com/ChEB-AI/python-chebai/blob/dev/chebai/result/generate_class_properties.py)


Expand Down
1 change: 0 additions & 1 deletion backend/config.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"type": "chebifier type (e.g. electra)",
"ckpt_path": "path/to/checkpoint.ckpt",
"batch_size": 32,
"target_labels_path": "path/to/classes.txt",
"classwise_weights_path": "path/to/trust.json"
}
}
Expand Down
Loading