]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
scripts : add --outdir option to hf.sh (#6600)
authorDaniel Bevenius <redacted>
Thu, 11 Apr 2024 13:22:47 +0000 (15:22 +0200)
committerGitHub <redacted>
Thu, 11 Apr 2024 13:22:47 +0000 (16:22 +0300)
commitf4183afe6a22f356ee222a710686ae7f83dbd949
tree3d9834a98f6a16558ab6790aff15f7fb6c491277
parentb804b1ef77351d2a11be945462c6c251710476cb
scripts : add --outdir option to hf.sh (#6600)

* scripts : add --outdir option to hf.sh

This commit adds an option to the hf.sh script that allows the user to
specify an output directory for the downloaded file.

The motivation for this changes is that examples that use the hf.sh
script to download models from huggingface can now specify the output
directory, perhaps to the `models` directory to keep them in one place
and not clutter the root directory.

Signed-off-by: Daniel Bevenius <redacted>
* squash! scripts : add --outdir option to hf.sh

Fix format of the --outdir option in the usage message.

Signed-off-by: Daniel Bevenius <redacted>
---------

Signed-off-by: Daniel Bevenius <redacted>
scripts/hf.sh