mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-08-30 02:53:41 +08:00
Fix default prompt
This commit is contained in:
parent
392b7a2f98
commit
2a8ee32b02
4
t5/t5.py
4
t5/t5.py
@ -328,8 +328,8 @@ if __name__ == "__main__":
|
|||||||
parser = argparse.ArgumentParser(description="T5 Inference script")
|
parser = argparse.ArgumentParser(description="T5 Inference script")
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--prompt",
|
"--prompt",
|
||||||
help="translate English to German: That is good.",
|
help="",
|
||||||
default="",
|
default="translate English to German: That is good.",
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--max_tokens",
|
"--max_tokens",
|
||||||
|
Loading…
Reference in New Issue
Block a user