All Projects → ThilinaRajapakse → Bert_binary_text_classification

ThilinaRajapakse / Bert_binary_text_classification

Licence: apache-2.0
Accompanying code for the Medium article

Projects that are alternatives of or similar to Bert binary text classification

Numbapro Examples
Examples of NumbaPro in use.
Stars: ✭ 145 (-1.36%)
Mutual labels:  jupyter-notebook
Fantasy Basketball
Scraping statistics, predicting NBA player performance with neural networks and boosting algorithms, and optimising lineups for Draft Kings with genetic algorithm. Capstone Project for Machine Learning Engineer Nanodegree by Udacity.
Stars: ✭ 146 (-0.68%)
Mutual labels:  jupyter-notebook
Chess Alpha Zero
Chess reinforcement learning by AlphaGo Zero methods.
Stars: ✭ 1,868 (+1170.75%)
Mutual labels:  jupyter-notebook
Ds production
Stars: ✭ 146 (-0.68%)
Mutual labels:  jupyter-notebook
Face generator
DCGAN face generator 🧑.
Stars: ✭ 146 (-0.68%)
Mutual labels:  jupyter-notebook
Deeplearningbookcode Volume1
Python/Jupyter notebooks for Volume 1 of "Deep Learning - From Basics to Practice" by Andrew Glassner
Stars: ✭ 146 (-0.68%)
Mutual labels:  jupyter-notebook
Python Machine Learning Book
The "Python Machine Learning (1st edition)" book code repository and info resource
Stars: ✭ 11,428 (+7674.15%)
Mutual labels:  jupyter-notebook
Testbook
🧪 📗 Unit test your Jupyter Notebooks the right way
Stars: ✭ 146 (-0.68%)
Mutual labels:  jupyter-notebook
Siamese Networks
Few Shot Learning by Siamese Networks, using Keras.
Stars: ✭ 146 (-0.68%)
Mutual labels:  jupyter-notebook
Dpca
An implementation of demixed Principal Component Analysis (a supervised linear dimensionality reduction technique)
Stars: ✭ 146 (-0.68%)
Mutual labels:  jupyter-notebook
Bertem
论文实现(ACL2019):《Matching the Blanks: Distributional Similarity for Relation Learning》
Stars: ✭ 146 (-0.68%)
Mutual labels:  jupyter-notebook
Formation Deep Learning
Supports de formation Deep Learning (diapos et exercices pratiques)
Stars: ✭ 146 (-0.68%)
Mutual labels:  jupyter-notebook
Segaware
Segmentation-Aware Convolutional Networks Using Local Attention Masks
Stars: ✭ 146 (-0.68%)
Mutual labels:  jupyter-notebook
100daysofmlcode
My journey to learn and grow in the domain of Machine Learning and Artificial Intelligence by performing the #100DaysofMLCode Challenge.
Stars: ✭ 146 (-0.68%)
Mutual labels:  jupyter-notebook
Deepschool.io
Deep Learning tutorials in jupyter notebooks.
Stars: ✭ 1,780 (+1110.88%)
Mutual labels:  jupyter-notebook
Deep Learning With Tensorflow Book
深度学习入门开源书,基于TensorFlow 2.0案例实战。Open source Deep Learning book, based on TensorFlow 2.0 framework.
Stars: ✭ 12,105 (+8134.69%)
Mutual labels:  jupyter-notebook
Applied Dl 2018
Tel-Aviv Deep Learning Boot-camp: 12 Applied Deep Learning Labs
Stars: ✭ 146 (-0.68%)
Mutual labels:  jupyter-notebook
Anomaly detection tuto
Anomaly detection tutorial on univariate time series with an auto-encoder
Stars: ✭ 144 (-2.04%)
Mutual labels:  jupyter-notebook
Bug Hunting Colab
A Colab For Bug Hunting!
Stars: ✭ 147 (+0%)
Mutual labels:  jupyter-notebook
Optical Flow Filter
A real time optical flow algorithm implemented on GPU
Stars: ✭ 146 (-0.68%)
Mutual labels:  jupyter-notebook

Update

Update 2. Check out SimpleTransformers if you want a ready to use (3 lines total for initializing, training, and evaluating) library. Currently supports BERT, RoBERTa, XLM, XLNet, and DistilBERT models for binary and multiclass classification.

Update 1. In light of the update to the library used in this repo (HuggingFace updated the pytorch-pretrained-bert library to pytorch-transformers), I have written a new guide as well as a new repo. I highly recommend using those instead as the code has been cleaned up both on my end and in the Pytorch-Transformers library, greatly streamlining the whole process. Also, any updates and fixes will primarily be for the updated versions. The new repo also supports XLNet, XLM, and RoBERTa models out of the box, in addition to BERT, as of September 2019.

Binary Text Classification with BERT

Accompanying code for the Medium article found at https://medium.com/@chaturangarajapakshe/a-simple-guide-on-using-bert-for-text-classification-bbf041ac8d04.

Important!

This repository was not meant to be a standalone guide to using BERT. It was originally created to accompany the article above.
If you are using this repo to set up BERT and you run into any issues, I highly recommend that you go through the article as it explains things in more detail.
Even if you don't run into problems, the article should give a better picture of how I did things, and why I chose to do it that way. Gaining that perspective may help you to adapt this code to your project in a more suitable and/or efficient manner.

Happy coding!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].