This commit is contained in:
hiyouga
2024-02-07 01:10:04 +08:00
parent aacc823b0f
commit 88a1bc9773
9 changed files with 928 additions and 199 deletions

View File

@@ -7,6 +7,7 @@ class GeneratingArguments:
r"""
Arguments pertaining to specify the decoding parameters.
"""
do_sample: Optional[bool] = field(
default=True, metadata={"help": "Whether or not to use sampling, use greedy decoding otherwise."}
)