powered by
Given a path to a json config file, construct a BertConfig object with appropriate values.
bert_config_from_json_file(json_file)
Character; the path to a json config file.
An object of class BertConfig
# NOT RUN { temp_dir <- tempdir() json_file <- file.path( temp_dir, "BERT_checkpoints", "uncased_L-12_H-768_A-12", "bert_config.json" ) bert_config_from_json_file(json_file) # }
Run the code above in your browser using DataLab