Merge pull request #430 from MottoX/master

Fix typo in example code
This commit is contained in:
Thomas Wolf
2019-04-02 10:41:56 +02:00
committed by GitHub

View File

@@ -442,7 +442,7 @@ def convert_examples_to_features(examples, label_list, max_seq_length,
# sequence or the second sequence. The embedding vectors for `type=0` and
# `type=1` were learned during pre-training and are added to the wordpiece
# embedding vector (and position vector). This is not *strictly* necessary
# since the [SEP] token unambigiously separates the sequences, but it makes
# since the [SEP] token unambiguously separates the sequences, but it makes
# it easier for the model to learn the concept of sequences.
#
# For classification tasks, the first vector (corresponding to [CLS]) is