{# The shape of one model: size, precision, context and what it is for.
Metadata is absent whenever llama-swap is unreachable, so every badge here
is optional and the cell may render empty. #}
{% if model.meta %}
{% set meta = model.meta %}
{% set parameters = format_parameters(meta.parameters) %}
{% if parameters %}
{{ parameters }}
{% endif %}
{% if meta.quantization %}
{{ meta.quantization }}
{% endif %}
{% set context = format_context(meta.context_length) %}
{% if context %}
{{ context }}
{% endif %}
{% if meta.task %}
{% set task = task_badge(meta.task) %}
{{ task.label }}
{% endif %}