Boundary-Preserving-Twin-EBMs Repository for Boundary-Preserving Twin-EBMs Steps to run the code for BPT-EBM. Train the VQ-VAE using run_ae.sh Train the twin-EBMs using run_ebm_cyclic.sh