reverting brill_trainer_orig.py