Unverified Commit 2f80dbbc authored by Thomas Wolf's avatar Thomas Wolf Committed by GitHub
Browse files

Merge pull request #430 from MottoX/master

Fix typo in example code
parents 94adad6b d07db28f
...@@ -442,7 +442,7 @@ def convert_examples_to_features(examples, label_list, max_seq_length, ...@@ -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 # 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 # `type=1` were learned during pre-training and are added to the wordpiece
# embedding vector (and position vector). This is not *strictly* necessary # 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. # it easier for the model to learn the concept of sequences.
# #
# For classification tasks, the first vector (corresponding to [CLS]) is # For classification tasks, the first vector (corresponding to [CLS]) is
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment