Skip to content

Instantly share code, notes, and snippets.

@dalequark
Created February 13, 2019 17:32
Show Gist options
  • Save dalequark/683e54ac72f04e91068c534cf7488dc9 to your computer and use it in GitHub Desktop.
Save dalequark/683e54ac72f04e91068c534cf7488dc9 to your computer and use it in GitHub Desktop.
BERT - test
# Load our test data
test_input_fn = run_classifier.input_fn_builder(
features=test_features,
seq_length=MAX_SEQ_LENGTH,
is_training=False,
drop_remainder=False)
estimator.evaluate(input_fn=test_input_fn, steps=None)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment