Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge --use-ontology-for-* into --use-ontology
Summary: There are three options for the ontology: * `--use-ontology-for-training` * `--use-ontology-for-validation` * `--use-ontology-for-balancing` The first two must always be set together. In the past, I observed that it's best not to use ontology for data balancing even if we use ontology for training and validation. But now I no longer observe this. Therefore, I'm merging all these three options into one (`--use-ontology`). In addition, I'm also moving the logic of avoiding loading teacher models out of `checkpoint_utils.py`. If you want to load a student model without loading its teachers (e.g. for prediction only), specify `arg_overrides={"ignore_teachers": True}` when calling `load_model_ensemble`. Reviewed By: xiaoxiao26 Differential Revision: D32518830 fbshipit-source-id: 103c6458f7927ec5ca7470109c8f956c00f514a2
- Loading branch information