mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-10 20:04:52 +00:00
Add gated docs (#797)
Added a section on private & gated model access. --------- Co-authored-by: Omar Sanseviero <osanseviero@gmail.com>
This commit is contained in:
parent
ec592d550e
commit
c48c2cc1fe
@ -13,4 +13,6 @@
|
||||
title: Consuming TGI
|
||||
- local: basic_tutorials/preparing_model
|
||||
title: Preparing Model for Serving
|
||||
- local: basic_tutorials/gated_model_access
|
||||
title: Serving Private & Gated Models
|
||||
title: Tutorials
|
||||
|
5
docs/source/basic_tutorials/gated_model_access.md
Normal file
5
docs/source/basic_tutorials/gated_model_access.md
Normal file
@ -0,0 +1,5 @@
|
||||
# Serving Private & Gated Models
|
||||
|
||||
If the model you wish to serve is behind gated access or the model repository on Hugging Face Hub is private, and you have access to the model, you can provide your Hugging Face Hub access token. You can generate and copy a read token from [Hugging Face Hub tokens page](https://huggingface.co/settings/tokens)
|
||||
|
||||
If you're using the CLI, set the `HUGGING_FACE_HUB_TOKEN` environment variable.
|
Loading…
Reference in New Issue
Block a user