diff --git a/src/transformers/feature_extraction_utils.py b/src/transformers/feature_extraction_utils.py index bed343e48d6238..b0df39e1642b9a 100644 --- a/src/transformers/feature_extraction_utils.py +++ b/src/transformers/feature_extraction_utils.py @@ -453,6 +453,7 @@ def get_feature_extractor_dict( force_download = kwargs.pop("force_download", False) resume_download = kwargs.pop("resume_download", False) proxies = kwargs.pop("proxies", None) + subfolder = kwargs.pop("subfolder", None) token = kwargs.pop("token", None) use_auth_token = kwargs.pop("use_auth_token", None) local_files_only = kwargs.pop("local_files_only", False) @@ -502,6 +503,7 @@ def get_feature_extractor_dict( proxies=proxies, resume_download=resume_download, local_files_only=local_files_only, + subfolder=subfolder, token=token, user_agent=user_agent, revision=revision,