InputExample_EF
s to InputFeatures_EF
Converts a set of InputExample_EF
s to a list of
InputFeatures_EF
. Very similar to convert_examples_to_features
from run_classifier.R. (RBERT issue #28.)
.convert_examples_to_features_EF(examples, seq_length, tokenizer)
List of InputExample_EF
s to convert.
Integer; the maximum number of tokens that will be considered together.
A tokenizer object to use (e.g. object of class FullTokenizer).
A list of InputFeatures
.