pyrit.common.download_specific_files

pyrit.common.download_specific_files#

async download_specific_files(model_id: str, file_patterns: list, token: str, cache_dir: Path)[source]#

Downloads specific files from a Hugging Face model repository. If file_patterns is None, downloads all files.

Returns:

List of URLs for the downloaded files.