fastbook
fastbook copied to clipboard
The fastai book, published as Jupyter Notebooks
removing unused code, for better understanding
There seems to be some prose left where it shouldn't
Update the content of README_zh.md and fix small translation issue.
We need to convert TensorImage to TensorBase, in activs, to run BCELossWithLogits.
Before running `predictions,bias,contributions = treeinterpreter.predict(m,row.values)` they were not imported. `from treeinterpreter import treeinterpreter` And before running `waterfall(valid_xs_final.columns, contributions[0],threshold=0.08,rotation_value=45,formatting='{:,.3f}');` it was not imported, `from waterfall_chart import plot as waterfall `
Proposal to fix the spelling of Ron Kohavi. P.S. Thank you for making fastbook free and accessible via notebooks! The book, course, and recordings are all wonderful resources for learning...
When I try to run the following code ``` from fastai.text.all import * dls = TextDataLoaders.from_folder(untar_data(URLs.IMDB), valid='test', bs=32) learn = text_classifier_learner(dls, AWD_LSTM, drop_mult=0.5, metrics=accuracy) learn.fine_tune(4, 1e-2) ``` I get this...