File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -198,7 +198,8 @@ def get_cached_module_file(
198
198
199
199
<Tip>
200
200
201
- Passing `` is required when you want to use a private model.
201
+ You may pass a token in `use_auth_token` if you are not logged in (`huggingface-cli long`) and
202
+ want to use private or [gated models](https://huggingface.co/docs/hub/models-gated#gated-models).
202
203
203
204
</Tip>
204
205
@@ -306,7 +307,8 @@ def get_class_from_dynamic_module(
306
307
307
308
<Tip>
308
309
309
- Passing `` is required when you want to use a private model.
310
+ You may pass a token in `use_auth_token` if you are not logged in (`huggingface-cli long`) and
311
+ want to use private or [gated models](https://huggingface.co/docs/hub/models-gated#gated-models).
310
312
311
313
</Tip>
312
314
You can’t perform that action at this time.
0 commit comments