kikocis/llama-stack public
Changesets · Branches · Tags · Compare
| Changeset | 97c937a181e728231cf4790185e2b818ba9bb1cae48f3790a7cbeaf51ea10680 |
|---|---|
| Author | Xi Yan <xiyan@meta.com> · 2024-09-24 14:41 -07:00 |
| Committer | Xi Yan <xiyan@meta.com> · 2024-09-24 14:41 -07:00 |
| Parents | c6107547cd52 |
1 file changed
modified llama_stack/cli/model/describe.py +3 −3
| @@ -9,12 +9,12 @@ | ||
| 9 | 9 | |
| 10 | 10 | from llama_models.sku_list import resolve_model |
| 11 | 11 | |
| 12 | -from termcolor import colored | |
| 13 | - | |
| 14 | 12 | from llama_stack.cli.subcommand import Subcommand |
| 15 | 13 | from llama_stack.cli.table import print_table |
| 16 | 14 | from llama_stack.distribution.utils.serialize import EnumEncoder |
| 17 | 15 | |
| 16 | +from termcolor import colored | |
| 17 | + | |
| 18 | 18 | |
| 19 | 19 | class ModelDescribe(Subcommand): |
| 20 | 20 | """Show details about a model""" |
| @@ -52,7 +52,7 @@ | ||
| 52 | 52 | colored(model.descriptor(), "white", attrs=["bold"]), |
| 53 | 53 | ), |
| 54 | 54 | ("HuggingFace ID", model.huggingface_repo or "<Not Available>"), |
| 55 | - ("Description", model.description_markdown), | |
| 55 | + ("Description", model.description), | |
| 56 | 56 | ("Context Length", f"{model.max_seq_length // 1024}K tokens"), |
| 57 | 57 | ("Weights format", model.quantization_format.value), |
| 58 | 58 | ("Model params.json", json.dumps(model.arch_args, indent=4)), |