transformers
[Whisper] 🚨 Fix whisper decoding 🚨
#34135
Merged

[Whisper] 🚨 Fix whisper decoding 🚨 #34135

eustlb
eustlb do not remove decoder_input_ids for the first segment
4c7be8c1
eustlb do not remove eos token in generate_with_fallback
805c6887
eustlb when removing padding tokens, do not remove eos token
271014fd
eustlb remove eos token in generate (and not in generate_with_fallback!)
d9a91b3e
eustlb reconciliate short-from/ long-form behavior
b9d0ec14
eustlb correct avg_logprobs calculation
f9d5fdd8
eustlb handle eos token in segments
f111aa34
eustlb handle decoder_input_ids and eos token in _prepare_decoder_input_ids
34d690aa
eustlb fix incorrect time precision
16f768b3
eustlb
eustlb
eustlb always remove eos token
cf18e0a3
eustlb always remove decoder_input_ids
ec7cd58b
eustlb no need to handle decoder_inputs_ids and eos token
15309306
eustlb no need to remove decoder_input_ids
67865dd1
eustlb no need to handle eos token
eb107d9c
ArthurZucker
eustlb fix num_beams in _retrieve_logit_processors
78819284
HuggingFaceDocBuilderDev
eustlb remove todo unconsistency
031ace6f
eustlb no need to add eos token
eaaeec60
eustlb last_timestamp_pos should indeed be timestamp token pos
cdd51447
eustlb patch generate to enable compatibility with GenerationTesterMixin tests
544f21b6
eustlb adapt test_generate_continue_from_past_key_values
70ffdb30
eustlb adapt test_prompt_lookup_decoding_matches_greedy_search
79347e9f
eustlb eustlb changed the title [WIP] [Whisper] Fix whisper decoding [Whisper] Fix whisper decoding 1 year ago
eustlb Merge branch 'main' into fix-whisper-decoding
c01ef124
eustlb Merge branch 'main' into fix-whisper-decoding
d03f87cf
ylacombe
ylacombe approved these changes on 2024-11-25
ylacombe
ylacombe ylacombe added run-slow
eustlb adapt generic GenerationMixin tests to whisper's generate
1387919f
eustlb fix speculative decoding
ad262c66
eustlb fix
a4c2b448
eustlb eustlb force pushed to a4c2b448 1 year ago
eustlb Merge branch 'main' into fix-whisper-decoding
17877f3f
eustlb Merge branch 'main' into fix-whisper-decoding
7b2046a8
ArthurZucker
ArthurZucker approved these changes on 2024-12-04
eustlb Merge branch 'main' into fix-whisper-decoding
c9a209fd
[run-slow] whisper
34d5257e
eustlb change HF_HUB_TOKEN for require_read_token
c760d095
eustlb [run-slow] whisper
e7c4b85a
eustlb Merge branch 'main' into fix-whisper-decoding
40bcdccf
eustlb prioritize kwargs over generation_config
783c2f1b
eustlb remove unnecessary args
88d2d38b
eustlb [run-slow] whisper
3a8f7390
eustlb update tests
93cf1b73
eustlb Merge branch 'main' into fix-whisper-decoding
2afb05cf
eustlb [run-slow] whisper
ecbe56b3
eustlb add comment
c9b36c3a
eustlb update test
14c280a1
eustlb Merge branch 'main' into fix-whisper-decoding
78ed67eb
eustlb [run-slow] whisper
34adc990
eustlb update test + revert require_read_token
58f0526e
eustlb docstring updates
367006d7
eustlb revert tokenizer decode args change
2f19263b
eustlb Merge branch 'main' into fix-whisper-decoding
9c6fe558
ArthurZucker
ArthurZucker approved these changes on 2024-12-10
eustlb do not use a patch + docstring updates
3ebd12f5
eustlb Merge branch 'main' into fix-whisper-decoding
b9ba08a2
eustlb [run-slow] whisper
24d93990
eustlb make
9fe30114
eustlb [run-slow] whisper
3aae6b80
ylacombe
ylacombe commented on 2024-12-10
ylacombe
ylacombe commented on 2024-12-10
eustlb eustlb changed the title [Whisper] Fix whisper decoding [Whisper] 🚨 Fix whisper decoding 🚨 1 year ago
eustlb add a flag to force unique call to generate
0ea240fa
eustlb test update
0960a525
eustlb
eustlb [run-slow] whisper
0870ac7a
ylacombe
ylacombe approved these changes on 2024-12-11
eustlb add force_unique_generate_call arg
00d37e82
eustlb do not use a patch
cf75ea37
eustlb correct the timestamps for the pad tokens
2cb638d3
eustlb docstring update
66290cb2
eustlb docstring update
b41e2c13
eustlb docstring update
221bae15
eustlb Merge branch 'main' into fix-whisper-decoding
98dc7f1f
eustlb upodate TF tests
0b6687cf
eustlb add require_read_token
ab910f74
eustlb [run-slow] whisper
692bf147
eustlb test reset dynamo
a15aa4a4
eustlb Merge branch 'main' into fix-whisper-decoding
0011cec5
ydshieh [run-slow] whisper
41df6ca0
ydshieh fix
aaecea40
ydshieh [run-slow] whisper
58d0b90c
ArthurZucker
ArthurZucker approved these changes on 2024-12-17
eustlb avoid iterating twice on current_segments
a1f4e431
eustlb [run-slow] whisper
671b0795
eustlb Merge branch 'main' into fix-whisper-decoding
3d21ed8e
eustlb [run-slow] whisper
dc6fbd1e
eustlb Merge branch 'main' into fix-whisper-decoding
8b7a2e83
eustlb
eustlb eustlb merged da334bcf into main 1 year ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone