Learn R Programming

RBERT (version 0.1.11)

file_based_convert_examples_to_features: Convert a set of InputExamples to a TFRecord file.

Description

description

Usage

file_based_convert_examples_to_features(
  examples,
  label_list,
  max_seq_length,
  tokenizer,
  output_file
)

Arguments

examples

List of InputExamples to convert.

label_list

Character (or integer?); possible labels for examples.

max_seq_length

Integer; the maximum number of tokens that will be considered together.

tokenizer

A tokenizer object to use (e.g. object of class FullTokenizer).

output_file

Character; path to file to write to.

Value

return value