[Doc] Fix a typo (#14385)
This commit is contained in:
parent
0578e5a462
commit
ad60bbb2b2
@ -174,7 +174,7 @@ def sample_sonnet_requests(
|
|||||||
) -> list[tuple[str, str, int, int, None]]:
|
) -> list[tuple[str, str, int, int, None]]:
|
||||||
assert (
|
assert (
|
||||||
input_len > prefix_len
|
input_len > prefix_len
|
||||||
), "'args.sonnet-input-len' must be greater than 'args.prefix-input-len'."
|
), "'args.sonnet-input-len' must be greater than 'args.sonnet-prefix-len'."
|
||||||
|
|
||||||
# Load the dataset.
|
# Load the dataset.
|
||||||
with open(dataset_path, encoding='utf-8') as f:
|
with open(dataset_path, encoding='utf-8') as f:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user