From ea8eba35e2984882c3cd522ff669eb8060941a94 Mon Sep 17 00:00:00 2001 From: Scott Gigante Date: Thu, 20 Feb 2020 15:25:15 -0500 Subject: [PATCH] Fix InputExample docstring (#2891) --- src/transformers/data/processors/utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/transformers/data/processors/utils.py b/src/transformers/data/processors/utils.py index 4cc931cdf9..0c31c6ce96 100644 --- a/src/transformers/data/processors/utils.py +++ b/src/transformers/data/processors/utils.py @@ -32,11 +32,11 @@ class InputExample(object): Args: guid: Unique id for the example. text_a: string. The untokenized text of the first sequence. For single - sequence tasks, only this sequence must be specified. + sequence tasks, only this sequence must be specified. text_b: (Optional) string. The untokenized text of the second sequence. - Only must be specified for sequence pair tasks. + Only must be specified for sequence pair tasks. label: (Optional) string. The label of the example. This should be - specified for train and dev examples, but not for test examples. + specified for train and dev examples, but not for test examples. """ def __init__(self, guid, text_a, text_b=None, label=None):