"docker/requirements/build.txt" did not exist on "ca8a762a7fd9b5e2641add9254e43b4ef0b44526"
  • Ethan Perez's avatar
    [Bug fix] Using loaded checkpoint with --do_predict (instead of… (#3437) · e5c393dc
    Ethan Perez authored
    * Using loaded checkpoint with --do_predict
    
    Without this fix, I'm getting near-random validation performance for a trained model, and the validation performance differs per validation run. I think this happens since the `model` variable isn't set with the loaded checkpoint, so I'm using a randomly initialized model. Looking at the model activations, they differ each time I run evaluation (but they don't with this fix).
    
    * Update checkpoint loading
    
    * Fixing model loading
    e5c393dc
run_pl_glue.py 8 KB