Elffuss BraidHub

kikocis/llama-stack public

minor typo and HuggingFace -> Hugging Face (#113)

Changeset79315843ed6c1659cac61ba2443b9af966aad03d01a516382d289da4f8c9b32b
AuthorMark Sze <66362098+marklysze@users.noreply.github.com> · 2024-09-27 02:48 +10:00
CommitterGitHub <noreply@github.com> · 2024-09-26 09:48 -07:00
Parents33277250c87b

Browse the files at this changeset

4 files changed

modified docs/cli_reference.md +4 −4
@@ -3,7 +3,7 @@
33 The `llama` CLI tool helps you setup and use the Llama toolchain & agentic systems. It should be available on your path after installing the `llama-stack` package.
44
55 ### Subcommands
6-1. `download`: `llama` cli tools supports downloading the model from Meta or HuggingFace.
6+1. `download`: `llama` cli tools supports downloading the model from Meta or Hugging Face.
77 2. `model`: Lists available models and their properties.
88 3. `stack`: Allows you to build and run a Llama Stack server. You can read more about this [here](/docs/cli_reference.md#step-3-building-configuring-and-running-llama-stack-servers).
99
@@ -38,7 +38,7 @@
3838
3939 <pre style="font-family: monospace;">
4040 +----------------------------------+------------------------------------------+----------------+
41-| Model Descriptor | HuggingFace Repo | Context Length |
41+| Model Descriptor | Hugging Face Repo | Context Length |
4242 +----------------------------------+------------------------------------------+----------------+
4343 | Llama3.1-8B | meta-llama/Llama-3.1-8B | 128K |
4444 +----------------------------------+------------------------------------------+----------------+
@@ -112,7 +112,7 @@
112112 llama download --source meta --model-id Llama-Guard-3-8B --meta-url META_URL
113113 ```
114114
115-#### Downloading from [Huggingface](https://huggingface.co/meta-llama)
115+#### Downloading from [Hugging Face](https://huggingface.co/meta-llama)
116116
117117 Essentially, the same commands above work, just replace `--source meta` with `--source huggingface`.
118118
@@ -180,7 +180,7 @@
180180 +-----------------------------+----------------------------------+
181181 | Model | Llama3.2-3B-Instruct |
182182 +-----------------------------+----------------------------------+
183-| HuggingFace ID | meta-llama/Llama-3.2-3B-Instruct |
183+| Hugging Face ID | meta-llama/Llama-3.2-3B-Instruct |
184184 +-----------------------------+----------------------------------+
185185 | Description | Llama 3.2 3b instruct model |
186186 +-----------------------------+----------------------------------+
modified llama_stack/cli/model/describe.py +1 −1
@@ -51,7 +51,7 @@
5151 colored("Model", "white", attrs=["bold"]),
5252 colored(model.descriptor(), "white", attrs=["bold"]),
5353 ),
54- ("HuggingFace ID", model.huggingface_repo or "<Not Available>"),
54+ ("Hugging Face ID", model.huggingface_repo or "<Not Available>"),
5555 ("Description", model.description),
5656 ("Context Length", f"{model.max_seq_length // 1024}K tokens"),
5757 ("Weights format", model.quantization_format.value),
modified llama_stack/cli/model/list.py +1 −1
@@ -36,7 +36,7 @@
3636 def _run_model_list_cmd(self, args: argparse.Namespace) -> None:
3737 headers = [
3838 "Model Descriptor",
39- "HuggingFace Repo",
39+ "Hugging Face Repo",
4040 "Context Length",
4141 ]
4242
modified tests/test_inference.py +1 −1
@@ -20,7 +20,7 @@
2020 MODEL = "Llama3.1-8B-Instruct"
2121 HELPER_MSG = """
2222 This test needs llama-3.1-8b-instruct models.
23-Please donwload using the llama cli
23+Please download using the llama cli
2424
2525 llama download --source huggingface --model-id llama3_1_8b_instruct --hf-token <HF_TOKEN>
2626 """