llama-stack/llama_stack/cli/model
Reid 47fccf0d03
style: update model id in model list title (#1072)
# What does this PR do?
[Provide a short summary of what this PR does and why. Link to relevant
issues if applicable.]

Since the subcommands used `MODEL_ID`, it would be better to use it in
`model list` and make it easy to find it.
```
$ llama model verify-download --help
usage: llama model verify-download [-h] --model-id MODEL_ID <<

$ llama model describe --help
usage: llama model describe [-h] -m MODEL_ID  <<

$ llama download --help
--model-id MODEL_ID   See `llama model list` or `llama model list --show-all` for the list of available models


before:
$ llama model list
+-----------------------------------------+-----------------------------------------------------+----------------+
| Model Descriptor                        | Hugging Face Repo                                   | Context Length |
+-----------------------------------------+-----------------------------------------------------+----------------+

after:
$ llama model list
+-----------------------------------------+-----------------------------------------------------+----------------+
| Model Descriptor                        | Model ID                                            | Context Length |
+-----------------------------------------+-----------------------------------------------------+----------------+
| Llama3.1-8B                             | meta-llama/Llama-3.1-8B                             | 128K           |
+-----------------------------------------+-----------------------------------------------------+----------------+
```

[//]: # (If resolving an issue, uncomment and update the line below)
[//]: # (Closes #[issue-number])

## Test Plan
[Describe the tests you ran to verify your changes with result
summaries. *Provide clear instructions so the plan can be easily
re-executed.*]

[//]: # (## Documentation)

Signed-off-by: reidliu <reid201711@gmail.com>
Co-authored-by: reidliu <reid201711@gmail.com>
2025-02-13 08:33:11 -08:00
..
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
describe.py Convert SamplingParams.strategy to a union (#767) 2025-01-15 05:38:51 -08:00
download.py API Updates (#73) 2024-09-17 19:51:35 -07:00
list.py style: update model id in model list title (#1072) 2025-02-13 08:33:11 -08:00
model.py fix: show proper help text (#1065) 2025-02-12 06:38:25 -08:00
prompt_format.py Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00
safety_models.py Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00
verify_download.py Add a verify-download command to llama CLI (#457) 2024-11-14 11:47:51 -08:00