Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# import BERT-base pretrained model
bert = AutoModel.from_pretrained('bert-base-uncased')
# Load the BERT tokenizer
tokenizer = BertTokenizerFast.from_pretrained('bert-base-uncased')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment