forked from phoenix-oss/llama-stack-mirror
fix cli describe
This commit is contained in:
parent
00352bd251
commit
c4534217c8
1 changed files with 3 additions and 3 deletions
|
@ -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 "<Not Available>"),
|
||||
("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)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue