Skip to content

Instantly share code, notes, and snippets.

@gaphex
Created May 9, 2019 16:11
Show Gist options
  • Save gaphex/c167bcbc3179811d051e0e8a0fd86fb2 to your computer and use it in GitHub Desktop.
Save gaphex/c167bcbc3179811d051e0e8a0fd86fb2 to your computer and use it in GitHub Desktop.
BUCKET_NAME = "bert_resourses" #@param {type:"string"}
MODEL_DIR = "bert_model" #@param {type:"string"}
tf.gfile.MkDir(MODEL_DIR)
if not BUCKET_NAME:
log.warning("WARNING: BUCKET_NAME is not set. "
"You will not be able to train the model.")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment