(cls, json_file)
return cls.from_dict(json.loads(text))
Constructs a `BertConfig` from a json file of parameters.
Constructs a `BertConfig` from a json file of parameters.
Constructs a BertConfig from a json file of parameters .
def from_json_file(cls, json_file):
    """Constructs a `BertConfig` from a json file of parameters."""
    with tf.gfile.GFile(json_file, "r") as reader:
      text = reader.read()
    return cls.from_dict(json.loads(text))
def from_json_file ( cls , json_file ) : with tf . gfile . GFile ( json_file , "r" ) as reader : text = reader . read ( ) return cls . from_dict ( json . loads ( text ) )