Saving a 'fine-tuned' bert model
问题 I am trying to save a fine tuned bert model. I have ran the code correctly - it works fine, and in the ipython console I am able to call getPrediction and have it result the result. I have my weight files saved (highest being model.ckpt-333.data-00000-of-00001 I have no idea how I would go about saving the model to be reuseable. I am using bert-tensorflow. import json import pandas as pd import tensorflow as tf import tensorflow_hub as hub from datetime import datetime from sklearn.model