From c4534217c84de25caf4361f5837102e0d5618a4e Mon Sep 17 00:00:00 2001 From: Xi Yan Date: Tue, 24 Sep 2024 14:41:13 -0700 Subject: [PATCH] fix cli describe --- llama_stack/cli/model/describe.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llama_stack/cli/model/describe.py b/llama_stack/cli/model/describe.py index c99cb06c1..70bd28a83 100644 --- a/llama_stack/cli/model/describe.py +++ b/llama_stack/cli/model/describe.py @@ -9,12 +9,12 @@ import json from llama_models.sku_list import resolve_model -from termcolor import colored - from llama_stack.cli.subcommand import Subcommand from llama_stack.cli.table import print_table from llama_stack.distribution.utils.serialize import EnumEncoder +from termcolor import colored + class ModelDescribe(Subcommand): """Show details about a model""" @@ -52,7 +52,7 @@ class ModelDescribe(Subcommand): colored(model.descriptor(), "white", attrs=["bold"]), ), ("HuggingFace ID", model.huggingface_repo or ""), - ("Description", model.description_markdown), + ("Description", model.description), ("Context Length", f"{model.max_seq_length // 1024}K tokens"), ("Weights format", model.quantization_format.value), ("Model params.json", json.dumps(model.arch_args, indent=4)),