Skip to content

Commit

Permalink
Hub configs updated 🤗
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchit-gandhi committed Oct 17, 2022
1 parent 463794c commit f78a08b
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -353,11 +353,6 @@ def main():
revision=model_args.model_revision,
use_auth_token=True if model_args.use_auth_token else None,
)

# TODO: address feature extractor attn mask -> remove from whisper config on Hub
if True:
feature_extractor.return_attention_mask = False

tokenizer = AutoTokenizer.from_pretrained(
model_args.tokenizer_name if model_args.tokenizer_name else model_args.model_name_or_path,
cache_dir=model_args.cache_dir,
Expand Down

0 comments on commit f78a08b

Please sign in to comment.