jscuds / rf-bert

MIT License
0 stars 0 forks source link

Random sampler to fix #24

Closed jxmorris12 closed 2 years ago

jxmorris12 commented 2 years ago

Random sampling with replacement seems to fix the sawtooth shape we saw in the loss, especially on fine-tuning QQP.

See PyTorch forum post: Observing strange loss jumps between epochs

Builds on #23