missing links

This commit is contained in:
Xi Yan 2024-11-01 10:46:17 -07:00
parent ad5cf3e9ef
commit 1c85f30db1

View file

@ -169,7 +169,7 @@ The `llama model` command helps you explore the models interface.
``` ```
llama model --help llama model --help
``` ```
<pre style="font-family: monospace;"> ```
usage: llama model [-h] {download,list,prompt-format,describe} ... usage: llama model [-h] {download,list,prompt-format,describe} ...
Work with llama models Work with llama models
@ -179,7 +179,7 @@ options:
model_subcommands: model_subcommands:
{download,list,prompt-format,describe} {download,list,prompt-format,describe}
</pre> ```
You can use the describe command to know more about a model: You can use the describe command to know more about a model:
``` ```
@ -187,7 +187,7 @@ llama model describe -m Llama3.2-3B-Instruct
``` ```
### Describe ### Describe
<pre style="font-family: monospace;"> ```
+-----------------------------+----------------------------------+ +-----------------------------+----------------------------------+
| Model | Llama3.2-3B-Instruct | | Model | Llama3.2-3B-Instruct |
+-----------------------------+----------------------------------+ +-----------------------------+----------------------------------+
@ -219,14 +219,15 @@ llama model describe -m Llama3.2-3B-Instruct
| | "top_k": 0 | | | "top_k": 0 |
| | } | | | } |
+-----------------------------+----------------------------------+ +-----------------------------+----------------------------------+
</pre> ```
### Prompt Format ### Prompt Format
You can even run `llama model prompt-format` see all of the templates and their tokens: You can even run `llama model prompt-format` see all of the templates and their tokens:
``` ```
llama model prompt-format -m Llama3.2-3B-Instruct llama model prompt-format -m Llama3.2-3B-Instruct
``` ```
![alt text](../resources/prompt-format.png) ![alt text](../../resources/prompt-format.png)