Unverified Commit e5101c2e authored by Dayyan Smith's avatar Dayyan Smith Committed by GitHub
Browse files

Fix typo (#16208)

parent 25b8f9a8
...@@ -221,7 +221,7 @@ class DataCollatorWithPadding: ...@@ -221,7 +221,7 @@ class DataCollatorWithPadding:
among: among:
- `True` or `'longest'`: Pad to the longest sequence in the batch (or no padding if only a single sequence - `True` or `'longest'`: Pad to the longest sequence in the batch (or no padding if only a single sequence
if provided). is provided).
- `'max_length'`: Pad to a maximum length specified with the argument `max_length` or to the maximum - `'max_length'`: Pad to a maximum length specified with the argument `max_length` or to the maximum
acceptable input length for the model if that argument is not provided. acceptable input length for the model if that argument is not provided.
- `False` or `'do_not_pad'` (default): No padding (i.e., can output a batch with sequences of different - `False` or `'do_not_pad'` (default): No padding (i.e., can output a batch with sequences of different
...@@ -273,7 +273,7 @@ class DataCollatorForTokenClassification(DataCollatorMixin): ...@@ -273,7 +273,7 @@ class DataCollatorForTokenClassification(DataCollatorMixin):
among: among:
- `True` or `'longest'`: Pad to the longest sequence in the batch (or no padding if only a single sequence - `True` or `'longest'`: Pad to the longest sequence in the batch (or no padding if only a single sequence
if provided). is provided).
- `'max_length'`: Pad to a maximum length specified with the argument `max_length` or to the maximum - `'max_length'`: Pad to a maximum length specified with the argument `max_length` or to the maximum
acceptable input length for the model if that argument is not provided. acceptable input length for the model if that argument is not provided.
- `False` or `'do_not_pad'` (default): No padding (i.e., can output a batch with sequences of different - `False` or `'do_not_pad'` (default): No padding (i.e., can output a batch with sequences of different
......
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