Update example scripts

This commit is contained in:
LysandreJik
2019-12-12 12:08:54 -05:00
parent b72f9d340e
commit 3fd71c4431
2 changed files with 4 additions and 4 deletions

View File

@@ -94,7 +94,7 @@ def convert_examples_to_features(examples,
pad_on_left=False,
pad_token=0,
pad_token_segment_id=0,
pad_token_label_id=-1,
pad_token_label_id=-100,
sequence_a_segment_id=0,
mask_padding_with_zero=True):
""" Loads a data file into a list of `InputBatch`s