find_files: Find Checkpoint Files

find_filesR Documentation

Find Checkpoint Files

Description

Given the path to a checkpoint directory, return the paths to certain files in that directory.

Usage

find_vocab(ckpt_dir)

find_config(ckpt_dir)

find_ckpt(ckpt_dir)

Arguments

ckpt_dir

Character; the path to the checkpoint directory. If this argument is NULL, the associated functions also return NULL.

Functions

  • find_vocab: Find the vocabulary file ('vocab.txt').

  • find_config: Find the config file ('bert_config.json').

  • find_ckpt: Find the checkpoint file stub (files begin with 'bert_model.ckpt').


jonathanbratt/RBERT documentation built on Jan. 26, 2023, 4:15 p.m.