Skip to content

Instantly share code, notes, and snippets.

@dalequark
Created February 13, 2019 17:00
Show Gist options
  • Save dalequark/4e293e8e328788bed7eeda22692b57ad to your computer and use it in GitHub Desktop.
Save dalequark/4e293e8e328788bed7eeda22692b57ad to your computer and use it in GitHub Desktop.
Import BERT package
from sklearn.model_selection import train_test_split
import pandas as pd
import tensorflow as tf
import tensorflow_hub as hub
from datetime import datetime
# Install and import BERT's libraries
!pip install bert-tensorflow
import bert
from bert import run_classifier
from bert import optimization
from bert import tokenization
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment