abhishekkrthakur / bert-sentiment

MIT License
269 stars 101 forks source link

Update app.py #13

Open bigfatgoalie opened 4 years ago

bigfatgoalie commented 4 years ago

Removed extra code for padding addition Added argument 'truncation=True' without which PyTorch throws a lot of warnings.

Tested the changes locally. Please review and approve.