Created
March 30, 2019 07:07
-
-
Save MLWhiz/03ed80d32aaba37fb1240d4d03897456 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Language model data : We use test_df as validation for language model | |
data_lm = TextLMDataBunch.from_df(path = "",train_df= train_df ,valid_df = test_df) | |
learn = language_model_learner(data_lm, AWD_LSTM, drop_mult=0.5) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment