Last active
November 23, 2021 05:05
-
-
Save nbertagnolli/3dd87f8702570749dc7c111ae8997189 to your computer and use it in GitHub Desktop.
Holds the code for https://towardsdatascience.com/build-a-bert-sci-kit-transformer-59d60ddd54a5
Thanks! I'm glad that you liked it! I'll take a look later this week!
Thanks a lot for sharing
Hi! Thanks for this great tutorial. I have tried running your notebook, but model.fit()
raises AttributeError: 'BertTransformer' object has no attribute 'bert_model'
. Any ideas how to fix this?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@nbertagnolli I really enjoyed your BERT tutorial with scikit-learn. I have updated the code to include padding and to explicitly truncate long text. Please feel free to update the code from my fork here: https://gist.github.com/nialloriordan/4deec5ad99613f02201b65f26d66cf48