Skip to content

Instantly share code, notes, and snippets.

@hanneshapke
Created March 20, 2020 18:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hanneshapke/4bcf2bc580283ecc91624654678c4f02 to your computer and use it in GitHub Desktop.
Save hanneshapke/4bcf2bc580283ecc91624654678c4f02 to your computer and use it in GitHub Desktop.
bert_layer = load_bert_layer()
pooled_output, _ = bert_layer(
[input_word_ids,
input_mask,
input_type_ids
]
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment