This readme is to be done.
It may be better to use uv to run this code. It will automatically install dependencies before running the code.
- Edit
config.pyto choose the dataset (remember to change the dataset path). Change the parameters if necessary. - Run
uv run train.pyto train a classification model. - Run
uv run evaluate.pyto evaluate the trained model.
The LogicMix algorithm is implemented as a subclass of torch.utils.data.Dataset. It should be simple to use by warping a training set.