bert_config_from_json_file | R Documentation |
Given a path to a json config file, construct a BertConfig object with appropriate values.
bert_config_from_json_file(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) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.