Cant download the model

#5
by nayangoel - opened

Hi! I am trying to work on a project that could highly benefit from a model trained for security. I tried to download the model in LMstudio and get the following error. Would highly appreciate you helping out with this so I can complete my project. Thanks in advance.
Screenshot 2025-08-13 at 10.24.37 AM.png

Hi, You’re most likely unable to download the model because it’s private. You can follow the instructions below to resolve this. 🙏🏻

How to Download a Private Hugging Face Model into LM Studio Using an Access Token

  1. Prepare on Hugging Face
    1. Ensure you have access to the model.
      • If the repo is private, you must be added as a collaborator.
      • If it’s a gated (restricted) model, go to the repo page and “Agree & Access” / “Request access”.
    2. Create a Read token
      • On Hugging Face: Settings → Access Tokens → New token → Role/Scope: Read → copy the token.

  1. Add the token in LM Studio (GUI – easiest method)
    1. Go to LM Studio → Settings → Integrations/Providers → Hugging Face.
    2. Paste your Access Token into the field and click Save / Verify.

  1. Download the model in LM Studio

LM Studio works best with GGUF format models (e.g., from TheBloke/… repos).

•	In Models → Explore/Download, type the full repo name (e.g., owner/repo-name) or paste the Hugging Face model URL.
•	Pick the desired .gguf file (e.g., Q4_K_M, Q5_K_M, Q6_K_M) and click Download.
•	Once downloaded, it will appear under Local, ready to run.

Or manual Download files

huggingface-cli login

or one-time:

huggingface-cli login --token HF_xxx

huggingface-cli download owner/repo-name --include "*.gguf" --local-dir ./my-model

Screenshot 2025-08-18 at 3.47.13 PM.png
Thank you for the steps. I have requested access. waiting on your approval. Thanks again!

Sign up or log in to comment