Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong fine_tuned_encoder being loaded in "nn-vietnamese-bwd" notebook? #19

Open
jolackner opened this issue Aug 28, 2019 · 0 comments
Open

Comments

@jolackner
Copy link

jolackner commented Aug 28, 2019

It seems that the wrong encoder is being loaded in the nn-vietnamese-bwd.ipynb notebook ("Classifier" section):

learn_c = text_classifier_learner(data_clas, AWD_LSTM, drop_mult=0.5, metrics[accuracy,f1]).to_fp16()
learn_c.load_encoder(f'{lang}fine_tuned_enc')
learn_c.freeze()

I think the backwards encoder should be loaded here, changing the line to:
learn_c.load_encoder(f'{lang}fine_tuned_enc_bwd')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant