download: improve help text

Improve the message that gives a hint about the URL needed for
downloading a llama model. This now includes the URL someone should
visit if they have not already done so.

Closes #202

Signed-off-by: Russell Bryant <russell.bryant@gmail.com>
This commit is contained in:
Russell Bryant 2024-10-07 10:35:35 -04:00
parent 4263764493
commit 6a8e80c015

View file

@ -169,7 +169,7 @@ def run_download_cmd(args: argparse.Namespace, parser: argparse.ArgumentParser):
meta_url = args.meta_url
if not meta_url:
meta_url = input(
"Please provide the signed URL you received via email (e.g., https://llama3-1.llamameta.net/*?Policy...): "
"Please provide the signed URL you received via email after visiting https://www.llama.com/llama-downloads/ (e.g., https://llama3-1.llamameta.net/*?Policy...): "
)
assert meta_url is not None and "llamameta.net" in meta_url
_meta_download(model, meta_url, info)