You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HERIUN
changed the title
Wav2Vec2BertForSequenceClassification. return_attention_mask work weried.
Wav2Vec2BertForSequenceClassification. return_attention_mask work wrong
Jan 3, 2025
System Info
transformers
version: 4.47.1Who can help?
@ylacombe
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
I'am using https://github.com/huggingface/transformers/blob/main/examples/pytorch/audio-classification/run_audio_classification.py
Expected behavior
When padding in batch, attention_mask will always [1,1,1,...,1]
but, I expect [0,0,0,...,1,1]
The text was updated successfully, but these errors were encountered: