Skip to content

Commit

Permalink
Merge pull request #408 from GoogleCloudPlatform/fix_classify_text_wi…
Browse files Browse the repository at this point in the history
…th_bert

fix imports in lab folder - classify text with BERT
  • Loading branch information
takumiohym authored Nov 2, 2023
2 parents 2405123 + f44bc0c commit a602011
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions notebooks/text_models/labs/classify_text_with_bert.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,14 @@
},
"outputs": [],
"source": [
"import datetime\n",
"import shutil\n",
"\n",
"import matplotlib.pyplot as plt\n",
"import tensorflow as tf\n",
"import tensorflow_hub as hub\n",
"import tensorflow_text as text\n",
"from google.cloud import aiplatform\n",
"from official.nlp import optimization # to create AdamW optmizer\n",
"\n",
"tf.get_logger().setLevel(\"ERROR\")"
Expand Down

0 comments on commit a602011

Please sign in to comment.