-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hub API Endpoints - Add Malware and Pickle Scanning Attributes #1407
Comments
i think it may be documented somewhere but you can indeed request this info through the API: https://huggingface.co/api/models/mcpotato/42-eicar-street?securityStatus=true cc @McPatate |
In addition, you can also use the (be careful, results are paginated if repo has hundreds of files. You need to check the |
Is your feature request related to a problem? Please describe.
When I load a model on huggingface.co, I can easily view any Malware or Pickle scan results. However, when calling via API (even when pulling full detail), I do not see the malware and pickle scanning attributes.
e.g.: https://huggingface.co/api/models/mcpotato/42-eicar-street returns:
Describe the solution you'd like
Desired output: e.g.: https://huggingface.co/api/models/mcpotato/42-eicar-street returns:
Describe alternatives you've considered
N/A
Additional context
This would be incredibly helpful when establishing policies on acceptable use of models based on model metadata.
The text was updated successfully, but these errors were encountered: