Unverified Commit ea8eba35 authored by Scott Gigante's avatar Scott Gigante Committed by GitHub
Browse files

Fix InputExample docstring (#2891)

parent e2a6445e
...@@ -32,11 +32,11 @@ class InputExample(object): ...@@ -32,11 +32,11 @@ class InputExample(object):
Args: Args:
guid: Unique id for the example. guid: Unique id for the example.
text_a: string. The untokenized text of the first sequence. For single 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. 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 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): def __init__(self, guid, text_a, text_b=None, label=None):
......
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