# How exactly Llama is accessed?

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-exactly-llama-is-accessed%2F109027%3E%5C
**Category:** Beginners\
**Created:** [September 27, 2024, 2:34pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-exactly-llama-is-accessed%2F109027 "2024-09-27T14:34:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mahmoodn](https://avatars.discourse-cdn.com/v4/letter/m/ce7236/32.png) [@Mahmoodn](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FMahmoodn)%5C
**Post date:** [September 27, 2024, 2:34pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-exactly-llama-is-accessed%2F109027%2F1 "2024-09-27T14:34:58Z")

</div>

Hi,  
I would like to download Llama-2-70b-chat-ht with the following command but as you can see it gives an error regarding Meta’s license.

```auto
$ git clone https://mahmoodn:TOKEN@huggingface.co/meta-llama/Lla
ma-2-70b-chat-hf ${CHECKPOINT_PATH}
Cloning into 'Llama-2-70b-chat-hf'...
remote: Access to model meta-llama/Llama-2-70b-chat-hf is restricted and you are not in the authorized list. Visit https://huggingface.co/meta-llama/Llama-2-70b-chat-hf to ask for access.
fatal: unable to access 'https://huggingface.co/meta-llama/Llama-2-70b-chat-hf/': The requested URL returned error: 403

```

When I visit Meta’s page, it gives some instructions to download the models, however, this specific version doesn’t exists:

```auto
$ llama model download --source meta --model-id Llama-2-70b-chat-ht
usage: llama model download [-h] [--source {meta,huggingface}] [--model-id MODEL_ID] [--hf-token HF_TOKEN] [--meta-url META_URL]
                            [--ignore-patterns IGNORE_PATTERNS] [--manifest-file MANIFEST_FILE]
llama model download: error: Model Llama-2-70b-chat-ht not found

```

I got confused on how to download that model. How can I request an access to Llama-2-70b-chat-ht?

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [September 28, 2024, 4:01am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-exactly-llama-is-accessed%2F109027%2F2 "2024-09-28T04:01:04Z")

</div>

That model is a gated model, so you cannot download or use it unless you first fill out the necessary information on this page and get approval before using the token.  
In your case, it seems that you have already used the token, so once you have been authorized, you should be able to use the first method after that.

> **[meta-llama/Llama-2-70b-chat-hf · Hugging Face](https://huggingface.co/meta-llama/Llama-2-70b-chat-hf)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/hellohellohello/original/2X/d/de4155eb4aa4108ecb32a1389d7cc37ae69f88b7.png) [@system](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fsystem)%5C
**Post date:** [September 28, 2024, 7:52pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-exactly-llama-is-accessed%2F109027%2F3 "2024-09-28T19:52:28Z")

</div>

Closed on September 28, 2024, 7:52pm UTC

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.
