amaiya / ktrain

ktrain is a Python library that makes deep learning and AI more accessible and easier to apply
Apache License 2.0
1.23k stars 269 forks source link

Update BERT IMDB example in README to work with latest changes #19

Closed teticio closed 4 years ago

teticio commented 4 years ago

I recommend changing the following line in "Example: Text Classification of IMDb Movie Reviews Using BERT":

model = txt.text_classifier('bert', (x_train, y_train))

->

model = txt.text_classifier('bert', (x_train, y_train), preproc)

Thanks for a great repo! Best

amaiya commented 4 years ago

Thanks for catching this and opening an issue. This will be corrected in the next push.

teticio commented 4 years ago

Thank you!

On Tue, Oct 15, 2019 at 3:45 AM Arun S. Maiya notifications@github.com wrote:

Closed #19 https://github.com/amaiya/ktrain/issues/19.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/amaiya/ktrain/issues/19?email_source=notifications&email_token=AKRPDB23LTTN5ZNTNH6UW3TQOUOFBA5CNFSM4JAMEIJKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOUGVB6GQ#event-2712280858, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKRPDB4DFYOX4JRC5FDWIB3QOUOFBANCNFSM4JAMEIJA .

-- Echa un vistazo a mi página web sobre Mindfulness - Attention Coach https://www.attentioncoach.es