We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d047bf commit c491e53Copy full SHA for c491e53
bandit/plugins/huggingface_unsafe_download.py
@@ -26,8 +26,8 @@
26
- ``AutoTokenizer.from_pretrained("org/model-name", revision="main")``
27
- ``AutoTokenizer.from_pretrained("org/model-name", revision="v3.3.0")``
28
- ``hf_hub_download(repo_id="org/model_name", filename="file_name")``
29
-- ``hf_hub_download(repo_id="org/model_name",
30
- filename="file_name",
+- ``hf_hub_download(repo_id="org/model_name",
+ filename="file_name",
31
revision="main"
32
)``
33
- ``hf_hub_download(repo_id="org/model_name",
0 commit comments