codertimo / BERT-pytorch

Google AI 2018 BERT pytorch implementation
Apache License 2.0
6.09k stars 1.29k forks source link

Fix require_grad typo #104

Open kit1980 opened 11 months ago

kit1980 commented 11 months ago

Fix require_grad typos (should be requires_grad). Before the fix, the code doesn't cause any errors but doesn't do what it's supposed to do.

Also see https://github.com/pytorch/benchmark/pull/1771